Function

PangoFT2.render

Declaration [src]

void
pango_ft2_render (
  FT_Bitmap* bitmap,
  PangoFont* font,
  PangoGlyphString* glyphs,
  gint x,
  gint y
)

Description [src]

Renders a PangoGlyphString onto a FreeType2 bitmap.

Parameters

bitmap FT_Bitmap*
 

the FreeType2 bitmap onto which to draw the string

 The data is owned by the caller of the function
font PangoFont*
 

the font in which to draw the string

 The data is owned by the caller of the function
glyphs PangoGlyphString*
 

the glyph string to draw

 The data is owned by the caller of the function
x gint
 

the x position of the start of the string (in pixels)

y gint
 

the y position of the baseline (in pixels)