summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2004-04-02 08:01:09 +0000
committerCarl Worth <cworth@cworth.org>2004-04-02 08:01:09 +0000
commitb17b04aa388541c0880698aed0f03796a3146d49 (patch)
treecab0fd615071addec756b544f866e325f8bbfbe7 /src
parent72667ec5680c77fc0e89fcfe71e6fa72467991ff (diff)
Move weight after slant to match the order in cairo_select_font.
Added notes on DPI for image-based backends and on proposal for new cairo_text_glyphs function. Added BUG about cairo_show_text not advancing the current point.
Diffstat (limited to 'src')
-rw-r--r--src/cairo.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/cairo.h b/src/cairo.h
index d9d84ed1..77b23844 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -387,18 +387,17 @@ typedef struct {
double max_y_advance;
} cairo_font_extents_t;
-typedef enum cairo_font_weight {
- CAIRO_FONT_WEIGHT_NORMAL,
- CAIRO_FONT_WEIGHT_BOLD
-} cairo_font_weight_t;
-
typedef enum cairo_font_slant {
CAIRO_FONT_SLANT_NORMAL,
CAIRO_FONT_SLANT_ITALIC,
CAIRO_FONT_SLANT_OBLIQUE
} cairo_font_slant_t;
-
+typedef enum cairo_font_weight {
+ CAIRO_FONT_WEIGHT_NORMAL,
+ CAIRO_FONT_WEIGHT_BOLD
+} cairo_font_weight_t;
+
/* This interface is for dealing with text as text, not caring about the
font object inside the the cairo_t. */