Print Page | Close Window

Drawing boxes with fill patterns with QuickPDF

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3021
Printed Date: 04 Apr 26 at 7:27PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Drawing boxes with fill patterns with QuickPDF
Posted By: beau
Subject: Drawing boxes with fill patterns with QuickPDF
Date Posted: 02 Dec 14 at 8:09AM
Hi all,

I'm new to this and would appreciate some advice and code samples if available.

Anyway, I have a C++ program that generates a pdf with the QuickPDF library. Along with textual descriptions, I wish to show a graphical representation of the different strata enountered when drilling into the earth. The representation I'd like is a column with different shading patterns to represent the different rock types.

In other words, I'd like to draw a series of stacked boxes one below the next, each filled with an appropriate pattern.

I've found references to the SetFillTilingPattern function and the NewTilingPatternFromCapturedPage function, but I'm struggling to make sense of it all and use it.

I've also seen a post suggesting that I could use Optional Content Groups to show the fill and again I'm struggling.

If anyone has any sample code that illustrates how to load and render fill patterns into boxes using either of those methods or any other, I'd be very grateful.

Thanks!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk