APIdia Launch Partner
Top Fields Constructors Methods
com.sun.marlin

public final Class RendererNoAA

extends Object
implements MarlinRenderer, MarlinConst
Class Inheritance
All Implemented Interfaces
com.sun.marlin.MarlinConst, com.sun.marlin.MarlinRenderer, com.sun.marlin.DPathConsumer2D
Static Imports
com.sun.marlin.OffHeapArray.SIZE_INT

Field Summary

Modifier and TypeField and Description
private int
private static final int
private int[]
private final ArrayCacheIntClean.Reference
private int[]
private final ArrayCacheInt.Reference
private int[]
private final ArrayCacheInt.Reference
private int
private int
private int
private int
pack-priv int
pack-priv int
pack-priv int
pack-priv int
private int[]
private final ArrayCacheIntClean.Reference
private int
private int
private int
private int
private int
private int
private int[]
private final ArrayCacheInt.Reference
private static final int
private static final int
private static final int
public static final int
public static final double
private static final double
public static final double
private static final double
private static final double
private static final double
private static final double
private final Curve
pack-priv static final boolean
private int[]
private final ArrayCacheIntClean.Reference
private int[]
private final ArrayCacheIntClean.Reference
private int
private double
private int
private double
private int
private int[]
private final ArrayCacheInt.Reference
private final OffHeapArray
private boolean
private static final int
public static final long
public static final long
public static final long
public static final long
public static final long
public static final long
private static final double
private boolean
public static final double
private static final double
private static final double
private static final double
pack-priv final RendererContext
public static final int
private double
private double
pack-priv boolean
private int
private double
private double

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
_endRendering(final int ymin, final int ymax, final MarlinAlphaConsumer ac)

private void
addLine(double x1, double y1, double x2, double y2)

public void
pack-priv void
copyAARow(final int[] alphaRow, final int pix_y, final int pix_from, final int pix_to, final boolean useBlockFlags, final MarlinAlphaConsumer ac)

private void
curveBreakIntoLinesAndAdd(double x0, double y0, final Curve c, final double x3, final double y3)

public void
curveTo(final double pix_x1, final double pix_y1, final double pix_x2, final double pix_y2, final double pix_x3, final double pix_y3)

Implements com.sun.marlin.DPathConsumer2D.curveTo.

public void
dispose()

Implements com.sun.marlin.MarlinRenderer.dispose.

Disposes this renderer and recycle it clean up before reusing this instance

pack-priv void
public double
public double
public int
public int
public int
public int
public RendererNoAA
init(final int pix_boundsX, final int pix_boundsY, final int pix_boundsWidth, final int pix_boundsHeight, final int windingRule)

Implements com.sun.marlin.MarlinRenderer.init.

pack-priv void
initConsumer(int minx, int miny, int maxx, int maxy)

public void
lineTo(final double pix_x1, final double pix_y1)

Implements com.sun.marlin.DPathConsumer2D.lineTo.

public void
moveTo(final double pix_x0, final double pix_y0)

Implements com.sun.marlin.DPathConsumer2D.moveTo.

public void
pathDone()

Implements com.sun.marlin.DPathConsumer2D.pathDone.

Called after the last segment of the last subpath when the iteration of the path segments is completely done.

public void
private void
quadBreakIntoLinesAndAdd(double x0, double y0, final Curve c, final double x2, final double y2)

public void
quadTo(final double pix_x1, final double pix_y1, final double pix_x2, final double pix_y2)

Implements com.sun.marlin.DPathConsumer2D.quadTo.

private static double
tosubpixx(final double pix_x)

private static double
tosubpixy(final double pix_y)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

