Re: tiffrepresentation of multiple subviews
Re: tiffrepresentation of multiple subviews
- Subject: Re: tiffrepresentation of multiple subviews
- From: Michael Clark <email@hidden>
- Date: Sun, 7 Aug 2005 18:07:22 -0400
What about using this method:
initWithFocusedViewRect: (NSRect)rect
on NSBitmapImageRep.
Would that work in your situation?
Michael.
On 7-Aug-05, at 12:49 AM, Ian was here wrote:
After you get the TIFF snapshot of your super view,
you could get each subview's image and position it on
the superview's TIFF image. So you end up with an
image that is visually identical to your super view
with all of it's siubviews.
--- Chase <email@hidden> wrote:
I have several imageviews housed inside a single
superview, which is
also an imageview.
The following code snippet does output a tiff file,
but it's only a
snapshot of the main super view:
[[[motherview image] TIFFRepresentation]
writeToFile:@"/
test.tif" atomically:YES];
I need a picture that looks like the whole mess of
nested imageviews,
just as they look on the screen.
How is this done?
- Chase
_______________________________________________
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