C and Objective C math and geometry helpers http://purl.mro.name/ios/MROGeometry
Marcus Rohrmoser 04aabb9f9e code domain | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
MROGeometry | %!s(int64=9) %!d(string=hai) anos | |
MROGeometry.xcodeproj | %!s(int64=10) %!d(string=hai) anos | |
MROGeometryTests | %!s(int64=9) %!d(string=hai) anos | |
tools | %!s(int64=9) %!d(string=hai) anos | |
.gitignore | %!s(int64=10) %!d(string=hai) anos | |
.travis.yml | %!s(int64=6) %!d(string=hai) anos | |
CHANGELOG.md | %!s(int64=10) %!d(string=hai) anos | |
Common.xcconfig | %!s(int64=9) %!d(string=hai) anos | |
Debug.xcconfig | %!s(int64=9) %!d(string=hai) anos | |
LICENSE | %!s(int64=9) %!d(string=hai) anos | |
MROGeometry.podspec | %!s(int64=10) %!d(string=hai) anos | |
Makefile | %!s(int64=9) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
Rakefile | %!s(int64=10) %!d(string=hai) anos | |
Release.xcconfig | %!s(int64=9) %!d(string=hai) anos | |
VERSION | %!s(int64=10) %!d(string=hai) anos | |
doap.rdf | %!s(int64=5) %!d(string=hai) anos |
Some C / Objective-C helpers related to
Parse a SVG path and return a retained CGPathRef.
See PathParser.h
Write a very simple, non-optimized form of SVG path.
Simple CGPoint math:
Persist a CGPathRef using the SVG path format as ASCII/C String.
Parse a SVG path and return a retained CGPathRef.
Uses the Ragel-generate state machine PathParser.rl directly based on the W3C BNF path grammar for parsing.
Parse a SVG transform attribute and return a CGAffineTransform.
Uses the Ragel-generate state machine TrafoParser.rl directly based on the W3C grammar for parsing.
There are some macros I use all over the place. Instead including the same header in every source file I put them into MROGeometry-Prefix.pch as usual.
Generate C state machines and pdf docs from Ragel sources.
Quality | very good | good | normal | irrelevant |
---|---|---|---|---|
Functionality | × | |||
Reliability | × | |||
Usability | × | |||
Efficiency | × | |||
Changeability | × | |||
Portability | × |