[perl-Cairo] Add docs for the newly added API
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Cairo] Add docs for the newly added API
- Date: Sun, 16 May 2010 21:05:53 +0000 (UTC)
commit f21df79d5e5f92bb76ebce6397bd9b3684d4968b
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Sun May 16 23:05:36 2010 +0200
Add docs for the newly added API
lib/Cairo.pm | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/lib/Cairo.pm b/lib/Cairo.pm
index 002c70d..56bb75c 100644
--- a/lib/Cairo.pm
+++ b/lib/Cairo.pm
@@ -882,6 +882,20 @@ I<x> and I<y>. Example:
=back
+=item $cr->show_text_glyphs ($utf8, $glyphs, $clusters, $cluster_flags) [1.8]
+
+=over
+
+=item $utf8: string
+
+=item $glyphs: array ref of glyphs
+
+=item $clusters: array ref of clusters
+
+=item $cluster_flags: I<Cairo::TextClusterFlags>
+
+=back
+
=item $face = $cr->get_font_face
=item $extents = $cr->font_extents
@@ -978,6 +992,18 @@ I<x> and I<y>. Example:
=back
+=item ($status, $glyphs, $clusters, $cluster_flags) = $scaled_font->text_to_glyphs ($x, $y, $utf8) [1.8]
+
+=over
+
+=item $x: double
+
+=item $y: double
+
+=item $utf8: string
+
+=back
+
=item $font_face = $scaled_font->get_font_face [1.2]
=item $options = $scaled_font->get_font_options [1.2]
@@ -986,6 +1012,8 @@ I<x> and I<y>. Example:
=item $ctm = $scaled_font->get_ctm [1.2]
+=item $scale_matrix = $scaled_font->get_scale_matrix [1.8]
+
=item $type = $scaled_font->get_type [1.2]
=back
@@ -1165,6 +1193,8 @@ from a file:
=back
+=item ($x_pixels_per_inch, $y_pixels_per_inch) = $surface->get_fallback_resolution [1.8]
+
=item $type = $surface->get_type [1.2]
=item $status = $surface->copy_page [1.6]
@@ -1183,6 +1213,8 @@ from a file:
=back
+=item $boolean = $surface->has_show_text_glyphs [1.8]
+
=back
=cut
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]