diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-10-30 16:38:31 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-11-05 15:56:28 +0100 |
commit | 1f930f64d8c5abf89b62b806efca1c64b216e413 (patch) | |
tree | cc740548df3b23ed77e0d98837207f66a92d9ea0 /source/fitz | |
parent | a7ea508d281352b1fae056b5c8e86648063b2629 (diff) | |
download | mupdf-1f930f64d8c5abf89b62b806efca1c64b216e413.tar.xz |
Improve stroke state function names that take the dash array length.
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/path.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/fitz/path.c b/source/fitz/path.c index d2ad27c3..811db282 100644 --- a/source/fitz/path.c +++ b/source/fitz/path.c @@ -393,7 +393,7 @@ fz_drop_stroke_state(fz_context *ctx, fz_stroke_state *stroke) } fz_stroke_state * -fz_new_stroke_state_with_len(fz_context *ctx, int len) +fz_new_stroke_state_with_dash_len(fz_context *ctx, int len) { fz_stroke_state *state; @@ -419,11 +419,11 @@ fz_new_stroke_state_with_len(fz_context *ctx, int len) fz_stroke_state * fz_new_stroke_state(fz_context *ctx) { - return fz_new_stroke_state_with_len(ctx, 0); + return fz_new_stroke_state_with_dash_len(ctx, 0); } fz_stroke_state * -fz_unshare_stroke_state_with_len(fz_context *ctx, fz_stroke_state *shared, int len) +fz_unshare_stroke_state_with_dash_len(fz_context *ctx, fz_stroke_state *shared, int len) { int single, unsize, shsize, shlen, drop; fz_stroke_state *unshared; @@ -456,5 +456,5 @@ fz_unshare_stroke_state_with_len(fz_context *ctx, fz_stroke_state *shared, int l fz_stroke_state * fz_unshare_stroke_state(fz_context *ctx, fz_stroke_state *shared) { - return fz_unshare_stroke_state_with_len(ctx, shared, shared->dash_len); + return fz_unshare_stroke_state_with_dash_len(ctx, shared, shared->dash_len); } |