CGPathAdditions.h 490 B

1234567891011121314
  1. //
  2. // CGPathAdditions.h
  3. // SVGPad
  4. //
  5. // Copyright Matt Rajca 2011. All rights reserved.
  6. //
  7. #import <CoreGraphics/CoreGraphics.h>
  8. /*! From original SVGKit, but it seems to be "the opposite of translation" */
  9. CGPathRef CGPathCreateByOffsettingPath (CGPathRef aPath, CGFloat x, CGFloat y);
  10. /*! New SVGKit: carefully named method that does what it claims to: it translates a path by the specified amount */
  11. CGPathRef CGPathCreateByTranslatingPath (CGPathRef aPath, CGFloat x, CGFloat y);