scaling down without NSImage while printing
scaling down without NSImage while printing
- Subject: scaling down without NSImage while printing
- From: Hidetomo Katsura <email@hidden>
- Date: Thu, 23 Dec 2004 09:20:40 -0800
the following code works fine on 10.3.7 but fails on 10.2.8 while
printing. i need to scale srcRect down to dstRect to make it fit in the
page size.
image = [[NSImage alloc] initWithSize:srcRect];
[image lockFocus];
[view drawRect:srcRect];
[image unlockFocus];
[image drawInRect:dstRect fromRect:srcRect operation:NSCompositeCopy
fraction:1.0];
[image release];
how can i scale it down without using NSImage on 10.2.8 while printing?
any suggestions?
thanks in advance,
katsura
_______________________________________________
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