Print Page | Close Window

How to clear clipping path

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=1797
Printed Date: 19 May 26 at 10:04AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How to clear clipping path
Posted By: AlexMilner
Subject: How to clear clipping path
Date Posted: 08 Apr 11 at 8:53AM
 How to clear previously set clipping region by SetClippingPath()? This is seems works for all subsequent drawing calls... Thanks!



Replies:
Posted By: AndrewC
Date Posted: 11 Apr 11 at 1:30PM


Posted By: AndrewC
Date Posted: 11 Apr 11 at 1:31PM
Have you tried doing a SaveState() before doing all your drawing including setting the clipping path and then calling LoadState() to restore the graphics state back to the saved state.



Posted By: AlexMilner
Date Posted: 12 Apr 11 at 7:43AM
Originally posted by AndrewC AndrewC wrote:

Have you tried doing a SaveState() before doing all your drawing including setting the clipping path and then calling LoadState() to restore the graphics state back to the saved state.

 
  It works :) Many thanks Andrew!



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