Home
last modified time | relevance | path

Searched refs:imageY (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/entry/src/main/cpp/samples/
H A Dsample_bitmap.cpp198 int imageY = 200; // image Y point 200 in DrawPathHelper() local
199 OH_Drawing_BitmapBuild(cBitmap2_, width_ / 3, imageY, &cFormat); // divide w by 3 to get image x in DrawPathHelper()
/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_utils.cpp395 int16_t imageY = maskedArea.GetTop() - area.GetTop(); in DrawImage() local
402 src.rect = {imageX, imageY, static_cast<int16_t>(imageX + maskedArea.GetWidth() - 1), in DrawImage()
403 static_cast<int16_t>(imageY + maskedArea.GetHeight() - 1)}; in DrawImage()

Completed in 7 milliseconds