| 7 | namespace msdfgen { |
| 8 | |
| 9 | EdgeSegment *EdgeSegment::create(Point2 p0, Point2 p1, EdgeColor edgeColor) { |
| 10 | return new LinearSegment(p0, p1, edgeColor); |
| 11 | } |
| 12 | |
| 13 | EdgeSegment *EdgeSegment::create(Point2 p0, Point2 p1, Point2 p2, EdgeColor edgeColor) { |
| 14 | if (!crossProduct(p1-p0, p2-p1)) |
nothing calls this directly
no test coverage detected