Lines Matching defs:width
1145 fSlides[slide]->load(SkIntToScalar(fWindow->width()) / scaleFactor,
1158 const SkRect slideBounds = SkRect::MakeIWH(slideSize.width(), slideSize.height());
1159 const SkRect windowRect = SkRect::MakeIWH(fWindow->width(), fWindow->height());
1163 if (windowRect.width() > 0 && windowRect.height() > 0) {
1193 const SkRect slideBounds = SkRect::MakeIWH(slideSize.width(), slideSize.height());
1194 const SkRect windowRect = SkRect::MakeIWH(fWindow->width(), fWindow->height());
1199 SkScalar w = fWindow->width(), h = fWindow->height();
1223 m.preRotate(fRotation, slideSize.width() * 0.5f, slideSize.height() * 0.5f);
1527 offscreenSurface = make_surface(fWindow->width(), fWindow->height());
1545 int tileW = SkScalarCeilToInt(fWindow->width() * fTileScale.width());
1548 for (int x = 0; x < fWindow->width(); x += tileW) {
1561 for (int x = 0; x < fWindow->width(); x += tileW) {
1569 slideCanvas->clipRect(SkRect::MakeWH(fWindow->width(), fWindow->height()));
1644 void Viewer::onResize(int width, int height) {
1650 fSlides[fCurrentSlide]->resize(width / scaleFactor, height / scaleFactor);
2050 this->onResize(fWindow->width(), fWindow->height());
2170 float width = fPaint.getStrokeWidth();
2171 if (ImGui::SliderFloat("Stroke Width", &width, 0, 20)) {
2172 fPaint.setStrokeWidth(width);
2587 // Full width, and not too much space for each shader