Print Page | Close Window

DrawBox drawing white boxes

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=1319
Printed Date: 06 May 25 at 7:23AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: DrawBox drawing white boxes
Posted By: Ryland
Subject: DrawBox drawing white boxes
Date Posted: 20 Jan 10 at 4:19PM
My code is calling SetFillColor(0, 0, 0) but yet when I call DrawBox() it draws white boxes.  I have tried different values for SetFillColor but the boxes always stay white.  This was working yesterday but I don't see any changes that I have made to break filling in simple boxes.

The calls to DrawBox() are returning "1" which I assume means it worked fine and the X/Y coordinates are fine because I can see the white boxes if I goto a dark colored page in my pdf.

Is there something in general that would cause this?



Replies:
Posted By: Ryland
Date Posted: 20 Jan 10 at 4:26PM
I just tried calling DrawBox() with outline instead of fill and it outlines the white box in black.


Posted By: Ingo
Date Posted: 20 Jan 10 at 6:25PM
Hi!

"Fill" works, too.
I'll send you a working sample tomorrow.

Cheers and welcome here,
Ingo


Posted By: Ryland
Date Posted: 20 Jan 10 at 6:40PM
For some reason removing a CombineLayers() call fixed the problem so now it fills properly instead of showing white when I call DrawBox() with a fill request..



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