Lines Matching defs:height

191 void UICanvas::AddRect(const Point& point, int16_t height, int16_t width)
199 int16_t bottom = point.y + height;
202 float fBottom = static_cast<float>(height) + static_cast<float>(point.y);
222 LineTo({static_cast<int16_t>(point.x + width), static_cast<int16_t>(point.y + height)});
223 LineTo({point.x, 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);
393 rectParam->height = height;
411 rectParam->height = height;
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);
440 LineTo({static_cast<int16_t>(startPoint.x + width), static_cast<int16_t>(startPoint.y + height)});
441 LineTo({startPoint.x, static_cast<int16_t>(startPoint.y + height)});
449 void UICanvas::DrawRectSetCmd(const Point& startPoint, int16_t height, int16_t width, const Paint& paint,
458 rectParam->height = height;
474 void UICanvas::StrokeRect(const Point& startPoint, int16_t height, int16_t width, const Paint& paint)
483 rectParam->height = height;
496 LineTo({static_cast<int16_t>(startPoint.x + width), static_cast<int16_t>(startPoint.y + height)});
497 LineTo({startPoint.x, static_cast<int16_t>(startPoint.y + height)});
504 void UICanvas::ClearRect(const Point& startPoint, int16_t height, int16_t width)
512 LineTo({static_cast<int16_t>(startPoint.x + width), static_cast<int16_t>(startPoint.y + height)});
513 LineTo({startPoint.x, static_cast<int16_t>(startPoint.y + height)});
711 const Paint& paint, int16_t width, int16_t height)
730 if (height > 0 && imageView->GetHeight() > 0) {
731 scaleY = (float)height / (float)imageView->GetHeight();
758 imageParam->height = header.height;
1014 rasterizer.ClipBox(0, 0, gfxDstBuffer.width, gfxDstBuffer.height);
1115 if ((rectParam->height <= lineWidth) || (rectParam->width <= lineWidth)) {
1117 coords.SetHeight(rectParam->height + lineWidth);
1129 coords.SetHeight(rectParam->height);
1134 coords.SetHeight(rectParam->height);
1138 coords.SetPosition(x + lineWidth, y + rectParam->height);
1157 if ((rectParam->height <= lineWidth) || (rectParam->width <= lineWidth)) {
1165 coords.SetHeight(rectParam->height - lineWidth);
1468 imageInfo.dataSize = gfxMapBuffer.width * gfxMapBuffer.height *
1471 imageInfo.header.height = gfxMapBuffer.height;
1546 gfxMapBuffer_->height = static_cast<uint16_t>(rect.GetHeight());
1549 uint32_t buffSize = gfxMapBuffer_->height * gfxMapBuffer_->stride;
1570 rect.GetHeight() != gfxMapBuffer_->height ||
1575 uint32_t buffSize = gfxMapBuffer_->height * gfxMapBuffer_->stride;