Re: [still having probs] Re: Printing my document
Re: [still having probs] Re: Printing my document
- Subject: Re: [still having probs] Re: Printing my document
- From: Graham J Lee <email@hidden>
- Date: Thu, 23 Jun 2005 10:56:58 +0100
On 22 Jun 2005, at 15:13, Graham J Lee wrote:
OK, so this has been on the back burner for a while, but I still don't
see how to draw a subview "somewhere else" in a view, rather than
clobbering the previosuly-added subview. I've tried using
-translateOriginToPoint: but that doesn't do it. What I want is for
the tableView and the graphView to be printed as part of the same
print job. Should I use beginPage, add one view, endPage, beginPage,
add other view, endPage, then print? How could I lay the two subviews
out on the same page?
Just to tie up the thread...
My attempt at multiple pages caused the prog to SIGBUS, but I found
that I needed to call -setFrame: on one of the views and move it up a
bit :-). So now I can print both of my views on one page....one of the
views hasn't come out properly which I guess is due to the origin of an
affine transform not being in the right place. I'll just have to do
some context-sensitive modification on that.
Cheers,
Graham.
--
Graham Lee GPG Key ID: 01D5B9D8
UNIX Systems Manager, Oxford Physics Practical Course
Coordinator, UKUUG Apple SIG
(http://lists.ukuug.org/mailman/listinfo/apple-sig)
Technical bod, Oxford Mac Users' Group (http://www.oxmug.org)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden