Sorry if I am missing the point, but is [CG|NS]AffineTransform what you are
looking for?  I have only used them in at the Cocoa view level
(NSBezierPath, NSAffineTransform), so my information may not be correct for
CGPath.

The "Transforms" section of the Quartz 2D guide may be helpful:
<file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.Cor
eReference.docset/Contents/Resources/Documents/documentation/GraphicsImaging
/Conceptual/drawingwithquartz2d/dq_affine/dq_affine.html>
> ------------------------------
> 
> Message: 3
> Date: Wed, 22 Apr 2009 19:54:55 +0200
> From: Maryanna Rogers <maryanna.rog...@gmail.com>
> Subject: Scaling an entire CGPath?
> To: Cocoa Dev Dev <cocoa-dev@lists.apple.com>
> Message-ID:
> <770943e00904221054h56c04c3fj4029c2aba47b1...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi,
> 
> I need to take a CGPath (a set of lines, curves, etc.) and scale the
> entire thing as a whole. Is there a simple way to do this?
> 
> Do I need to use CGPathApply somehow?
> 
> ~m
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to