forked from AuroraMiddleware/gtk
3d737ee8ba
Sat Nov 20 15:13:51 2004 Owen Taylor <otaylor@redhat.com> * gdk/gdkpango.[ch]: Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables. Use to implement the old gdk_draw_layout() and friends. * gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkwindow.c gdk/gdkpixmap.c: Add gdk_draw_glyphs_transformed() gdk_draw_trapezoids() and the corresponding members of GdkDrawableClass. Add a fallback implementation of gdk_draw_trapezoids() in terms of pixbufs. * gdk/gdkwindowing.h gdk/x11/gdkg-x11.h: Add _gdk_windowing_gc_get_foreground() to enable the fallback trapezoid implementation. * gdk/x11/gdkdrawable-x11.c gdk/x11/gdkdisplay-x11.h: Implement draw_glyph_transformed, draw_trapezoids. * gdk/x11/gdkdrawable-x11.[ch]: Add _gdk_x11_drawable_draw_xtrapezoids, _gdk_x11_drawable_draw_xft_glyphs for use of GdkX11Renderer. * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Implement GDK_TILED, GDK_STIPPLED, GDK_OPAQUE_STIPPLED in the RENDER codepath. * gdk/gdkpango-x11.c: Add GdkX11Renderer... a subclass of PangoXftRenderer that does tiles/stipples and fallback rendering of trapezoids without the RENDER extension. * gdk/gdkpango-x11.c gdk/x11/gdkscreen-x11.[ch] _gdk_x11_renderer_get: Add _gdk_x11_renderer_get() to get a singleton GdkX11Renderer for the screen. * gdk/x11/gdkdrawable-x11.c (get_impl_drawable): Fix a None/NULL confusion. * gtk/gtklabel.[ch] gtk/gtk.symbols: Add gtk_label_set/get_angle(), and an ::angle property. * gtk/gtklabel.c: Remove #if 0'd dead code gtk_label_paint_word(). * gtk/gtktextdisplay.c: Switch to using a GtkTextRenderer subclass of GdkPangoRenderer for drawing. * gtk/gtktextlayout.[ch] gtk/gtktextdisplay.c: Switch to using gtk_attr_shape_new_with_data() to store backreferences to embedded pixmaps and widgets. Leave line_display->shaped_objects around for backwords compatibility. * gdk/gdkpango.[ch] (gdk_pango_context_set_colormap): Describe as deprecated, remove implementation. * gtk/gtkwidget.c (gtk_widget_create_pango_context): Remove call to gdk_pango_context_set_colormap. * demos/gtk-demo/Makefile.am demos/gtk-demo/rotated_text.c: Add a demo showing drawing rotated text. * tests/testgtk.c: Add a rotated-label test, and also a rotated drawing test (differs from demos/gtk-demo/rotated_text by also using a tile) |
||
---|---|---|
.. | ||
test-images | ||
.cvsignore | ||
3DRings.xpm | ||
apple-red.png | ||
check-n.xpm | ||
check-y.xpm | ||
circles.xbm | ||
FilesQueue.xpm | ||
gnome-textfile.png | ||
Makefile.am | ||
makefile.msc | ||
marble.xpm | ||
merge-1.ui | ||
merge-2.ui | ||
merge-3.ui | ||
Modeller.xpm | ||
pixbuf-lowmem.c | ||
pixbuf-random.c | ||
pixbuf-randomly-modified.c | ||
pixbuf-read.c | ||
pixbuf-threads.c | ||
prop-editor.c | ||
prop-editor.h | ||
simple.c | ||
stresstest-toolbar.c | ||
test.xpm | ||
testactions.c | ||
testcalendar.c | ||
testcombo.c | ||
testcombochange.c | ||
testdnd.c | ||
testellipsise.c | ||
testentrycompletion.c | ||
testfilechooser.c | ||
testfilechooserbutton.c | ||
testgtk.1 | ||
testgtk.c | ||
testgtkrc | ||
testgtkrc2 | ||
testicontheme.c | ||
testiconview.c | ||
testimage.c | ||
testinput.c | ||
testmenus.c | ||
testmerge.c | ||
testmultidisplay.c | ||
testmultiscreen.c | ||
testrgb.c | ||
testselection.c | ||
testsocket_child.c | ||
testsocket_common.c | ||
testsocket.c | ||
testspinbutton.c | ||
testtext.c | ||
testtextbuffer.c | ||
testthreads.c | ||
testtoolbar.c | ||
testtreecolumns.c | ||
testtreeedit.c | ||
testtreeflow.c | ||
testtreefocus.c | ||
testtreemodel.c | ||
testtreesort.c | ||
testtreeview-plan.txt | ||
testtreeview.c | ||
testxinerama.c | ||
treestoretest.c |