activeEdgeMaxUsedback to summary
private int activeEdgeMaxUsed
ALL_BUT_LSBback to summary
private static final int ALL_BUT_LSB
alphaLineback to summary
private int[] alphaLine
alphaLine_refback to summary
private final ArrayCacheIntClean.Reference alphaLine_ref
aux_crossingsback to summary
private int[] aux_crossings
aux_crossings_refback to summary
private final ArrayCacheInt.Reference aux_crossings_ref
aux_edgePtrsback to summary
private int[] aux_edgePtrs
aux_edgePtrs_refback to summary
private final ArrayCacheInt.Reference aux_edgePtrs_ref
bbox_spmaxXback to summary
private int bbox_spmaxX
bbox_spmaxYback to summary
private int bbox_spmaxY
bbox_spminXback to summary
private int bbox_spminX
bbox_spminYback to summary
private int bbox_spminY
bboxX0back to summary
pack-priv int bboxX0
bboxX1back to summary
pack-priv int bboxX1
bboxY0back to summary
pack-priv int bboxY0
bboxY1back to summary
pack-priv int bboxY1
blkFlagsback to summary
private int[] blkFlags
blkFlags_refback to summary
private final ArrayCacheIntClean.Reference blkFlags_ref
boundsMaxXback to summary
private int boundsMaxX
boundsMaxYback to summary
private int boundsMaxY
boundsMinXback to summary
private int boundsMinX
boundsMinYback to summary
private int boundsMinY
buckets_maxYback to summary
private int buckets_maxY
buckets_minYback to summary
private int buckets_minY
crossingsback to summary
private int[] crossings
crossings_refback to summary
private final ArrayCacheInt.Reference crossings_ref
CUB_COUNTback to summary
private static final int CUB_COUNT
CUB_COUNT_2back to summary
private static final int CUB_COUNT_2
CUB_COUNT_3back to summary
private static final int CUB_COUNT_3
CUB_COUNT_LGback to summary
public static final int CUB_COUNT_LG
CUB_DEC_BNDback to summary
public static final double CUB_DEC_BND
CUB_DEC_ERR_SUBPIXback to summary
private static final double CUB_DEC_ERR_SUBPIX
CUB_INC_BNDback to summary
public static final double CUB_INC_BND
CUB_INC_ERR_SUBPIXback to summary
private static final double CUB_INC_ERR_SUBPIX
CUB_INV_COUNTback to summary
private static final double CUB_INV_COUNT
CUB_INV_COUNT_2back to summary
private static final double CUB_INV_COUNT_2
CUB_INV_COUNT_3back to summary
private static final double CUB_INV_COUNT_3
curveback to summary
private final Curve curve
DISABLE_RENDERback to summary
pack-priv static final boolean DISABLE_RENDER
edgeBucketCountsback to summary
private int[] edgeBucketCounts
edgeBucketCounts_refback to summary
private final ArrayCacheIntClean.Reference edgeBucketCounts_ref
edgeBucketsback to summary
private int[] edgeBuckets
edgeBuckets_refback to summary
private final ArrayCacheIntClean.Reference edgeBuckets_ref
edgeCountback to summary
private int edgeCount
edgeMaxXback to summary
private double edgeMaxX
edgeMaxYback to summary
private int edgeMaxY
edgeMinXback to summary
private double edgeMinX
edgeMinYback to summary
private int edgeMinY
edgePtrsback to summary
private int[] edgePtrs
edgePtrs_refback to summary
private final ArrayCacheInt.Reference edgePtrs_ref
edgesback to summary
private final OffHeapArray edges
enableBlkFlagsback to summary
private boolean enableBlkFlags
ERR_STEP_MAXback to summary
private static final int ERR_STEP_MAX
OFF_BUMP_ERRback to summary
public static final long OFF_BUMP_ERR
OFF_BUMP_Xback to summary
public static final long OFF_BUMP_X
OFF_CURX_ORback to summary
public static final long OFF_CURX_OR
OFF_ERRORback to summary
public static final long OFF_ERROR
OFF_NEXTback to summary
public static final long OFF_NEXT
OFF_YMAXback to summary
public static final long OFF_YMAX
POWER_2_TO_32back to summary
private static final double POWER_2_TO_32
prevUseBlkFlagsback to summary
private boolean prevUseBlkFlags
QUAD_DEC_BNDback to summary
public static final double QUAD_DEC_BND
QUAD_DEC_ERR_SUBPIXback to summary
private static final double QUAD_DEC_ERR_SUBPIX
RDR_OFFSET_Xback to summary
private static final double RDR_OFFSET_X
RDR_OFFSET_Yback to summary
private static final double RDR_OFFSET_Y
rdrCtxback to summary
pack-priv final RendererContext rdrCtx
SIZEOF_EDGE_BYTESback to summary
public static final int SIZEOF_EDGE_BYTES
sx0back to summary
private double sx0
sy0back to summary
private double sy0
useRLEback to summary
pack-priv boolean useRLE
windingRuleback to summary
private int windingRule
x0back to summary
private double x0
y0back to summary
private double y0

