tt_get_glyph_bitmap_box Subroutine

public pure subroutine tt_get_glyph_bitmap_box(data, loca, glyf, index_to_loc_format, num_glyphs, glyph_index, scale_x, scale_y, ix0, iy0, ix1, iy1)

Get bitmap bounding box in pixel coordinates (y-flipped).

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: data(:)
integer, intent(in) :: loca
integer, intent(in) :: glyf
integer, intent(in) :: index_to_loc_format
integer, intent(in) :: num_glyphs
integer, intent(in) :: glyph_index
real(kind=dp), intent(in) :: scale_x
real(kind=dp), intent(in) :: scale_y
integer, intent(out) :: ix0
integer, intent(out) :: iy0
integer, intent(out) :: ix1
integer, intent(out) :: iy1