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 - Path definition and drawing
  FAQ FAQ  Forum Search   Register Register  Login Login

Path definition and drawing

 Post Reply Post Reply
Author
Message
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Topic: Path definition and drawing
    Posted: 14 Nov 14 at 8:11AM
What does it do ? How to use it ?
Please show me a simple example.

Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 19 Nov 14 at 10:36AM
Michal,

Here is some simple code showing how to draw a complex path and fill it

            QP.SetOrigin(1);
            QP.SetPageDimensions(1400, 800);

            QP.SetLineColor(0, 1, 0);
            QP.SetFillColor(1, 1, 0);

            QP.StartPath(100.0, 100.0);
            QP.AddLineToPath(400.0, 800.0);
            QP.AddLineToPath(700.0, 100.0);

            QP.MovePath(200.0, 200.0);
            QP.AddLineToPath(400.0, 700.0);
            QP.AddLineToPath(600.0, 200.0);

            QP.DrawPathEvenOdd(2);

            QP.SaveToFile("out.pdf");

Andrew.
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 19 Nov 14 at 10:54AM
Thanks.

Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 19 Nov 14 at 11:24AM
Wow
I just check it
This is cool feature.
Very useful and nice.
Thanks again.

btw.
I think it is worth to add this example to "Debenu Quick PDF Library 11 Developer Guide.pdf"

Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
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