search

Home  >  Q&A  >  body text

objective-c - What does the CGRectApplyAffineTransform function in CoreGraphics do?

1

2

3

4

5

<code class="objc">CGRect rect = CGRectMake(0, 0, 300, 200);

         

rect = CGRectApplyAffineTransform(rect,

                                          CGAffineTransformMakeScale(1, -1));

cgPath = CGPathCreateWithRect(rect, NULL);</code>

What does this code mean?

ringa_leeringa_lee2855 days ago944

reply all(0)I'll reply

No reply
  • Cancelreply