Re: Scaling an entire CGPath?
Re: Scaling an entire CGPath?
- Subject: Re: Scaling an entire CGPath?
- From: Tobias Zimmerman <email@hidden>
- Date: Wed, 22 Apr 2009 15:55:12 -0400
- Thread-topic: Scaling an entire CGPath?
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 <email@hidden>
> Subject: Scaling an entire CGPath?
> To: Cocoa Dev Dev <email@hidden>
> Message-ID:
> <email@hidden>
> 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 (email@hidden)
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:
This email sent to email@hidden