Home
last modified time | relevance | path

Searched refs:coords (Results 1 - 22 of 22) sorted by relevance

/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_image.cpp23 void DrawImage::DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask, in DrawCommon() argument
31 DrawUtils::GetInstance()->DrawImage(gfxDstBuffer, coords, mask, img->data, opa, pxBitSize, in DrawCommon()
35 void DrawImage::DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask, in DrawCommon() argument
50 DrawUtils::GetInstance()->DrawImage(gfxDstBuffer, coords, mask, entry.GetImgData(), opa, pxBitSize, in DrawCommon()
53 Rect valid = coords; in DrawCommon()
70 start.x = valid.GetLeft() - coords.GetLeft(); in DrawCommon()
71 start.y = valid.GetTop() - coords.GetTop(); in DrawCommon()
H A Ddraw_image.h33 static void DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask,
36 static void DrawCommon(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask,
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_checkbox.cpp228 Rect coords = GetContentRect(); in OnDraw() local
229 coords.SetWidth(imgWidth); in OnDraw()
230 coords.SetHeight(imgHeight); in OnDraw()
234 coords.SetX(coords.GetX() + offsetLeft); in OnDraw()
235 coords.SetY(coords.GetY() + offsetTop); in OnDraw()
236 if (trunc.Intersect(trunc, coords)) { in OnDraw()
237 image_[state_].DrawImage(gfxDstBuffer, coords, trunc, *style_, opaScale_); in OnDraw()
H A Dui_box_progress.cpp247 Rect coords(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1, startPoint.y + progressHeight - 1); in DrawBackground()
249 DrawValidRect(gfxDstBuffer, backgroundImage_, coords, invalidatedArea, *backgroundStyle_, radius); in DrawBackground()
252 void UIBoxProgress::DrawForeground(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, Rect& coords) in DrawForeground() argument
264 coords.SetRect(startPoint.x, startPoint.y, startPoint.x + length, startPoint.y + progressHeight - 1); in DrawForeground()
269 coords.SetRect(startPoint.x + progressWidth - 1 - length, in DrawForeground()
275 coords.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth - 1, startPoint.y + length); in DrawForeground()
280 coords.SetRect(startPoint.x, startPoint.y + progressHeight - 1 - length, in DrawForeground()
290 DrawValidRect(gfxDstBuffer, foregroundImage_, coords, invalidatedArea, *foregroundStyle_, radius); in DrawForeground()
301 Rect coords; in OnDraw() local
302 DrawForeground(gfxDstBuffer, invalidatedArea, coords); in OnDraw()
[all...]
H A Dui_button.cpp77 Rect coords; in DrawImg() local
79 coords.SetLeft(viewRect.GetLeft() + GetImageX()); in DrawImg()
80 coords.SetTop(viewRect.GetTop() + GetImageY()); in DrawImg()
81 coords.SetWidth(header.width); in DrawImg()
82 coords.SetHeight(header.height); in DrawImg()
86 image->DrawImage(gfxDstBuffer, coords, trunc, *buttonStyles_[state_], opaScale); in DrawImg()
H A Dui_slider.cpp185 void UISlider::DrawForeground(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, Rect& coords) in DrawForeground() argument
208 coords.SetRect(left, startPoint.y, right, startPoint.y + progressHeight_ - 1); in DrawForeground()
218 coords.SetRect(left, startPoint.y, right, startPoint.y + progressHeight_ - 1); in DrawForeground()
228 coords.SetRect(startPoint.x, top, startPoint.x + progressWidth_ - 1, bottom); in DrawForeground()
238 coords.SetRect(startPoint.x, top, startPoint.x + progressWidth_ - 1, bottom); in DrawForeground()
246 if (coords.Intersect(coords, invalidatedArea)) { in DrawForeground()
247 DrawValidRect(gfxDstBuffer, foregroundImage_, foregroundRect, coords, *foregroundStyle_, radius); in DrawForeground()
H A Dui_canvas.cpp872 Rect coords = GetOrigRect(); in OnDraw() local
874 if (!trunc.Intersect(trunc, coords)) { in OnDraw()
1113 Rect coords; in DoDrawRect() local
1116 coords.SetPosition(x, y); in DoDrawRect()
1117 coords.SetHeight(rectParam->height + lineWidth); in DoDrawRect()
1118 coords.SetWidth(rectParam->width + lineWidth); in DoDrawRect()
1119 baseGfxEngine->DrawRect(gfxDstBuffer, coords, invalidatedArea, drawStyle, OPA_OPAQUE); in DoDrawRect()
1123 coords.SetPosition(x, y); in DoDrawRect()
1124 coords.SetHeight(lineWidth); in DoDrawRect()
1125 coords in DoDrawRect()
1163 Rect coords; DoFillRect() local
[all...]
/foundation/arkui/ui_lite/interfaces/kits/common/
H A Dimage.h147 const Rect& coords,
H A Dtext.h588 const Rect& coords,
635 Point GetPos(int16_t& lineHeight, const Style& style, uint16_t& lineCount, const Rect& coords);
/foundation/arkui/ui_lite/frameworks/common/
H A Dtext.cpp265 const Rect& coords, in Draw()
272 int16_t lineMaxWidth = expandWidth_ ? textSize_.x : coords.GetWidth(); in Draw()
283 Point pos = GetPos(lineHeight, style, lineCount, coords); in Draw()
315 pos.x = LineStartPos(coords, textLine_[i].linePixelWidth); in Draw()
353 Point Text::GetPos(int16_t& lineHeight, const Style& style, uint16_t& lineCount, const Rect& coords) in GetPos() argument
357 pos.y = TextPositionY(coords, (lineCount * lineHeight)); in GetPos()
359 pos.y = TextPositionY(coords, (lineCount * lineHeight - style.lineSpace_)); in GetPos()
263 Draw(BufferInfo& gfxDstBuffer, const Rect& mask, const Rect& coords, const Style& style, int16_t offsetX, uint16_t ellipsisIndex, OpacityType opaScale) Draw() argument
H A Dimage.cpp273 const Rect& coords, in DrawImage()
279 DrawImage::DrawCommon(gfxDstBuffer, coords, mask, imageInfo_, style, opaScale); in DrawImage()
281 DrawImage::DrawCommon(gfxDstBuffer, coords, mask, path_, style, opaScale); in DrawImage()
272 DrawImage(BufferInfo& gfxDstBuffer, const Rect& coords, const Rect& mask, const Style& style, uint8_t opaScale) const DrawImage() argument
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_box_progress.h227 void DrawForeground(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, Rect& coords);
H A Dui_slider.h346 void DrawForeground(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, Rect& coords);
/foundation/multimodalinput/input/test/facility/libinput_interface/include/
H A Dlibinput_interface.h90 struct device_coords coords[N_GESTURE_DEVICE_COORDS]; member
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Drender_node.cpp1490 RRect RenderNode::GetGlobalWindowBlurRRect(std::vector<RRect>& coords) const in GetGlobalWindowBlurRRect()
1499 coords.push_back(windowBlurRRect); in GetGlobalWindowBlurRRect()
1507 coords.push_back(parentBlurRRect); in GetGlobalWindowBlurRRect()
1514 coords.clear(); in GetGlobalWindowBlurRRect()
1517 for (auto& coord : coords) { in GetGlobalWindowBlurRRect()
1564 std::vector<RRect> coords; in UpdateWindowBlurRRect() local
1565 auto blurRect = GetGlobalWindowBlurRRect(coords); in UpdateWindowBlurRRect()
1567 GetNodeId(), blurRect, GetWindowBlurProgress(), GetWindowBlurStyle(), coords); in UpdateWindowBlurRRect() local
H A Drender_node.h800 RRect GetGlobalWindowBlurRRect(std::vector<RRect>& coords) const;
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dmesh_util.cpp218 const Math::Vec2& coords = unitCoords[idx]; in GenerateConeCap() local
220 vertices.emplace_back(coords.x * radius, coords.y * radius, length); in GenerateConeCap()
223 float uvx = (coords.x + 1.0f) * 0.5f; in GenerateConeCap()
224 float uvy = 1.0f - (coords.y + 1.0f) * 0.5f; in GenerateConeCap()
/foundation/multimodalinput/input/util/common/include/
H A Dstruct_multimodal.h411 SlotedCoords coords[MAX_SOLTED_COORDS_NUMS]; member
/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_context.h519 int32_t id, RRect rRect, float progress, WindowBlurStyle style, const std::vector<RRect>& coords);
H A Dpipeline_context.cpp2887 int32_t id, RRect rRect, float progress, WindowBlurStyle style, const std::vector<RRect>& coords) in UpdateWindowBlurRegion()
2897 windowBlurRegions_[id] = { .progress_ = progress, .style_ = style, .innerRect_ = rRect, .coords_ = coords }; in UpdateWindowBlurRegion()
2886 UpdateWindowBlurRegion( int32_t id, RRect rRect, float progress, WindowBlurStyle style, const std::vector<RRect>& coords) UpdateWindowBlurRegion() argument
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/
H A Dcjui_api.h3109 ArkUICanvasHandle canvas, ArkUI_Int32 mode, ArkUI_Float32* coords, ArkUI_Int32 count, ArkUIPaintHandle paint);
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h4921 ArkUICanvasHandle canvas, ArkUI_Int32 mode, ArkUI_Float32* coords, ArkUI_Int32 count, ArkUIPaintHandle paint);

Completed in 57 milliseconds