C and Objective C math and geometry helpers http://purl.mro.name/ios/MROGeometry
Marcus Rohrmoser 04aabb9f9e code domain | пре 5 година | |
---|---|---|
MROGeometry | пре 9 година | |
MROGeometry.xcodeproj | пре 10 година | |
MROGeometryTests | пре 9 година | |
tools | пре 9 година | |
.gitignore | пре 10 година | |
.travis.yml | пре 6 година | |
CHANGELOG.md | пре 10 година | |
Common.xcconfig | пре 9 година | |
Debug.xcconfig | пре 9 година | |
LICENSE | пре 9 година | |
MROGeometry.podspec | пре 10 година | |
Makefile | пре 9 година | |
README.md | пре 7 година | |
Rakefile | пре 10 година | |
Release.xcconfig | пре 9 година | |
VERSION | пре 10 година | |
doap.rdf | пре 5 година |
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 | × |