Lines Matching defs:pt
50 // The units passed to NanoSVG should be one of: 'px', 'pt', 'pc' 'mm', 'cm', or 'in'.
556 static int nsvg__ptInBounds(float* pt, float* bounds)
558 return pt[0] >= bounds[0] && pt[0] <= bounds[2] && pt[1] >= bounds[1] && pt[1] <= bounds[3];
2791 float* pt;
2852 pt = &path->pts[i*2];
2853 pt[0] = (pt[0] + tx) * sx;
2854 pt[1] = (pt[1] + ty) * sy;