Lines Matching refs:newDataInfo
1798 void DrawUtils::AddBorderToImageData(TransformDataInfo& newDataInfo, ImageInfo& imageinfo)
1802 uint16_t width = newDataInfo.header.width;
1803 uint16_t height = newDataInfo.header.height;
1805 if (newDataInfo.pxSize > FONT_WEIGHT_8) {
1808 diff = border * newDataInfo.pxSize / FONT_WEIGHT_8;
1810 width += offset * FONT_WEIGHT_8 / newDataInfo.pxSize;
1814 uint16_t widthInByte = width * newDataInfo.pxSize / FONT_WEIGHT_8;
1815 if ((width * newDataInfo.pxSize) % FONT_WEIGHT_8 != 0) {
1818 imageinfo.header.width = newDataInfo.header.width;
1819 imageinfo.header.height = newDataInfo.header.height;
1832 uint8_t* data = const_cast<uint8_t*>(newDataInfo.data);
1834 for (int i = 0; i < newDataInfo.header.height; ++i) {
1844 newDataInfo.header.width = width;
1845 newDataInfo.header.height = height;
1846 newDataInfo.data = newData;
1901 TransformDataInfo newDataInfo = dataInfo;
1908 AddBorderToImageData(newDataInfo, imageinfo);
1910 UpdateTransMap(newDataInfo.header.width, newDataInfo.header.height, newTransMap);
1916 imageinfo.data = newDataInfo.data;
1918 if (newDataInfo.data != dataInfo.data) {
1925 newDataInfo,
1964 if (newDataInfo.data != dataInfo.data) {