public class NativePiscesRasterizer extends java.lang.Object implements ShapeRasterizer
Modifier and Type | Field and Description |
---|---|
private int[] |
bounds |
private java.nio.ByteBuffer |
cachedBuffer |
private MaskData |
cachedData |
private byte[] |
cachedMask |
private static MaskData |
emptyData |
private boolean |
firstTimeAASetting |
private boolean |
lastAntialiasedShape |
private static byte |
SEG_CLOSE |
private static byte |
SEG_CUBICTO |
private static byte |
SEG_LINETO |
private static byte |
SEG_MOVETO |
private static byte |
SEG_QUADTO |
Constructor and Description |
---|
NativePiscesRasterizer() |
Modifier and Type | Method and Description |
---|---|
MaskData |
getMaskData(Shape shape,
BasicStroke stroke,
RectBounds xformBounds,
BaseTransform xform,
boolean close,
boolean antialiasedShape) |
(package private) static void |
init(int subpixelLgPositionsX,
int subpixelLgPositionsY) |
(package private) static void |
produceFillAlphas(float[] coords,
byte[] commands,
int nsegs,
boolean nonzero,
double mxx,
double mxy,
double mxt,
double myx,
double myy,
double myt,
int[] bounds,
byte[] mask) |
(package private) static void |
produceStrokeAlphas(float[] coords,
byte[] commands,
int nsegs,
float lw,
int cap,
int join,
float mlimit,
float[] dashes,
float dashoff,
double mxx,
double mxy,
double mxt,
double myx,
double myy,
double myt,
int[] bounds,
byte[] mask) |
private static MaskData emptyData
private static final byte SEG_MOVETO
private static final byte SEG_LINETO
private static final byte SEG_QUADTO
private static final byte SEG_CUBICTO
private static final byte SEG_CLOSE
private byte[] cachedMask
private java.nio.ByteBuffer cachedBuffer
private MaskData cachedData
private int[] bounds
private boolean lastAntialiasedShape
private boolean firstTimeAASetting
static void init(int subpixelLgPositionsX, int subpixelLgPositionsY)
static void produceFillAlphas(float[] coords, byte[] commands, int nsegs, boolean nonzero, double mxx, double mxy, double mxt, double myx, double myy, double myt, int[] bounds, byte[] mask)
static void produceStrokeAlphas(float[] coords, byte[] commands, int nsegs, float lw, int cap, int join, float mlimit, float[] dashes, float dashoff, double mxx, double mxy, double mxt, double myx, double myy, double myt, int[] bounds, byte[] mask)
public MaskData getMaskData(Shape shape, BasicStroke stroke, RectBounds xformBounds, BaseTransform xform, boolean close, boolean antialiasedShape)
getMaskData
in interface ShapeRasterizer