Searched refs:srcFTBitmap (Results 1 – 2 of 2) sorted by relevance
202 void copyFTBitmap(const FT_Bitmap& srcFTBitmap, SkMask& dstMask) { in copyFTBitmap() argument203 SkASSERTF(dstMask.fBounds.width() == static_cast<int>(srcFTBitmap.width), in copyFTBitmap()207 static_cast<int>(srcFTBitmap.width) in copyFTBitmap()209 SkASSERTF(dstMask.fBounds.height() == static_cast<int>(srcFTBitmap.rows), in copyFTBitmap()213 static_cast<int>(srcFTBitmap.rows) in copyFTBitmap()216 const uint8_t* src = reinterpret_cast<const uint8_t*>(srcFTBitmap.buffer); in copyFTBitmap()217 const FT_Pixel_Mode srcFormat = static_cast<FT_Pixel_Mode>(srcFTBitmap.pixel_mode); in copyFTBitmap()219 const int srcPitch = srcFTBitmap.pitch; in copyFTBitmap()226 const size_t width = srcFTBitmap.width; in copyFTBitmap()227 const size_t height = srcFTBitmap.rows; in copyFTBitmap()[all …]
214 void copyFTBitmap(const FT_Bitmap& srcFTBitmap, SkMask& dstMask) { in copyFTBitmap() argument215 SkASSERTF(dstMask.fBounds.width() == static_cast<int>(srcFTBitmap.width), in copyFTBitmap()219 static_cast<int>(srcFTBitmap.width) in copyFTBitmap()221 SkASSERTF(dstMask.fBounds.height() == static_cast<int>(srcFTBitmap.rows), in copyFTBitmap()225 static_cast<int>(srcFTBitmap.rows) in copyFTBitmap()228 const uint8_t* src = reinterpret_cast<const uint8_t*>(srcFTBitmap.buffer); in copyFTBitmap()229 const FT_Pixel_Mode srcFormat = static_cast<FT_Pixel_Mode>(srcFTBitmap.pixel_mode); in copyFTBitmap()231 const int srcPitch = srcFTBitmap.pitch; in copyFTBitmap()238 const size_t width = srcFTBitmap.width; in copyFTBitmap()239 const size_t height = srcFTBitmap.rows; in copyFTBitmap()[all …]