Lines Matching defs:width
191 void UICanvas::AddRect(const Point& point, int16_t height, int16_t width)
198 int16_t right = static_cast<int16_t>(point.x + width);
201 float fRight = static_cast<float>(width) + static_cast<float>(point.x);
221 LineTo({static_cast<int16_t>(point.x + width), point.y});
222 LineTo({static_cast<int16_t>(point.x + width), static_cast<int16_t>(point.y + height)});
381 void UICanvas::DrawRect(const Point& startPoint, int16_t height, int16_t width, const Paint& paint)
384 SetDrawLinePath(startPoint, height, width, paint);
394 rectParam->width = width;
412 rectParam->width = width;
426 void UICanvas::SetDrawLinePath(const Point& startPoint, int16_t height, int16_t width, const Paint& paint)
430 DrawRectSetCmd(startPoint, height, width, paint, Paint::PaintStyle::STROKE_STYLE);
434 DrawRectSetCmd(startPoint, height, width, paint, Paint::PaintStyle::FILL_STYLE);
439 LineTo({static_cast<int16_t>(startPoint.x + width), startPoint.y});
440 LineTo({static_cast<int16_t>(startPoint.x + width), static_cast<int16_t>(startPoint.y + height)});
449 void UICanvas::DrawRectSetCmd(const Point& startPoint, int16_t height, int16_t width, const Paint& paint,
459 rectParam->width = width;
474 void UICanvas::StrokeRect(const Point& startPoint, int16_t height, int16_t width, const Paint& paint)
484 rectParam->width = width;
495 LineTo({static_cast<int16_t>(startPoint.x + width), startPoint.y});
496 LineTo({static_cast<int16_t>(startPoint.x + width), static_cast<int16_t>(startPoint.y + height)});
504 void UICanvas::ClearRect(const Point& startPoint, int16_t height, int16_t width)
511 LineTo({static_cast<int16_t>(startPoint.x + width), startPoint.y});
512 LineTo({static_cast<int16_t>(startPoint.x + width), static_cast<int16_t>(startPoint.y + height)});
711 const Paint& paint, int16_t width, int16_t height)
727 if (width > 0 && imageView->GetWidth() > 0) {
728 scaleX = (float)width / (float)imageView->GetWidth();
759 imageParam->width = header.width;
1014 rasterizer.ClipBox(0, 0, gfxDstBuffer.width, gfxDstBuffer.height);
1115 if ((rectParam->height <= lineWidth) || (rectParam->width <= lineWidth)) {
1118 coords.SetWidth(rectParam->width + lineWidth);
1125 coords.SetWidth(rectParam->width);
1128 coords.SetPosition(x + rectParam->width, y);
1140 coords.SetWidth(rectParam->width);
1157 if ((rectParam->height <= lineWidth) || (rectParam->width <= lineWidth)) {
1166 coords.SetWidth(rectParam->width - lineWidth);
1468 imageInfo.dataSize = gfxMapBuffer.width * gfxMapBuffer.height *
1470 imageInfo.header.width = gfxMapBuffer.width;
1545 gfxMapBuffer_->width = static_cast<uint16_t>(rect.GetWidth());
1548 gfxMapBuffer_->stride = static_cast<int32_t>(gfxMapBuffer_->width) * static_cast<int32_t>(destByteSize);
1569 if (rect.GetWidth() != gfxMapBuffer_->width ||