Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_utils.cpp1814 uint16_t widthInByte = width * newDataInfo.pxSize / FONT_WEIGHT_8; local
1816 widthInByte++;
1820 imageinfo.dataSize = widthInByte * height;
1826 if (memset_s(newData, widthInByte * height, 0, widthInByte * height) != EOK) {
1833 tmp += widthInByte * border + diff;
1836 if (memcpy_s(tmp, widthInByte - diff * 2, data, widthInByte - diff * 2) != EOK) {
1841 tmp += widthInByte;
1842 data += widthInByte - diff * 2; // 2 : double