Home
last modified time | relevance | path

Searched refs:shapeWidth (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_content_modifier.cpp604 auto shapeWidth = shapeWidth_->Get(); in DrawBlockShapeCircle() local
607 if (NearZero(shapeWidth) || NearZero(shapeHeight)) { in DrawBlockShapeCircle()
612 float scale = std::max(blockSize.Width() / shapeWidth, blockSize.Height() / shapeHeight); in DrawBlockShapeCircle()
635 float radius = std::min(shapeWidth, shapeHeight) * HALF; in DrawBlockShapeCircle()
649 auto shapeWidth = shapeWidth_->Get(); in DrawBlockShapeEllipse() local
652 if (NearZero(shapeWidth) || NearZero(shapeHeight)) { in DrawBlockShapeEllipse()
680 RectF drawRect(blockCenter.GetX() - shapeWidth * HALF + blockBorderWidthUnscale * HALF, in DrawBlockShapeEllipse()
751 auto shapeWidth = shapeWidth_->Get(); in DrawBlockShapeRect() local
753 if (NearZero(shapeWidth) || NearZero(shapeHeight)) { in DrawBlockShapeRect()
784 rsRect.SetLeft(blockCenter.GetX() - shapeWidth * HALF + blockBorderWidthUnscale * HALF); in DrawBlockShapeRect()
[all …]