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!
Rounded Corners for Line Joins |
Post Reply |
Author | |
rweetch
Senior Member Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
Posted: 17 Jun 16 at 3:18PM |
I have set the following
FPDF.SetLineWidth(0.5); FPDF.SetLineColorCMYK(0,0,0,0.5); FPDF.SetLineDash(0.5,0.5); FPDF.SetLineJoin(1); But when I use the Path methods to draw a box it doesn't use rounded corners. Any ideas? Thanks Russell
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Russel,
i'm not familiar with this functionality but what about SetClippingPath? In the documentation about SetLineJoin i've read about "subsequently drawn graphics"... |
|
Cheers,
Ingo |
|
rweetch
Senior Member Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
|
Hi Ingo
I don't think that is the answer. I think SetLineJoin must be designed to work with the Path methods as that is the only place I can see a line join being down within the system. DrawBox maybe, but then why have DrawRoundedBox? I'll take this up with support.
|
|
rweetch
Senior Member Joined: 22 Feb 11 Status: Offline Points: 173 |
Post Options
Thanks(0)
|
An update.
It does work but not how I was expecting. The line width I was using was too small to show the curve. I guess I'll have to try DrawRoundedBox now, but that seems to need a lot of calculation to give the right size compared with the path methods. But I'll see where I get and post back.
|
|
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