Constructor Detail

RendererNoAAback to summary
pack-priv RendererNoAA(final RendererContext rdrCtx)

Method Detail

_endRenderingback to summary
private void _endRendering(final int ymin, final int ymax, final MarlinAlphaConsumer ac)
addLineback to summary
private void addLine(double x1, double y1, double x2, double y2)
closePathback to summary
public void closePath()

Implements com.sun.marlin.DPathConsumer2D.closePath.

Annotations
@Override
copyAARowback to summary
pack-priv void copyAARow(final int[] alphaRow, final int pix_y, final int pix_from, final int pix_to, final boolean useBlockFlags, final MarlinAlphaConsumer ac)
curveBreakIntoLinesAndAddback to summary
private void curveBreakIntoLinesAndAdd(double x0, double y0, final Curve c, final double x3, final double y3)
curveToback to summary
public void curveTo(final double pix_x1, final double pix_y1, final double pix_x2, final double pix_y2, final double pix_x3, final double pix_y3)

Implements com.sun.marlin.DPathConsumer2D.curveTo.

Annotations
@Override
disposeback to summary
public void dispose()

Implements com.sun.marlin.MarlinRenderer.dispose.

Disposes this renderer and recycle it clean up before reusing this instance

Annotations
@Override
endRenderingback to summary
pack-priv void endRendering()
getOffsetXback to summary
public double getOffsetX()

Implements com.sun.marlin.MarlinRenderer.getOffsetX.

Annotations
@Override
getOffsetYback to summary
public double getOffsetY()

Implements com.sun.marlin.MarlinRenderer.getOffsetY.

Annotations
@Override
getOutpixMaxXback to summary
public int getOutpixMaxX()

Implements com.sun.marlin.MarlinRenderer.getOutpixMaxX.

Annotations
@Override
getOutpixMaxYback to summary
public int getOutpixMaxY()

Implements com.sun.marlin.MarlinRenderer.getOutpixMaxY.

Annotations
@Override
getOutpixMinXback to summary
public int getOutpixMinX()

Implements com.sun.marlin.MarlinRenderer.getOutpixMinX.

Annotations
@Override
getOutpixMinYback to summary
public int getOutpixMinY()

Implements com.sun.marlin.MarlinRenderer.getOutpixMinY.

Annotations
@Override
initback to summary
public RendererNoAA init(final int pix_boundsX, final int pix_boundsY, final int pix_boundsWidth, final int pix_boundsHeight, final int windingRule)

Implements com.sun.marlin.MarlinRenderer.init.

Annotations
@Override
initConsumerback to summary
pack-priv void initConsumer(int minx, int miny, int maxx, int maxy)
lineToback to summary
public void lineTo(final double pix_x1, final double pix_y1)

Implements com.sun.marlin.DPathConsumer2D.lineTo.

Annotations
@Override
moveToback to summary
public void moveTo(final double pix_x0, final double pix_y0)

Implements com.sun.marlin.DPathConsumer2D.moveTo.

Annotations
@Override
pathDoneback to summary
public void pathDone()

Implements com.sun.marlin.DPathConsumer2D.pathDone.

Doc from com.sun.marlin.DPathConsumer2D.pathDone.

Called after the last segment of the last subpath when the iteration of the path segments is completely done. This method serves to trigger the end of path processing in the consumer that would normally be triggered when a PathIterator returns true from its done method.

Annotations
@Override
produceAlphasback to summary
public void produceAlphas(final MarlinAlphaConsumer ac)

Implements com.sun.marlin.MarlinRenderer.produceAlphas.

Annotations
@Override
quadBreakIntoLinesAndAddback to summary
private void quadBreakIntoLinesAndAdd(double x0, double y0, final Curve c, final double x2, final double y2)
quadToback to summary
public void quadTo(final double pix_x1, final double pix_y1, final double pix_x2, final double pix_y2)

Implements com.sun.marlin.DPathConsumer2D.quadTo.

Annotations
@Override
tosubpixxback to summary
private static double tosubpixx(final double pix_x)
tosubpixyback to summary
private static double tosubpixy(final double pix_y)