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 | × |