Home
last modified time | relevance | path

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

/external/freetype/src/base/
Dftbitmap.c106 FT_Int target_pitch = target->pitch; in FT_Bitmap_Copy() local
110 if ( target_pitch < 0 ) in FT_Bitmap_Copy()
111 target_pitch = -target_pitch; in FT_Bitmap_Copy()
112 target_size = (FT_ULong)target_pitch * target->rows; in FT_Bitmap_Copy()
545 FT_Int pad, old_target_pitch, target_pitch; in FT_Bitmap_Convert() local
567 target_pitch = (FT_Int)source->width + pad; in FT_Bitmap_Convert()
569 if ( target_pitch > 0 && in FT_Bitmap_Convert()
570 (FT_ULong)target->rows > FT_ULONG_MAX / (FT_ULong)target_pitch ) in FT_Bitmap_Convert()
574 old_size, target->rows * (FT_UInt)target_pitch ) ) in FT_Bitmap_Convert()
577 target->pitch = target->pitch < 0 ? -target_pitch : target_pitch; in FT_Bitmap_Convert()