Hi guys, this is my first email to the list. Currently I'm working on an app that has to do with printing and I haven't really had any experience with this. I get the basic concept that print and drawing to screen are the same thing and all was working fine until I wanted to have a striped background - I used the [NSColor colorWithPatternImage:] method and everything works fine but I can't understand one thing. How am I supposed to generate the pattern image to print with the proper size on the printer having it set to 300 dpi for example. While the view is being printed on the screen (for preview or saved to PDF) it's size is calculated with 72 dpi. How can I create a pattern that would either be vector graphics (so it scales fine) or how do I know how to prepare the image given that users can print on different printers with different settings.
-- Regards, Janusz Bossy _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com