summaryrefslogtreecommitdiff
path: root/src/cairo-ps-surface-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-09-05 06:58:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-09-06 09:10:30 +0100
commitd45b3168db2362eaaa8ee29fc653509bc8f67e65 (patch)
treed1e6bfdb6cd65833a430270579e1ac1791336ea6 /src/cairo-ps-surface-private.h
parent85ed37da33522efa101eb508a4091bcfa24ae944 (diff)
[ps] Use a color_t rather than open-code.
Simplify the code by tracking the current solid color with a cairo_color_t.
Diffstat (limited to 'src/cairo-ps-surface-private.h')
-rw-r--r--src/cairo-ps-surface-private.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cairo-ps-surface-private.h b/src/cairo-ps-surface-private.h
index 79ac983a..e78833d0 100644
--- a/src/cairo-ps-surface-private.h
+++ b/src/cairo-ps-surface-private.h
@@ -72,10 +72,7 @@ typedef struct cairo_ps_surface {
cairo_bool_t use_string_datasource;
cairo_bool_t current_pattern_is_solid_color;
- double current_color_red;
- double current_color_green;
- double current_color_blue;
- double current_color_alpha;
+ cairo_color_t current_color;
int num_pages;