Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6947415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:41:24+00:00 2026-05-27T13:41:24+00:00

What I am trying to do is to apply a CGAffineTransform to a CGPath.

  • 0

What I am trying to do is to apply a CGAffineTransform to a CGPath.

I know, if I were drawing onto a CGContext, I would just transform the context itself.

But what I want to do is to apply a transform to the actual path itself. UIBezierPath allows me do to this with the applyTransform: method, it doesn’t transform it’s CGPath.

Is there any way to apply a CGAffineTransform to a CGPath itself??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:41:25+00:00Added an answer on May 27, 2026 at 1:41 pm

    You can use CGPathCreateCopyByTransformingPath which creates a copy of your path, transformed by a given CGAffineTransform. There’s also CGPathCreateMutableCopyByTransformingPath for creating a mutable copy.

    Note that both of these functions have been introduced in iOS 5.

    If you need something that works on earlier versions of iOS, you could create an empty path (CGPathCreateMutable) and add your other path with CGPathAddPath which optionally takes a transformation as its second parameter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to apply a style to an adorned element, but I don't know
I'm trying to apply a tooltip to a foreach loop, but I need the
I'm trying to apply a custom RGB color to background, but it is not
I am trying to apply this sticky footer pattern to my template: http://ryanfait.com/sticky-footer/ But
I am trying apply blue theme on my spree website but I am unable
When trying to apply a CSS transform with perspective I encounter a weird glitch
I'm trying to apply nth-of-child style to table cells, but that don't work. According
i have been trying to apply the Gridview Tutorial but i'm stuck in an
I am trying to apply Copy to clipboard to my website, but there seems
so im trying to apply a basic on click show hide element but for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.