Lines Matching defs:ty
469 static void nsvg__xformSetTranslation(float* t, float tx, float ty)
473 t[4] = tx; t[5] = ty;
2775 static void nsvg__scaleGradient(NSVGgradient* grad, float tx, float ty, float sx, float sy)
2778 nsvg__xformSetTranslation(t, tx, ty);
2789 float tx, ty, sx, sy, us, bounds[4], t[6], avgs;
2818 ty = -p->viewMiny;
2829 ty += nsvg__viewAlign(p->viewHeight*sy, p->image->height, p->alignY) / sy;
2834 ty += nsvg__viewAlign(p->viewHeight*sy, p->image->height, p->alignY) / sy;
2843 shape->bounds[1] = (shape->bounds[1] + ty) * sy;
2845 shape->bounds[3] = (shape->bounds[3] + ty) * sy;
2848 path->bounds[1] = (path->bounds[1] + ty) * sy;
2850 path->bounds[3] = (path->bounds[3] + ty) * sy;
2854 pt[1] = (pt[1] + ty) * sy;
2859 nsvg__scaleGradient(shape->fill.gradient, tx,ty, sx,sy);
2864 nsvg__scaleGradient(shape->stroke.gradient, tx,ty, sx,sy);