Lines Matching refs:viewWidth
455 float viewMinx, viewMiny, viewWidth, viewHeight;
775 return p->viewWidth;
2517 p->viewWidth = nsvg__atof(buf);
2796 if (p->viewWidth == 0) {
2798 p->viewWidth = p->image->width;
2801 p->viewWidth = bounds[2] - bounds[0];
2813 p->image->width = p->viewWidth;
2819 sx = p->viewWidth > 0 ? p->image->width / p->viewWidth : 0;
2828 tx += nsvg__viewAlign(p->viewWidth*sx, p->image->width, p->alignX) / sx;
2833 tx += nsvg__viewAlign(p->viewWidth*sx, p->image->width, p->alignX) / sx;