Re: Display NSImage in NSImageView, which is inside NSScrollView
Re: Display NSImage in NSImageView, which is inside NSScrollView
- Subject: Re: Display NSImage in NSImageView, which is inside NSScrollView
- From: Jens Bauer <email@hidden>
- Date: Sat, 18 Jan 2003 02:36:37 +0100
To anyone interested in this, I've made a sample-project and a
step-by-step on how I do this:
http://objc-source.org/SimpleImageViewer-tutorial.tgz
http://objc-source.org/SimpleImageViewer.tgz
(No, the Web-site isn't up yet)
On Saturday, Jan 18, 2003, at 00:16 Europe/Copenhagen, Jens Bauer wrote:
Just like many other people, I've reached the point, where I want to
draw an image in a scrollable area.
If the window is sized so the entire image is visible, the image
should either stay in the topLeft corner, or be centered.
Now, the funny thing is that I've searched the archive, found a bunch
of good hints.
Unfortunately, they confused me, instead of helping me. :/
{..snip-snip..}
- (BOOL)isFlipped
{
return(NO);
}
{snip}
Love,
Jens
_______________________________________________
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.