Annotating on a NSImageView
Annotating on a NSImageView
- Subject: Annotating on a NSImageView
- From: Paul Sargent <email@hidden>
- Date: Sat, 30 Oct 2004 18:06:21 +0100
Hi,
I'm wanting to display an image and then add annotations on top of the
image. An example might be a selection marquee in a photo editing
program (not exactly what I'm doing but it gives an idea). My idea was
to subclass an NSImageView, and then in drawRect call [super drawRect]
first and then do some CG* calls to add my annotations.
My problem is that NSImageView will scale the image depending on how
big the view is. How do I know what scaling NSImageView has decided
upon so that I can draw my annotations at the same scale?
Thanks
Paul
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
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