Home
last modified time | relevance | path

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

/external/freetype/src/base/
Dftbitmap.c97 FT_Int target_pitch = target->pitch; in FT_Bitmap_Copy() local
101 if ( target_pitch < 0 ) in FT_Bitmap_Copy()
102 target_pitch = -target_pitch; in FT_Bitmap_Copy()
103 target_size = (FT_ULong)target_pitch * target->rows; in FT_Bitmap_Copy()
534 FT_Int pad, old_target_pitch, target_pitch; in FT_Bitmap_Convert() local
556 target_pitch = (FT_Int)source->width + pad; in FT_Bitmap_Convert()
558 if ( target_pitch > 0 && in FT_Bitmap_Convert()
559 (FT_ULong)target->rows > FT_ULONG_MAX / (FT_ULong)target_pitch ) in FT_Bitmap_Convert()
563 old_size, target->rows * (FT_UInt)target_pitch ) ) in FT_Bitmap_Convert()
566 target->pitch = target->pitch < 0 ? -target_pitch : target_pitch; in FT_Bitmap_Convert()