Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - background of bezier curve
  FAQ FAQ  Forum Search   Register Register  Login Login

background of bezier curve

 Post Reply Post Reply
Author
Message
vjedlicka View Drop Down
Beginner
Beginner


Joined: 07 Sep 17
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote vjedlicka Quote  Post ReplyReply Direct Link To This Post Topic: background of bezier curve
    Posted: 09 Sep 17 at 3:24PM
Bezier curve incorrectly covers its background.

the code:

int li_width = 100 * 30;
int li_height = 100 * 20;
HDC hDC = DPL.GetCanvasDC(li_width, li_height);

CDC dc;
CDC* pDC = CDC::FromHandle(hDC);

CRect l_rect(100, 100, 1000, 1000);
pDC->FillSolidRect(l_rect, RGB(255, 255, 0));

CPoint l_points[4] = {
CPoint(760, 460),
CPoint(800, 380),
CPoint(920, 380),
CPoint(960, 460)
};

pDC->PolyBezier(l_points, 4);
int li_result = DPL.LoadFromCanvasDC(254, 3);

expected reult: yellow rectangle with a bezier curve, without any white space

result: please see this screenshot:
https://www.screencast.com/t/4zih8lqpGo



Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store