agens-no / AGGeometryKit

Quadrilaterals on CALayer, CGGeometry-functions, UIView/CALayer properties and other invaluable tools.
Other
1.27k stars 130 forks source link

Incorrect definition for AGKQuadInsetBottom #14

Closed BasitAli closed 10 years ago

BasitAli commented 10 years ago

AGKQuad AGKQuadInsetBottom(AGKQuad q, CGFloat inset) { q.tl.y -= inset; q.tr.y -= inset; return q; }

Shouldn't this say q.bl.y and q.br.y ? Can you please push a new fix on CocoaPods or should I create a pull request with the fix?

hfossli commented 10 years ago

Thank you for reporting this! I may not be able to fix this today. A PR would be great!

BasitAli commented 10 years ago

Request sent. Thanks for the great library.