Details
gdk_pango_context_get ()
PangoContext* gdk_pango_context_get (void); |
gdk_pango_context_set_colormap ()
void gdk_pango_context_set_colormap (PangoContext *context,
GdkColormap *colormap); |
struct GdkPangoAttrEmbossed
struct GdkPangoAttrEmbossed
{
PangoAttribute attr;
gboolean embossed;
}; |
struct GdkPangoAttrStipple
struct GdkPangoAttrStipple
{
PangoAttribute attr;
GdkBitmap *stipple;
}; |
gdk_pango_attr_embossed_new ()
PangoAttribute* gdk_pango_attr_embossed_new (gboolean embossed); |
Creates a new attribute containing a embossed bitmap to be used when
rendering the text.
gdk_pango_attr_stipple_new ()
PangoAttribute* gdk_pango_attr_stipple_new (GdkBitmap *stipple); |
Creates a new attribute containing a stipple bitmap to be used when
rendering the text.
gdk_pango_layout_get_clip_region ()
GdkRegion* gdk_pango_layout_get_clip_region
(PangoLayout *layout,
gint x_origin,
gint y_origin,
gint *index_ranges,
gint n_ranges); |
Obtains a clip region which contains the areas where the given ranges
of text would be drawn. x_origin and y_origin are the same position
you would pass to gdk_draw_layout_line(). index_ranges should contain
ranges of bytes in the layout's text.
gdk_pango_layout_line_get_clip_region ()
GdkRegion* gdk_pango_layout_line_get_clip_region
(PangoLayoutLine *line,
gint x_origin,
gint y_origin,
gint *index_ranges,
gint n_ranges); |
Obtains a clip region which contains the areas where the given
ranges of text would be drawn. x_origin and y_origin are the same
position you would pass to gdk_draw_layout_line(). index_ranges
should contain ranges of bytes in the layout's text. The clip
region will include space to the left or right of the line (to the
layout bounding box) if you have indexes above or below the indexes
contained inside the line. This is to draw the selection all the way
to the side of the layout. However, the clip region is in line coordinates,
not layout coordinates.