summaryrefslogtreecommitdiff
path: root/platform/java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/java')
-rw-r--r--platform/java/mupdf_native.h544
-rw-r--r--platform/java/src/com/artifex/mupdf/fitz/Device.java64
-rw-r--r--platform/java/src/com/artifex/mupdf/fitz/StrokeState.java18
3 files changed, 313 insertions, 313 deletions
diff --git a/platform/java/mupdf_native.h b/platform/java/mupdf_native.h
index 6807d27c..1a7a018c 100644
--- a/platform/java/mupdf_native.h
+++ b/platform/java/mupdf_native.h
@@ -336,70 +336,70 @@ JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Cookie_abort
#ifdef __cplusplus
extern "C" {
#endif
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_MASK
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_MASK 1L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_COLOR
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_COLOR 2L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_UNCACHEABLE
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_UNCACHEABLE 4L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_FILLCOLOR_UNDEFINED
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_FILLCOLOR_UNDEFINED 8L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_STROKECOLOR_UNDEFINED
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_STROKECOLOR_UNDEFINED 16L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_STARTCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_STARTCAP_UNDEFINED 32L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_DASHCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_DASHCAP_UNDEFINED 64L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_ENDCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_ENDCAP_UNDEFINED 128L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_LINEJOIN_UNDEFINED
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_LINEJOIN_UNDEFINED 256L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_MITERLIMIT_UNDEFINED
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_MITERLIMIT_UNDEFINED 512L
-#undef com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_LINEWIDTH_UNDEFINED
-#define com_artifex_mupdf_fitz_Device_FZ_DEVFLAG_LINEWIDTH_UNDEFINED 1024L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_NORMAL
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_NORMAL 0L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_MULTIPLY
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_MULTIPLY 1L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_SCREEN
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_SCREEN 2L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_OVERLAY
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_OVERLAY 3L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_DARKEN
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_DARKEN 4L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_LIGHTEN
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_LIGHTEN 5L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_COLOR_DODGE
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_COLOR_DODGE 6L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_COLOR_BURN
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_COLOR_BURN 7L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_HARD_LIGHT
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_HARD_LIGHT 8L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_SOFT_LIGHT
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_SOFT_LIGHT 9L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_DIFFERENCE
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_DIFFERENCE 10L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_EXCLUSION
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_EXCLUSION 11L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_HUE
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_HUE 12L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_SATURATION
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_SATURATION 13L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_COLOR
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_COLOR 14L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_LUMINOSITY
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_LUMINOSITY 15L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_MODEMASK
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_MODEMASK 15L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_ISOLATED
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_ISOLATED 16L
-#undef com_artifex_mupdf_fitz_Device_FZ_BLEND_KNOCKOUT
-#define com_artifex_mupdf_fitz_Device_FZ_BLEND_KNOCKOUT 32L
-#undef com_artifex_mupdf_fitz_Device_FZ_IGNORE_IMAGE
-#define com_artifex_mupdf_fitz_Device_FZ_IGNORE_IMAGE 1L
-#undef com_artifex_mupdf_fitz_Device_FZ_IGNORE_SHADE
-#define com_artifex_mupdf_fitz_Device_FZ_IGNORE_SHADE 2L
+#undef com_artifex_mupdf_fitz_Device_FLAG_MASK
+#define com_artifex_mupdf_fitz_Device_FLAG_MASK 1L
+#undef com_artifex_mupdf_fitz_Device_FLAG_COLOR
+#define com_artifex_mupdf_fitz_Device_FLAG_COLOR 2L
+#undef com_artifex_mupdf_fitz_Device_FLAG_UNCACHEABLE
+#define com_artifex_mupdf_fitz_Device_FLAG_UNCACHEABLE 4L
+#undef com_artifex_mupdf_fitz_Device_FLAG_FILLCOLOR_UNDEFINED
+#define com_artifex_mupdf_fitz_Device_FLAG_FILLCOLOR_UNDEFINED 8L
+#undef com_artifex_mupdf_fitz_Device_FLAG_STROKECOLOR_UNDEFINED
+#define com_artifex_mupdf_fitz_Device_FLAG_STROKECOLOR_UNDEFINED 16L
+#undef com_artifex_mupdf_fitz_Device_FLAG_STARTCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_Device_FLAG_STARTCAP_UNDEFINED 32L
+#undef com_artifex_mupdf_fitz_Device_FLAG_DASHCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_Device_FLAG_DASHCAP_UNDEFINED 64L
+#undef com_artifex_mupdf_fitz_Device_FLAG_ENDCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_Device_FLAG_ENDCAP_UNDEFINED 128L
+#undef com_artifex_mupdf_fitz_Device_FLAG_LINEJOIN_UNDEFINED
+#define com_artifex_mupdf_fitz_Device_FLAG_LINEJOIN_UNDEFINED 256L
+#undef com_artifex_mupdf_fitz_Device_FLAG_MITERLIMIT_UNDEFINED
+#define com_artifex_mupdf_fitz_Device_FLAG_MITERLIMIT_UNDEFINED 512L
+#undef com_artifex_mupdf_fitz_Device_FLAG_LINEWIDTH_UNDEFINED
+#define com_artifex_mupdf_fitz_Device_FLAG_LINEWIDTH_UNDEFINED 1024L
+#undef com_artifex_mupdf_fitz_Device_BLEND_NORMAL
+#define com_artifex_mupdf_fitz_Device_BLEND_NORMAL 0L
+#undef com_artifex_mupdf_fitz_Device_BLEND_MULTIPLY
+#define com_artifex_mupdf_fitz_Device_BLEND_MULTIPLY 1L
+#undef com_artifex_mupdf_fitz_Device_BLEND_SCREEN
+#define com_artifex_mupdf_fitz_Device_BLEND_SCREEN 2L
+#undef com_artifex_mupdf_fitz_Device_BLEND_OVERLAY
+#define com_artifex_mupdf_fitz_Device_BLEND_OVERLAY 3L
+#undef com_artifex_mupdf_fitz_Device_BLEND_DARKEN
+#define com_artifex_mupdf_fitz_Device_BLEND_DARKEN 4L
+#undef com_artifex_mupdf_fitz_Device_BLEND_LIGHTEN
+#define com_artifex_mupdf_fitz_Device_BLEND_LIGHTEN 5L
+#undef com_artifex_mupdf_fitz_Device_BLEND_COLOR_DODGE
+#define com_artifex_mupdf_fitz_Device_BLEND_COLOR_DODGE 6L
+#undef com_artifex_mupdf_fitz_Device_BLEND_COLOR_BURN
+#define com_artifex_mupdf_fitz_Device_BLEND_COLOR_BURN 7L
+#undef com_artifex_mupdf_fitz_Device_BLEND_HARD_LIGHT
+#define com_artifex_mupdf_fitz_Device_BLEND_HARD_LIGHT 8L
+#undef com_artifex_mupdf_fitz_Device_BLEND_SOFT_LIGHT
+#define com_artifex_mupdf_fitz_Device_BLEND_SOFT_LIGHT 9L
+#undef com_artifex_mupdf_fitz_Device_BLEND_DIFFERENCE
+#define com_artifex_mupdf_fitz_Device_BLEND_DIFFERENCE 10L
+#undef com_artifex_mupdf_fitz_Device_BLEND_EXCLUSION
+#define com_artifex_mupdf_fitz_Device_BLEND_EXCLUSION 11L
+#undef com_artifex_mupdf_fitz_Device_BLEND_HUE
+#define com_artifex_mupdf_fitz_Device_BLEND_HUE 12L
+#undef com_artifex_mupdf_fitz_Device_BLEND_SATURATION
+#define com_artifex_mupdf_fitz_Device_BLEND_SATURATION 13L
+#undef com_artifex_mupdf_fitz_Device_BLEND_COLOR
+#define com_artifex_mupdf_fitz_Device_BLEND_COLOR 14L
+#undef com_artifex_mupdf_fitz_Device_BLEND_LUMINOSITY
+#define com_artifex_mupdf_fitz_Device_BLEND_LUMINOSITY 15L
+#undef com_artifex_mupdf_fitz_Device_BLEND_MODEMASK
+#define com_artifex_mupdf_fitz_Device_BLEND_MODEMASK 15L
+#undef com_artifex_mupdf_fitz_Device_BLEND_ISOLATED
+#define com_artifex_mupdf_fitz_Device_BLEND_ISOLATED 16L
+#undef com_artifex_mupdf_fitz_Device_BLEND_KNOCKOUT
+#define com_artifex_mupdf_fitz_Device_BLEND_KNOCKOUT 32L
+#undef com_artifex_mupdf_fitz_Device_IGNORE_IMAGE
+#define com_artifex_mupdf_fitz_Device_IGNORE_IMAGE 1L
+#undef com_artifex_mupdf_fitz_Device_IGNORE_SHADE
+#define com_artifex_mupdf_fitz_Device_IGNORE_SHADE 2L
/*
* Class: com_artifex_mupdf_fitz_Device
* Method: finalize
@@ -510,70 +510,70 @@ JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_DisplayList_run
#ifdef __cplusplus
extern "C" {
#endif
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_MASK
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_MASK 1L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_COLOR
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_COLOR 2L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_UNCACHEABLE
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_UNCACHEABLE 4L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_FILLCOLOR_UNDEFINED
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_FILLCOLOR_UNDEFINED 8L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_STROKECOLOR_UNDEFINED
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_STROKECOLOR_UNDEFINED 16L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_STARTCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_STARTCAP_UNDEFINED 32L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_DASHCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_DASHCAP_UNDEFINED 64L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_ENDCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_ENDCAP_UNDEFINED 128L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_LINEJOIN_UNDEFINED
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_LINEJOIN_UNDEFINED 256L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_MITERLIMIT_UNDEFINED
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_MITERLIMIT_UNDEFINED 512L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_LINEWIDTH_UNDEFINED
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_DEVFLAG_LINEWIDTH_UNDEFINED 1024L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_NORMAL
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_NORMAL 0L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_MULTIPLY
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_MULTIPLY 1L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_SCREEN
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_SCREEN 2L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_OVERLAY
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_OVERLAY 3L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_DARKEN
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_DARKEN 4L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_LIGHTEN
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_LIGHTEN 5L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_COLOR_DODGE
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_COLOR_DODGE 6L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_COLOR_BURN
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_COLOR_BURN 7L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_HARD_LIGHT
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_HARD_LIGHT 8L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_SOFT_LIGHT
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_SOFT_LIGHT 9L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_DIFFERENCE
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_DIFFERENCE 10L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_EXCLUSION
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_EXCLUSION 11L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_HUE
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_HUE 12L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_SATURATION
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_SATURATION 13L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_COLOR
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_COLOR 14L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_LUMINOSITY
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_LUMINOSITY 15L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_MODEMASK
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_MODEMASK 15L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_ISOLATED
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_ISOLATED 16L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_KNOCKOUT
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_BLEND_KNOCKOUT 32L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_IGNORE_IMAGE
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_IGNORE_IMAGE 1L
-#undef com_artifex_mupdf_fitz_DisplayListDevice_FZ_IGNORE_SHADE
-#define com_artifex_mupdf_fitz_DisplayListDevice_FZ_IGNORE_SHADE 2L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_MASK
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_MASK 1L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_COLOR
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_COLOR 2L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_UNCACHEABLE
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_UNCACHEABLE 4L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_FILLCOLOR_UNDEFINED
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_FILLCOLOR_UNDEFINED 8L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_STROKECOLOR_UNDEFINED
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_STROKECOLOR_UNDEFINED 16L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_STARTCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_STARTCAP_UNDEFINED 32L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_DASHCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_DASHCAP_UNDEFINED 64L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_ENDCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_ENDCAP_UNDEFINED 128L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_LINEJOIN_UNDEFINED
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_LINEJOIN_UNDEFINED 256L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_MITERLIMIT_UNDEFINED
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_MITERLIMIT_UNDEFINED 512L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_FLAG_LINEWIDTH_UNDEFINED
+#define com_artifex_mupdf_fitz_DisplayListDevice_FLAG_LINEWIDTH_UNDEFINED 1024L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_NORMAL
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_NORMAL 0L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_MULTIPLY
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_MULTIPLY 1L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_SCREEN
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_SCREEN 2L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_OVERLAY
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_OVERLAY 3L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_DARKEN
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_DARKEN 4L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_LIGHTEN
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_LIGHTEN 5L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_COLOR_DODGE
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_COLOR_DODGE 6L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_COLOR_BURN
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_COLOR_BURN 7L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_HARD_LIGHT
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_HARD_LIGHT 8L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_SOFT_LIGHT
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_SOFT_LIGHT 9L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_DIFFERENCE
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_DIFFERENCE 10L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_EXCLUSION
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_EXCLUSION 11L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_HUE
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_HUE 12L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_SATURATION
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_SATURATION 13L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_COLOR
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_COLOR 14L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_LUMINOSITY
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_LUMINOSITY 15L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_MODEMASK
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_MODEMASK 15L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_ISOLATED
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_ISOLATED 16L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_BLEND_KNOCKOUT
+#define com_artifex_mupdf_fitz_DisplayListDevice_BLEND_KNOCKOUT 32L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_IGNORE_IMAGE
+#define com_artifex_mupdf_fitz_DisplayListDevice_IGNORE_IMAGE 1L
+#undef com_artifex_mupdf_fitz_DisplayListDevice_IGNORE_SHADE
+#define com_artifex_mupdf_fitz_DisplayListDevice_IGNORE_SHADE 2L
/*
* Class: com_artifex_mupdf_fitz_DisplayListDevice
* Method: newNative
@@ -767,70 +767,70 @@ JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_DocumentWriter_close
#ifdef __cplusplus
extern "C" {
#endif
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_MASK
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_MASK 1L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_COLOR
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_COLOR 2L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_UNCACHEABLE
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_UNCACHEABLE 4L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_FILLCOLOR_UNDEFINED
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_FILLCOLOR_UNDEFINED 8L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_STROKECOLOR_UNDEFINED
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_STROKECOLOR_UNDEFINED 16L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_STARTCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_STARTCAP_UNDEFINED 32L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_DASHCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_DASHCAP_UNDEFINED 64L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_ENDCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_ENDCAP_UNDEFINED 128L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_LINEJOIN_UNDEFINED
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_LINEJOIN_UNDEFINED 256L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_MITERLIMIT_UNDEFINED
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_MITERLIMIT_UNDEFINED 512L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_LINEWIDTH_UNDEFINED
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_DEVFLAG_LINEWIDTH_UNDEFINED 1024L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_NORMAL
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_NORMAL 0L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_MULTIPLY
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_MULTIPLY 1L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_SCREEN
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_SCREEN 2L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_OVERLAY
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_OVERLAY 3L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_DARKEN
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_DARKEN 4L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_LIGHTEN
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_LIGHTEN 5L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_COLOR_DODGE
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_COLOR_DODGE 6L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_COLOR_BURN
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_COLOR_BURN 7L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_HARD_LIGHT
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_HARD_LIGHT 8L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_SOFT_LIGHT
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_SOFT_LIGHT 9L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_DIFFERENCE
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_DIFFERENCE 10L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_EXCLUSION
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_EXCLUSION 11L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_HUE
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_HUE 12L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_SATURATION
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_SATURATION 13L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_COLOR
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_COLOR 14L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_LUMINOSITY
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_LUMINOSITY 15L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_MODEMASK
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_MODEMASK 15L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_ISOLATED
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_ISOLATED 16L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_KNOCKOUT
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_BLEND_KNOCKOUT 32L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_IGNORE_IMAGE
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_IGNORE_IMAGE 1L
-#undef com_artifex_mupdf_fitz_DrawDevice_FZ_IGNORE_SHADE
-#define com_artifex_mupdf_fitz_DrawDevice_FZ_IGNORE_SHADE 2L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_MASK
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_MASK 1L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_COLOR
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_COLOR 2L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_UNCACHEABLE
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_UNCACHEABLE 4L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_FILLCOLOR_UNDEFINED
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_FILLCOLOR_UNDEFINED 8L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_STROKECOLOR_UNDEFINED
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_STROKECOLOR_UNDEFINED 16L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_STARTCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_STARTCAP_UNDEFINED 32L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_DASHCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_DASHCAP_UNDEFINED 64L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_ENDCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_ENDCAP_UNDEFINED 128L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_LINEJOIN_UNDEFINED
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_LINEJOIN_UNDEFINED 256L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_MITERLIMIT_UNDEFINED
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_MITERLIMIT_UNDEFINED 512L
+#undef com_artifex_mupdf_fitz_DrawDevice_FLAG_LINEWIDTH_UNDEFINED
+#define com_artifex_mupdf_fitz_DrawDevice_FLAG_LINEWIDTH_UNDEFINED 1024L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_NORMAL
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_NORMAL 0L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_MULTIPLY
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_MULTIPLY 1L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_SCREEN
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_SCREEN 2L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_OVERLAY
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_OVERLAY 3L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_DARKEN
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_DARKEN 4L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_LIGHTEN
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_LIGHTEN 5L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_COLOR_DODGE
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_COLOR_DODGE 6L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_COLOR_BURN
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_COLOR_BURN 7L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_HARD_LIGHT
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_HARD_LIGHT 8L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_SOFT_LIGHT
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_SOFT_LIGHT 9L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_DIFFERENCE
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_DIFFERENCE 10L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_EXCLUSION
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_EXCLUSION 11L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_HUE
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_HUE 12L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_SATURATION
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_SATURATION 13L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_COLOR
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_COLOR 14L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_LUMINOSITY
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_LUMINOSITY 15L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_MODEMASK
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_MODEMASK 15L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_ISOLATED
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_ISOLATED 16L
+#undef com_artifex_mupdf_fitz_DrawDevice_BLEND_KNOCKOUT
+#define com_artifex_mupdf_fitz_DrawDevice_BLEND_KNOCKOUT 32L
+#undef com_artifex_mupdf_fitz_DrawDevice_IGNORE_IMAGE
+#define com_artifex_mupdf_fitz_DrawDevice_IGNORE_IMAGE 1L
+#undef com_artifex_mupdf_fitz_DrawDevice_IGNORE_SHADE
+#define com_artifex_mupdf_fitz_DrawDevice_IGNORE_SHADE 2L
/*
* Class: com_artifex_mupdf_fitz_DrawDevice
* Method: newNative
@@ -1046,70 +1046,70 @@ extern "C" {
#ifdef __cplusplus
extern "C" {
#endif
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_MASK
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_MASK 1L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_COLOR
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_COLOR 2L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_UNCACHEABLE
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_UNCACHEABLE 4L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_FILLCOLOR_UNDEFINED
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_FILLCOLOR_UNDEFINED 8L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_STROKECOLOR_UNDEFINED
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_STROKECOLOR_UNDEFINED 16L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_STARTCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_STARTCAP_UNDEFINED 32L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_DASHCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_DASHCAP_UNDEFINED 64L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_ENDCAP_UNDEFINED
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_ENDCAP_UNDEFINED 128L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_LINEJOIN_UNDEFINED
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_LINEJOIN_UNDEFINED 256L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_MITERLIMIT_UNDEFINED
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_MITERLIMIT_UNDEFINED 512L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_LINEWIDTH_UNDEFINED
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_DEVFLAG_LINEWIDTH_UNDEFINED 1024L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_NORMAL
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_NORMAL 0L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_MULTIPLY
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_MULTIPLY 1L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_SCREEN
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_SCREEN 2L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_OVERLAY
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_OVERLAY 3L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_DARKEN
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_DARKEN 4L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_LIGHTEN
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_LIGHTEN 5L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_COLOR_DODGE
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_COLOR_DODGE 6L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_COLOR_BURN
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_COLOR_BURN 7L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_HARD_LIGHT
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_HARD_LIGHT 8L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_SOFT_LIGHT
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_SOFT_LIGHT 9L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_DIFFERENCE
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_DIFFERENCE 10L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_EXCLUSION
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_EXCLUSION 11L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_HUE
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_HUE 12L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_SATURATION
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_SATURATION 13L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_COLOR
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_COLOR 14L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_LUMINOSITY
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_LUMINOSITY 15L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_MODEMASK
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_MODEMASK 15L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_ISOLATED
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_ISOLATED 16L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_KNOCKOUT
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_BLEND_KNOCKOUT 32L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_IGNORE_IMAGE
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_IGNORE_IMAGE 1L
-#undef com_artifex_mupdf_fitz_NativeDevice_FZ_IGNORE_SHADE
-#define com_artifex_mupdf_fitz_NativeDevice_FZ_IGNORE_SHADE 2L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_MASK
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_MASK 1L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_COLOR
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_COLOR 2L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_UNCACHEABLE
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_UNCACHEABLE 4L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_FILLCOLOR_UNDEFINED
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_FILLCOLOR_UNDEFINED 8L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_STROKECOLOR_UNDEFINED
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_STROKECOLOR_UNDEFINED 16L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_STARTCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_STARTCAP_UNDEFINED 32L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_DASHCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_DASHCAP_UNDEFINED 64L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_ENDCAP_UNDEFINED
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_ENDCAP_UNDEFINED 128L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_LINEJOIN_UNDEFINED
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_LINEJOIN_UNDEFINED 256L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_MITERLIMIT_UNDEFINED
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_MITERLIMIT_UNDEFINED 512L
+#undef com_artifex_mupdf_fitz_NativeDevice_FLAG_LINEWIDTH_UNDEFINED
+#define com_artifex_mupdf_fitz_NativeDevice_FLAG_LINEWIDTH_UNDEFINED 1024L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_NORMAL
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_NORMAL 0L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_MULTIPLY
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_MULTIPLY 1L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_SCREEN
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_SCREEN 2L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_OVERLAY
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_OVERLAY 3L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_DARKEN
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_DARKEN 4L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_LIGHTEN
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_LIGHTEN 5L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_COLOR_DODGE
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_COLOR_DODGE 6L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_COLOR_BURN
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_COLOR_BURN 7L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_HARD_LIGHT
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_HARD_LIGHT 8L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_SOFT_LIGHT
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_SOFT_LIGHT 9L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_DIFFERENCE
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_DIFFERENCE 10L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_EXCLUSION
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_EXCLUSION 11L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_HUE
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_HUE 12L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_SATURATION
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_SATURATION 13L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_COLOR
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_COLOR 14L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_LUMINOSITY
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_LUMINOSITY 15L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_MODEMASK
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_MODEMASK 15L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_ISOLATED
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_ISOLATED 16L
+#undef com_artifex_mupdf_fitz_NativeDevice_BLEND_KNOCKOUT
+#define com_artifex_mupdf_fitz_NativeDevice_BLEND_KNOCKOUT 32L
+#undef com_artifex_mupdf_fitz_NativeDevice_IGNORE_IMAGE
+#define com_artifex_mupdf_fitz_NativeDevice_IGNORE_IMAGE 1L
+#undef com_artifex_mupdf_fitz_NativeDevice_IGNORE_SHADE
+#define com_artifex_mupdf_fitz_NativeDevice_IGNORE_SHADE 2L
/*
* Class: com_artifex_mupdf_fitz_NativeDevice
* Method: finalize
@@ -2496,22 +2496,22 @@ JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_Shade_finalize
#ifdef __cplusplus
extern "C" {
#endif
-#undef com_artifex_mupdf_fitz_StrokeState_FZ_LINECAP_BUTT
-#define com_artifex_mupdf_fitz_StrokeState_FZ_LINECAP_BUTT 0L
-#undef com_artifex_mupdf_fitz_StrokeState_FZ_LINECAP_ROUND
-#define com_artifex_mupdf_fitz_StrokeState_FZ_LINECAP_ROUND 1L
-#undef com_artifex_mupdf_fitz_StrokeState_FZ_LINECAP_SQUARE
-#define com_artifex_mupdf_fitz_StrokeState_FZ_LINECAP_SQUARE 2L
-#undef com_artifex_mupdf_fitz_StrokeState_FZ_LINECAP_TRIANGLE
-#define com_artifex_mupdf_fitz_StrokeState_FZ_LINECAP_TRIANGLE 3L
-#undef com_artifex_mupdf_fitz_StrokeState_FZ_LINEJOIN_MITER
-#define com_artifex_mupdf_fitz_StrokeState_FZ_LINEJOIN_MITER 0L
-#undef com_artifex_mupdf_fitz_StrokeState_FZ_LINEJOIN_ROUND
-#define com_artifex_mupdf_fitz_StrokeState_FZ_LINEJOIN_ROUND 1L
-#undef com_artifex_mupdf_fitz_StrokeState_FZ_LINEJOIN_BEVEL
-#define com_artifex_mupdf_fitz_StrokeState_FZ_LINEJOIN_BEVEL 2L
-#undef com_artifex_mupdf_fitz_StrokeState_FZ_LINEJOIN_MITER_XPS
-#define com_artifex_mupdf_fitz_StrokeState_FZ_LINEJOIN_MITER_XPS 3L
+#undef com_artifex_mupdf_fitz_StrokeState_LINECAP_BUTT
+#define com_artifex_mupdf_fitz_StrokeState_LINECAP_BUTT 0L
+#undef com_artifex_mupdf_fitz_StrokeState_LINECAP_ROUND
+#define com_artifex_mupdf_fitz_StrokeState_LINECAP_ROUND 1L
+#undef com_artifex_mupdf_fitz_StrokeState_LINECAP_SQUARE
+#define com_artifex_mupdf_fitz_StrokeState_LINECAP_SQUARE 2L
+#undef com_artifex_mupdf_fitz_StrokeState_LINECAP_TRIANGLE
+#define com_artifex_mupdf_fitz_StrokeState_LINECAP_TRIANGLE 3L
+#undef com_artifex_mupdf_fitz_StrokeState_LINEJOIN_MITER
+#define com_artifex_mupdf_fitz_StrokeState_LINEJOIN_MITER 0L
+#undef com_artifex_mupdf_fitz_StrokeState_LINEJOIN_ROUND
+#define com_artifex_mupdf_fitz_StrokeState_LINEJOIN_ROUND 1L
+#undef com_artifex_mupdf_fitz_StrokeState_LINEJOIN_BEVEL
+#define com_artifex_mupdf_fitz_StrokeState_LINEJOIN_BEVEL 2L
+#undef com_artifex_mupdf_fitz_StrokeState_LINEJOIN_MITER_XPS
+#define com_artifex_mupdf_fitz_StrokeState_LINEJOIN_MITER_XPS 3L
/*
* Class: com_artifex_mupdf_fitz_StrokeState
* Method: finalize
diff --git a/platform/java/src/com/artifex/mupdf/fitz/Device.java b/platform/java/src/com/artifex/mupdf/fitz/Device.java
index 295226fe..bbb5ae3b 100644
--- a/platform/java/src/com/artifex/mupdf/fitz/Device.java
+++ b/platform/java/src/com/artifex/mupdf/fitz/Device.java
@@ -61,44 +61,44 @@ public class Device
public void endTile() {}
/* Flags */
- public static final int FZ_DEVFLAG_MASK = 1;
- public static final int FZ_DEVFLAG_COLOR = 2;
- public static final int FZ_DEVFLAG_UNCACHEABLE = 4;
- public static final int FZ_DEVFLAG_FILLCOLOR_UNDEFINED = 8;
- public static final int FZ_DEVFLAG_STROKECOLOR_UNDEFINED = 16;
- public static final int FZ_DEVFLAG_STARTCAP_UNDEFINED = 32;
- public static final int FZ_DEVFLAG_DASHCAP_UNDEFINED = 64;
- public static final int FZ_DEVFLAG_ENDCAP_UNDEFINED = 128;
- public static final int FZ_DEVFLAG_LINEJOIN_UNDEFINED = 256;
- public static final int FZ_DEVFLAG_MITERLIMIT_UNDEFINED = 512;
- public static final int FZ_DEVFLAG_LINEWIDTH_UNDEFINED = 1024;
+ public static final int FLAG_MASK = 1;
+ public static final int FLAG_COLOR = 2;
+ public static final int FLAG_UNCACHEABLE = 4;
+ public static final int FLAG_FILLCOLOR_UNDEFINED = 8;
+ public static final int FLAG_STROKECOLOR_UNDEFINED = 16;
+ public static final int FLAG_STARTCAP_UNDEFINED = 32;
+ public static final int FLAG_DASHCAP_UNDEFINED = 64;
+ public static final int FLAG_ENDCAP_UNDEFINED = 128;
+ public static final int FLAG_LINEJOIN_UNDEFINED = 256;
+ public static final int FLAG_MITERLIMIT_UNDEFINED = 512;
+ public static final int FLAG_LINEWIDTH_UNDEFINED = 1024;
/* PDF 1.4 -- standard separable */
- public static final int FZ_BLEND_NORMAL = 0;
- public static final int FZ_BLEND_MULTIPLY = 1;
- public static final int FZ_BLEND_SCREEN = 2;
- public static final int FZ_BLEND_OVERLAY = 3;
- public static final int FZ_BLEND_DARKEN = 4;
- public static final int FZ_BLEND_LIGHTEN = 5;
- public static final int FZ_BLEND_COLOR_DODGE = 6;
- public static final int FZ_BLEND_COLOR_BURN = 7;
- public static final int FZ_BLEND_HARD_LIGHT = 8;
- public static final int FZ_BLEND_SOFT_LIGHT = 9;
- public static final int FZ_BLEND_DIFFERENCE = 10;
- public static final int FZ_BLEND_EXCLUSION = 11;
+ public static final int BLEND_NORMAL = 0;
+ public static final int BLEND_MULTIPLY = 1;
+ public static final int BLEND_SCREEN = 2;
+ public static final int BLEND_OVERLAY = 3;
+ public static final int BLEND_DARKEN = 4;
+ public static final int BLEND_LIGHTEN = 5;
+ public static final int BLEND_COLOR_DODGE = 6;
+ public static final int BLEND_COLOR_BURN = 7;
+ public static final int BLEND_HARD_LIGHT = 8;
+ public static final int BLEND_SOFT_LIGHT = 9;
+ public static final int BLEND_DIFFERENCE = 10;
+ public static final int BLEND_EXCLUSION = 11;
/* PDF 1.4 -- standard non-separable */
- public static final int FZ_BLEND_HUE = 12;
- public static final int FZ_BLEND_SATURATION = 13;
- public static final int FZ_BLEND_COLOR = 14;
- public static final int FZ_BLEND_LUMINOSITY = 15;
+ public static final int BLEND_HUE = 12;
+ public static final int BLEND_SATURATION = 13;
+ public static final int BLEND_COLOR = 14;
+ public static final int BLEND_LUMINOSITY = 15;
/* For packing purposes */
- public static final int FZ_BLEND_MODEMASK = 15;
- public static final int FZ_BLEND_ISOLATED = 16;
- public static final int FZ_BLEND_KNOCKOUT = 32;
+ public static final int BLEND_MODEMASK = 15;
+ public static final int BLEND_ISOLATED = 16;
+ public static final int BLEND_KNOCKOUT = 32;
/* Device hints */
- public static final int FZ_IGNORE_IMAGE = 1;
- public static final int FZ_IGNORE_SHADE = 2;
+ public static final int IGNORE_IMAGE = 1;
+ public static final int IGNORE_SHADE = 2;
}
diff --git a/platform/java/src/com/artifex/mupdf/fitz/StrokeState.java b/platform/java/src/com/artifex/mupdf/fitz/StrokeState.java
index 7f333f76..c29291fc 100644
--- a/platform/java/src/com/artifex/mupdf/fitz/StrokeState.java
+++ b/platform/java/src/com/artifex/mupdf/fitz/StrokeState.java
@@ -2,15 +2,15 @@ package com.artifex.mupdf.fitz;
public class StrokeState
{
- public static final int FZ_LINECAP_BUTT = 0;
- public static final int FZ_LINECAP_ROUND = 1;
- public static final int FZ_LINECAP_SQUARE = 2;
- public static final int FZ_LINECAP_TRIANGLE = 3;
-
- public static final int FZ_LINEJOIN_MITER = 0;
- public static final int FZ_LINEJOIN_ROUND = 1;
- public static final int FZ_LINEJOIN_BEVEL = 2;
- public static final int FZ_LINEJOIN_MITER_XPS = 3;
+ public static final int LINECAP_BUTT = 0;
+ public static final int LINECAP_ROUND = 1;
+ public static final int LINECAP_SQUARE = 2;
+ public static final int LINECAP_TRIANGLE = 3;
+
+ public static final int LINEJOIN_MITER = 0;
+ public static final int LINEJOIN_ROUND = 1;
+ public static final int LINEJOIN_BEVEL = 2;
+ public static final int LINEJOIN_MITER_XPS = 3;
private long pointer;