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 - Rounded Corners for Line Joins
  FAQ FAQ  Forum Search   Register Register  Login Login

Rounded Corners for Line Joins

 Post Reply Post Reply
Author
Message
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post Topic: Rounded Corners for Line Joins
    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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 18 Jun 16 at 9:02AM
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

Back to Top
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jun 16 at 9:43AM
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.
Back to Top
rweetch View Drop Down
Senior Member
Senior Member


Joined: 22 Feb 11
Status: Offline
Points: 173
Post Options Post Options   Thanks (0) Thanks(0)   Quote rweetch Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jun 16 at 9:48AM
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.
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