summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-09-14 13:45:41 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-09-14 13:45:41 +0000
commit6479229c21d4824ca6e2a3de783248a2ea3a3938 (patch)
treecc477412c6682067c481059a6cca4cecb60864ab /pango
parente1d9bf4f9ead8e632fcb9c96361b54546a198a89 (diff)
downloadpango-6479229c21d4824ca6e2a3de783248a2ea3a3938.tar.gz
=== Released 1.6.0 ===PANGO_1_6_0
Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.6.0 === * configure.in: Update versions for 1.6.0 * NEWS: Update. * README: Minor tweak. * pango/fonts.c pango/pango-context.c pango/pango-types.h pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c pango/opentype/pango-ot-buffer.c: Add a bunch of missing Since: 1.6.
Diffstat (limited to 'pango')
-rw-r--r--pango/fonts.c8
-rw-r--r--pango/opentype/pango-ot-buffer.c2
-rw-r--r--pango/pango-context.c6
-rw-r--r--pango/pango-layout.c4
-rw-r--r--pango/pango-types.h4
-rw-r--r--pango/pango-utils.c12
-rw-r--r--pango/pangoft2.c6
7 files changed, 42 insertions, 0 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index f2efbd7d..e6692927 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1283,6 +1283,8 @@ pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics)
* negative.
*
* Return value: the suggested underline position, in Pango units.
+ *
+ * Since: 1.6
**/
int
pango_font_metrics_get_underline_position (PangoFontMetrics *metrics)
@@ -1299,6 +1301,8 @@ pango_font_metrics_get_underline_position (PangoFontMetrics *metrics)
* Gets the suggested thickness to draw for the underline.
*
* Return value: the suggested underline thickness, in Pango units.
+ *
+ * Since: 1.6
**/
int
pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics)
@@ -1317,6 +1321,8 @@ pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics)
* baseline of the top of the strikethrough.
*
* Return value: the suggested strikethrough position, in Pango units.
+ *
+ * Since: 1.6
**/
int
pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics)
@@ -1333,6 +1339,8 @@ pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics)
* Gets the suggested thickness to draw for the strikethrough.
*
* Return value: the suggested strikethrough thickness, in Pango units.
+ *
+ * Since: 1.6
**/
int
pango_font_metrics_get_strikethrough_thickness (PangoFontMetrics *metrics)
diff --git a/pango/opentype/pango-ot-buffer.c b/pango/opentype/pango-ot-buffer.c
index a7b23e65..17e6e4ff 100644
--- a/pango/opentype/pango-ot-buffer.c
+++ b/pango/opentype/pango-ot-buffer.c
@@ -93,6 +93,8 @@ pango_ot_buffer_set_rtl (PangoOTBuffer *buffer,
* This setting is needed for proper positioning of Arabic accents,
* but will produce incorrect results with standard OpenType indic
* fonts.
+ *
+ * Since: 1.6
**/
void
pango_ot_buffer_set_zero_width_marks (PangoOTBuffer *buffer,
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 21a2e8c3..83873d5c 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -135,6 +135,8 @@ pango_context_new (void)
* coordiantes after the application of the matrix. So, they don't scale
* with the matrix, though they may change slightly for different
* matrices, depending on how the text is fit to the pixel grid.
+ *
+ * Since: 1.6
**/
void
pango_context_set_matrix (PangoContext *context,
@@ -161,6 +163,8 @@ pango_context_set_matrix (PangoContext *context,
* (which is the same as the identity matrix). The returned
* matrix is owned by Pango and must not be modified or
* freed.
+ *
+ * Since: 1.6
**/
G_CONST_RETURN PangoMatrix *
pango_context_get_matrix (PangoContext *context)
@@ -203,6 +207,8 @@ pango_context_set_font_map (PangoContext *context,
*
* Return value: the font map for the #PangoContext. This value
* is owned by Pango and should not be unreferenced.
+ *
+ * Since: 1.6
**/
PangoFontMap *
pango_context_get_font_map (PangoContext *context)
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index f90e6b3f..6da91cac 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -725,6 +725,8 @@ pango_layout_get_single_paragraph_mode (PangoLayout *layout)
* If the layout contains characters such as newlines that
* force it to be layed out in multiple lines, then each line
* is ellipsized separately.
+ *
+ * Since: 1.6
**/
void
pango_layout_set_ellipsize (PangoLayout *layout,
@@ -748,6 +750,8 @@ pango_layout_set_ellipsize (PangoLayout *layout,
* See pango_layout_get_ellipsize()
*
* Return value: the current ellipsization mode for @layout
+ *
+ * Since: 1.6
**/
PangoEllipsizeMode
pango_layout_get_ellipsize (PangoLayout *layout)
diff --git a/pango/pango-types.h b/pango/pango-types.h
index a8d2f448..82143508 100644
--- a/pango/pango-types.h
+++ b/pango/pango-types.h
@@ -72,6 +72,8 @@ struct _PangoRectangle
* x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0;
* y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
* </programlisting>
+ *
+ * Since: 1.6
**/
struct _PangoMatrix
{
@@ -100,6 +102,8 @@ struct _PangoMatrix
* PangoMatrix matrix = PANGO_MATRIX_INIT;
* pango_matrix_rotate (&amp;matrix, 45.);
* </programlisting></informalexample>
+ *
+ * Since: 1.6
**/
#define PANGO_MATRIX_INIT { 1., 0., 0., 1., 0., 0. }
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 2867e269..8768f84f 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -1008,6 +1008,8 @@ pango_matrix_get_type (void)
*
* Return value: a copy of @matrix. The result must be freed with
* pango_matrix_free().
+ *
+ * Since: 1.6
**/
PangoMatrix *
pango_matrix_copy (const PangoMatrix *matrix)
@@ -1022,6 +1024,8 @@ pango_matrix_copy (const PangoMatrix *matrix)
* @matrix: a #PangoMatrix
*
* Free a #PangoMatrix created with pango_matrix_copy().
+ *
+ * Since: 1.6
**/
void
pango_matrix_free (PangoMatrix *matrix)
@@ -1040,6 +1044,8 @@ pango_matrix_free (PangoMatrix *matrix)
* Changes the transformation represented by @matrix to be the
* transformation given by first translating by (@tx, @ty)
* then applying the original transformation.
+ *
+ * Since: 1.6
**/
void
pango_matrix_translate (PangoMatrix *matrix,
@@ -1062,6 +1068,8 @@ pango_matrix_translate (PangoMatrix *matrix,
* transformation given by first scaling by @sx in the X direction
* and @sy in the Y direction then applying the original
* transformation.
+ *
+ * Since: 1.6
**/
void
pango_matrix_scale (PangoMatrix *matrix,
@@ -1084,6 +1092,8 @@ pango_matrix_scale (PangoMatrix *matrix,
* Changes the transformation represented by @matrix to be the
* transformation given by first rotating by @degrees degrees
* counter-clokwise then applying the original transformation.
+ *
+ * Since: 1.6
**/
void
pango_matrix_rotate (PangoMatrix *matrix,
@@ -1116,6 +1126,8 @@ pango_matrix_rotate (PangoMatrix *matrix,
* Changes the transformation represented by @matrix to be the
* transformation given by first applying transformation
* given by @new_matrix then applying the original transformation.
+ *
+ * Since: 1.6
**/
void
pango_matrix_concat (PangoMatrix *matrix,
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index 082b6725..7860b042 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -355,6 +355,8 @@ transform_point (const PangoMatrix *matrix,
* changed, so to produce correct rendering results, the @font
* must have been loaded using a #PangoContext with an identical
* transformation matrix to that passed in to this function.
+ *
+ * Since: 1.6
**/
void
pango_ft2_render_transformed (FT_Bitmap *bitmap,
@@ -806,6 +808,8 @@ draw_strikethrough (FT_Bitmap *bitmap,
* pixels. (Using this will avoid extra inaccuracies from
* rounding to integer pixels multiple times, even if the
* final glyph positions are integers.)
+ *
+ * Since: 1.6
*/
void
pango_ft2_render_layout_line_subpixel (FT_Bitmap *bitmap,
@@ -906,6 +910,8 @@ pango_ft2_render_layout_line (FT_Bitmap *bitmap,
* pixels. (Using this will avoid extra inaccuracies from
* rounding to integer pixels multiple times, even if the
* final glyph positions are integers.)
+ *
+ * Since: 1.6
*/
void
pango_ft2_render_layout_subpixel (FT_Bitmap *bitmap,