diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-09-07 11:11:14 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-09-07 11:11:14 +0000 |
commit | 897a33ffe984b19f92ab52e4d85499d335e17e77 (patch) | |
tree | 1dba64506ef2c5e51a10263cec23bed9725a534b /src/nautilus-about.c | |
parent | 0b47962ead8e3492764110ef61047dda9c61ca24 (diff) | |
download | nautilus-897a33ffe984b19f92ab52e4d85499d335e17e77.tar.gz |
Add support for drawint inverted text. Also cleanup the rendering function
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_measure_text), (invert_glyph),
(nautilus_scalable_font_draw_text),
(nautilus_scalable_font_draw_text_lines_with_dimensions),
(nautilus_scalable_font_draw_text_lines),
(nautilus_text_layout_paint):
* libnautilus-extensions/nautilus-scalable-font.h:
Add support for drawint inverted text. Also cleanup the rendering
function a bit.
* libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
* libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf):
* src/nautilus-about.c: (draw_aa_string):
* src/nautilus-sidebar-tabs.c: (draw_one_tab_plain),
(draw_one_tab_themed):
Update all these for the new inverted scalable font api.
* test/test-nautilus-font.c: (main):
Add a inverted text test.
Diffstat (limited to 'src/nautilus-about.c')
-rw-r--r-- | src/nautilus-about.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-about.c b/src/nautilus-about.c index bbc0d3ce8..1ffd8c96d 100644 --- a/src/nautilus-about.c +++ b/src/nautilus-about.c @@ -195,10 +195,10 @@ draw_aa_string (NautilusScalableFont *font, GdkPixbuf *pixbuf, int font_size, in NULL, font_size, font_size, text, strlen (text), - shadow_color, 255); + shadow_color, 255, FALSE); } - nautilus_scalable_font_draw_text (font, pixbuf, x_pos, y_pos, NULL, font_size, font_size, text, strlen (text), color, 255); + nautilus_scalable_font_draw_text (font, pixbuf, x_pos, y_pos, NULL, font_size, font_size, text, strlen (text), color, 255, FALSE); } /* draw the information onto the pixbuf */ |