diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-04 19:35:56 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-04 19:35:56 +0000 |
commit | 143def0d70b166251c5971eabb61c901343502c9 (patch) | |
tree | c1402594c509e908efcc7225710af3e53a66fd21 /docs | |
parent | cbf5f1e8a747ce6b9d6a0b03a7febd6c6c55b0ca (diff) | |
download | pango-143def0d70b166251c5971eabb61c901343502c9.tar.gz |
Part of Bug 332266 – gdk_draw_layout fails for coordinates >= 2^21
2007-01-04 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 332266 – gdk_draw_layout fails for coordinates >= 2^21
* pango/pango-types.h:
* pango/pango-matrix.c: New public API:
pango_matrix_transform_distance()
pango_matrix_transform_point()
pango_matrix_transform_rectangle()
pango_matrix_transform_pixel_rectangle()
* pango/pango-utils.h:
* pango/pango-utils.c: New public API:
pango_units_from_double()
pango_units_to_double()
pango_extents_to_pixels()
* pango/pango-layout.c (pango_layout_get_pixel_extents),
(pango_layout_line_get_pixel_extents): Use pango_extents_to_pixels().
* pango/pangocairo-fcfont.c:
(pango_cairo_fc_font_glyph_extents_cache_init),
(compute_glyph_extents): Use pango_units_from_double().
* examples/renderdemo.c (do_output): Use
pango_matrix_transform_pixel_rectangle();
* pango/pango.def:
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml: Update.
svn path=/trunk/; revision=2126
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pango-sections.txt | 7 | ||||
-rw-r--r-- | docs/tmpl/glyphs.sgml | 56 |
2 files changed, 63 insertions, 0 deletions
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index c684a02d..271d4597 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -73,11 +73,14 @@ PANGO_SCALE PANGO_PIXELS PANGO_PIXELS_FLOOR PANGO_PIXELS_CEIL +pango_units_to_double +pango_units_from_double PangoRectangle PANGO_ASCENT PANGO_DESCENT PANGO_LBEARING PANGO_RBEARING +pango_extents_to_pixels PangoMatrix PANGO_TYPE_MATRIX PANGO_MATRIX_INIT @@ -87,6 +90,10 @@ pango_matrix_translate pango_matrix_scale pango_matrix_rotate pango_matrix_concat +pango_matrix_transform_point +pango_matrix_transform_distance +pango_matrix_transform_rectangle +pango_matrix_transform_pixel_rectangle pango_matrix_get_font_scale_factor pango_matrix_to_gravity PangoGlyph diff --git a/docs/tmpl/glyphs.sgml b/docs/tmpl/glyphs.sgml index a2c8f087..fde3dd26 100644 --- a/docs/tmpl/glyphs.sgml +++ b/docs/tmpl/glyphs.sgml @@ -59,6 +59,24 @@ Converts a dimension to device units by ceiling. @d: a dimension in Pango units. +<!-- ##### FUNCTION pango_units_to_double ##### --> +<para> + +</para> + +@i: +@Returns: + + +<!-- ##### FUNCTION pango_units_from_double ##### --> +<para> + +</para> + +@d: +@Returns: + + <!-- ##### STRUCT PangoRectangle ##### --> <para> The #PangoRectangle structure represents a rectangle. It is frequently @@ -117,6 +135,15 @@ horizontal origin. @rect: a #PangoRectangle +<!-- ##### FUNCTION pango_extents_to_pixels ##### --> +<para> + +</para> + +@ink_rect: +@logical_rect: + + <!-- ##### STRUCT PangoMatrix ##### --> <para> @@ -198,6 +225,35 @@ horizontal origin. @new_matrix: +<!-- ##### FUNCTION pango_matrix_transform_point ##### --> +<para> + +</para> + +@matrix: +@x: +@y: + + +<!-- ##### FUNCTION pango_matrix_transform_distance ##### --> +<para> + +</para> + +@matrix: +@dx: +@dy: + + +<!-- ##### FUNCTION pango_matrix_transform_rectangle ##### --> +<para> + +</para> + +@matrix: +@rect: + + <!-- ##### FUNCTION pango_matrix_get_font_scale_factor ##### --> <para> |