Package com.artifex.mupdf.fitz
Class NativeDevice
java.lang.Object
com.artifex.mupdf.fitz.Device
com.artifex.mupdf.fitz.NativeDevice
- Direct Known Subclasses:
AndroidDrawDevice,DisplayListDevice,DrawDevice
-
Field Summary
Fields inherited from class com.artifex.mupdf.fitz.Device
BLEND_COLOR, BLEND_COLOR_BURN, BLEND_COLOR_DODGE, BLEND_DARKEN, BLEND_DIFFERENCE, BLEND_EXCLUSION, BLEND_HARD_LIGHT, BLEND_HUE, BLEND_LIGHTEN, BLEND_LUMINOSITY, BLEND_MULTIPLY, BLEND_NORMAL, BLEND_OVERLAY, BLEND_SATURATION, BLEND_SCREEN, BLEND_SOFT_LIGHT, DEVICE_FLAG_BBOX_DEFINED, DEVICE_FLAG_COLOR, DEVICE_FLAG_DASHCAP_UNDEFINED, DEVICE_FLAG_ENDCAP_UNDEFINED, DEVICE_FLAG_FILLCOLOR_UNDEFINED, DEVICE_FLAG_GRIDFIT_AS_TILED, DEVICE_FLAG_LINEJOIN_UNDEFINED, DEVICE_FLAG_LINEWIDTH_UNDEFINED, DEVICE_FLAG_MASK, DEVICE_FLAG_MITERLIMIT_UNDEFINED, DEVICE_FLAG_STARTCAP_UNDEFINED, DEVICE_FLAG_STROKECOLOR_UNDEFINED, DEVICE_FLAG_UNCACHEABLE, METATEXT_ABBREVIATION, METATEXT_ACTUALTEXT, METATEXT_ALT, METATEXT_TITLE, pointer, STRUCTURE_ANNOT, STRUCTURE_ART, STRUCTURE_ARTIFACT, STRUCTURE_ASIDE, STRUCTURE_BIBENTRY, STRUCTURE_BLOCKQUOTE, STRUCTURE_CAPTION, STRUCTURE_CODE, STRUCTURE_DIV, STRUCTURE_DOCUMENT, STRUCTURE_DOCUMENTFRAGMENT, STRUCTURE_EM, STRUCTURE_FENOTE, STRUCTURE_FIGURE, STRUCTURE_FORM, STRUCTURE_FORMULA, STRUCTURE_H, STRUCTURE_H1, STRUCTURE_H2, STRUCTURE_H3, STRUCTURE_H4, STRUCTURE_H5, STRUCTURE_H6, STRUCTURE_INDEX, STRUCTURE_INVALID, STRUCTURE_LABEL, STRUCTURE_LINK, STRUCTURE_LIST, STRUCTURE_LISTBODY, STRUCTURE_LISTITEM, STRUCTURE_NONSTRUCT, STRUCTURE_NOTE, STRUCTURE_P, STRUCTURE_PART, STRUCTURE_PRIVATE, STRUCTURE_QUOTE, STRUCTURE_RB, STRUCTURE_REFERENCE, STRUCTURE_RP, STRUCTURE_RT, STRUCTURE_RUBY, STRUCTURE_SECT, STRUCTURE_SPAN, STRUCTURE_STRONG, STRUCTURE_SUB, STRUCTURE_TABLE, STRUCTURE_TBODY, STRUCTURE_TD, STRUCTURE_TFOOT, STRUCTURE_TH, STRUCTURE_THEAD, STRUCTURE_TITLE, STRUCTURE_TOC, STRUCTURE_TOCI, STRUCTURE_TR, STRUCTURE_WARICHU, STRUCTURE_WP, STRUCTURE_WT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidbeginGroup(Rect rect, ColorSpace cs, boolean isolated, boolean knockout, int blendmode, float alpha) final voidbeginLayer(String name) final voidbeginMask(Rect rect, boolean luminosity, ColorSpace cs, float[] bc, int cp) final voidbeginMetatext(int meta, String text) final voidbeginStructure(int standard, String raw, int uid) final intfinal voidclipImageMask(Image img, Matrix ctm) final voidfinal voidclipStrokePath(Path path, StrokeState stroke, Matrix ctm) final voidclipStrokeText(Text text, StrokeState stroke, Matrix ctm) final voidfinal voidclose()voiddestroy()final voidendGroup()final voidendLayer()final voidendMask()final voidfinal voidfinal voidendTile()final voidfinal voidfillImageMask(Image img, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp) final voidfillPath(Path path, boolean evenOdd, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp) final voidfinal voidfillText(Text text, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp) protected voidfinalize()final voidignoreText(Text text, Matrix ctm) final voidpopClip()final voidrenderFlags(int set, int clear) final voidfinal voidstrokePath(Path path, StrokeState stroke, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp) final voidstrokeText(Text text, StrokeState stroke, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp)
-
Constructor Details
-
NativeDevice
protected NativeDevice(long p)
-
-
Method Details
-
finalize
protected void finalize() -
destroy
public void destroy() -
close
public final void close() -
fillPath
public final void fillPath(Path path, boolean evenOdd, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp) -
strokePath
public final void strokePath(Path path, StrokeState stroke, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp) - Specified by:
strokePathin classDevice
-
clipPath
-
clipStrokePath
- Specified by:
clipStrokePathin classDevice
-
fillText
public final void fillText(Text text, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp) -
strokeText
public final void strokeText(Text text, StrokeState stroke, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp) - Specified by:
strokeTextin classDevice
-
clipText
-
clipStrokeText
- Specified by:
clipStrokeTextin classDevice
-
ignoreText
- Specified by:
ignoreTextin classDevice
-
fillShade
-
fillImage
-
fillImageMask
public final void fillImageMask(Image img, Matrix ctm, ColorSpace cs, float[] color, float alpha, int cp) - Specified by:
fillImageMaskin classDevice
-
clipImageMask
- Specified by:
clipImageMaskin classDevice
-
popClip
public final void popClip() -
beginMask
-
endMask
public final void endMask() -
beginGroup
public final void beginGroup(Rect rect, ColorSpace cs, boolean isolated, boolean knockout, int blendmode, float alpha) - Specified by:
beginGroupin classDevice
-
endGroup
public final void endGroup() -
beginTile
-
endTile
public final void endTile() -
renderFlags
public final void renderFlags(int set, int clear) - Specified by:
renderFlagsin classDevice
-
setDefaultColorSpaces
- Specified by:
setDefaultColorSpacesin classDevice
-
beginLayer
- Specified by:
beginLayerin classDevice
-
endLayer
public final void endLayer() -
beginStructure
- Specified by:
beginStructurein classDevice
-
endStructure
public final void endStructure()- Specified by:
endStructurein classDevice
-
beginMetatext
- Specified by:
beginMetatextin classDevice
-
endMetatext
public final void endMetatext()- Specified by:
endMetatextin classDevice
-