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