Home
last modified time | relevance | path

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

/external/freetype/src/base/
Dftbitmap.c107 FT_Int target_pitch = target->pitch; in FT_Bitmap_Copy() local
111 if ( target_pitch < 0 ) in FT_Bitmap_Copy()
112 target_pitch = -target_pitch; in FT_Bitmap_Copy()
113 target_size = (FT_ULong)target_pitch * target->rows; in FT_Bitmap_Copy()
546 FT_Int pad, old_target_pitch, target_pitch; in FT_Bitmap_Convert() local
568 target_pitch = (FT_Int)source->width + pad; in FT_Bitmap_Convert()
570 if ( target_pitch > 0 && in FT_Bitmap_Convert()
571 (FT_ULong)target->rows > FT_ULONG_MAX / (FT_ULong)target_pitch ) in FT_Bitmap_Convert()
575 old_size, target->rows * (FT_UInt)target_pitch ) ) in FT_Bitmap_Convert()
578 target->pitch = target->pitch < 0 ? -target_pitch : target_pitch; in FT_Bitmap_Convert()