MCPcopy Create free account
hub / github.com/MyGUI/mygui / pointFromSkiaPoint

Function pointFromSkiaPoint

MyGUIEngine/src/msdfgen/ext/resolve-shape-geometry.cpp:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19Point2 pointFromSkiaPoint(const SkPoint p) {
20 return Point2((double) p.x(), (double) p.y());
21}
22
23void shapeToSkiaPath(SkPath &skPath, const Shape &shape) {
24 for (std::vector<Contour>::const_iterator contour = shape.contours.begin(); contour != shape.contours.end(); ++contour) {

Callers 1

shapeFromSkiaPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected