On Feb 3, 2010, at 16:30, Adam R. Maxwell wrote:

> 
> On Feb 3, 2010, at 6:29 AM, Duke Normandin wrote:
> 
>> I assume you are implying that Apple's pdfKit is open-source? Then would
>> not appKit be hackable then? Or is the API the only thing available to
>> the developer?
> 
> PDF Kit is not open source, and there is no API in PDF Kit for setting a 
> page's background color; you'd have to use a subclass of PDFPage and handle 
> all of the drawing.  For the page itself, this would be easy using 
> CoreGraphics to draw the -pageRef, but I'm not sure about the annotations.  
> Also, this would not work for all PDF files, since some already have a page 
> background.
> 

Another, probably bigger, problem is that the PDF content may assume the 
background is white, for instance it may contain graphics with a white 
background. That will be very ugly when you change the background color. 

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

Reply via email to