Re: Display to screen but will not print
Re: Display to screen but will not print
- Subject: Re: Display to screen but will not print
- From: "Louis C. Sacha" <email@hidden>
- Date: Thu, 15 Apr 2004 20:08:17 -0700
Hello...
You might want to take a look at a recent thread in the archives:
Outputing rotated text
http://lists.apple.com/mhonarc/cocoa-dev/msg21931.html
Depending on how you are doing the rotation for the objects that
aren't being drawn, it might help you solve the problem.
Louis
I am trying to print the content view of a document window. It has
mostly graphic type objects. I have the fairly standard print method in
my document class:
...
The content view has a couple of buttons and bezier curves (via nib).
These display and print fine. I also have some instances of an
NSTextField class that get added programatically (addSubView...). These
also display and print fine. Similarly I add subviews of an NSView
type class. These have a drawRect method that determines their position
and rotation and either that they are some sort of bezier curve or a
picture read in from a file. These display ok but none of them will
appear when printing. So I'm trying to find out why. I can single step
through the debugger after selecting the Print menu and see it go
through each of these objects' drawRect method but they don't appear in
the print preview or on paper. Any ideas?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.