On Feb 5, 2010, at 14:46, Duke Normandin wrote: > > > -- > > ---------- Forwarded message ---------- > Date: Fri, 5 Feb 2010 05:43:38 +0100 > From: Antonio Nunes <[email protected]> > To: Duke Normandin <[email protected]> > Subject: Re: pdfkit - changing background color > > On 4 Feb 2010, at 18:50, Duke Normandin wrote: > >> is there a way to allow for the customization of the background color >> while viewing a pdf document using pdfkit? > > Yes. Read the documentation on PDFView's "drawPage:" method. It makes it very > clear what to do: subclass PDFView and override the method. > > António
Actually, that documentation is partly wrong, the white background is NOT drawn in that method, as the documentation suggests. It draws only the content of the page. That can be easily checked by overriding that method in a subclass, e.g. doing nothing. Christiaan ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
