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!
![]() |
background of bezier curve |
Post Reply ![]() |
Author | |
vjedlicka ![]() Beginner ![]() Joined: 07 Sep 17 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store