+2003-09-12 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
+ (gdk_draw_text_wc): Add deprecation notes. (#121955, Martin Pool)
+
2003-09-11 Matthias Clasen <maclas@gmx.de>
+ * gdk/gdkpango.c: Doc tweaks.
+
* tests/testgtk.c: Add table menu tests.
* gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the
+2003-09-12 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
+ (gdk_draw_text_wc): Add deprecation notes. (#121955, Martin Pool)
+
2003-09-11 Matthias Clasen <maclas@gmx.de>
+ * gdk/gdkpango.c: Doc tweaks.
+
* tests/testgtk.c: Add table menu tests.
* gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the
+2003-09-12 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
+ (gdk_draw_text_wc): Add deprecation notes. (#121955, Martin Pool)
+
2003-09-11 Matthias Clasen <maclas@gmx.de>
+ * gdk/gdkpango.c: Doc tweaks.
+
* tests/testgtk.c: Add table menu tests.
* gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the
+2003-09-12 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
+ (gdk_draw_text_wc): Add deprecation notes. (#121955, Martin Pool)
+
2003-09-11 Matthias Clasen <maclas@gmx.de>
+ * gdk/gdkpango.c: Doc tweaks.
+
* tests/testgtk.c: Add table menu tests.
* gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the
+2003-09-12 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
+ (gdk_draw_text_wc): Add deprecation notes. (#121955, Martin Pool)
+
2003-09-11 Matthias Clasen <maclas@gmx.de>
+ * gdk/gdkpango.c: Doc tweaks.
+
* tests/testgtk.c: Add table menu tests.
* gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the
+2003-09-12 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/tmpl/drawing.sgml: Add deprecation note for gdk_draw_pixmap().
+
+2003-09-11 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/tmpl/drawing.sgml: Add hints about obtaining Pango
+ structures. (#121953, Martin Pool)
+
2003-09-04 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add GtkUIManagerItemType.
<link linkend="gdk-Graphics-Contexts">Graphics Contexts</link> section for
more information.
</para>
+<para id="pango-data-structures">
+Some of the drawing operations take Pango data structures like #PangoContext,
+#PangoLayout or #PangoLayoutLine as arguments. If you're using GTK+, the ususal
+way to obtain these structures is via gtk_widget_create_pango_context() or
+gtk_widget_create_pango_layout().
+</para>
<!-- ##### SECTION See_Also ##### -->
<para>
Draws a pixmap, or a part of a pixmap, onto another drawable.
</para>
+@Deprecated: Use gdk_draw_drawable() instead.
<!-- ##### FUNCTION gdk_draw_drawable ##### -->
* @string: the string of characters to draw.
*
* Draws a string of characters in the given font or fontset.
+ *
+ * Deprecated: Use gdk_draw_layout() instead.
**/
void
gdk_draw_string (GdkDrawable *drawable,
* @text_length: the number of characters of @text to draw.
*
* Draws a number of characters in the given font or fontset.
+ *
+ * Deprecated: Use gdk_draw_layout() instead.
**/
void
gdk_draw_text (GdkDrawable *drawable,
* Draws a number of wide characters using the given font of fontset.
* If the font is a 1-byte font, the string is converted into 1-byte
* characters (discarding the high bytes) before output.
+ *
+ * Deprecated: Use gdk_draw_layout() instead.
**/
void
gdk_draw_text_wc (GdkDrawable *drawable,
* @colormap: a #GdkColormap
*
* Sets the colormap to be used for drawing with @context.
+ *
* If you obtained your context from gtk_widget_get_pango_context() or
* gtk_widget_create_pango_context(), the colormap will already be set
* to the colormap for the widget, so you shouldn't need this
* function.
- *
**/
void
gdk_pango_context_set_colormap (PangoContext *context,
* Render a #PangoLayout onto a #GdkDrawable, overriding the
* layout's normal colors with @foreground and/or @background.
* @foreground and @background need not be allocated.
+ *
+ * If you're using GTK+, the ususal way to obtain a #PangoLayout
+ * is gtk_widget_create_pango_layout().
*/
void
gdk_draw_layout_with_colors (GdkDrawable *drawable,
* @layout: a #PangoLayout
*
* Render a #PangoLayout onto a GDK drawable
+ *
+ * If you're using GTK+, the ususal way to obtain a #PangoLayout
+ * is gtk_widget_create_pango_layout().
*/
void
gdk_draw_layout (GdkDrawable *drawable,