| Modifier and Type | Field and Description |
|---|---|
| private static final double | |
| private boolean | |
| private int | |
| private double | |
| private double | |
| private double[] | |
| private static final int | |
| private double | |
| private double | |
| private int | |
| pack-priv final Curve | |
| private final TransformingPathConsumer2D. | |
| private double | |
| private double | |
| private static final int | |
| private double | |
| private static final double | |
| private static final int | |
| private double | |
| private int | |
| private double | |
| private final double[] | |
| private final double[] | |
| private double | |
| private boolean | |
| private static final int | |
| private final double[] | |
| private final double[] | |
| private final double[] | |
| private boolean | |
| private DPathConsumer2D | |
| private int | |
| pack-priv final RendererContext | |
| private final Helpers. | |
| private static final double | |
| private final double[] | |
| private double | |
| private double | |
| private double | |
| private double | |
| private int | |
| private static final double | |
| private boolean | |
| private double | |
| private double |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | _curveTo(final double x1, final double y1, final double x2, final double y2, final double x3, final double y3, final int outcode0)
|
| private void | |
| private void | |
| public void | |
| private static void | computeMiter(final double x0, final double y0, final double x1, final double y1, final double x0p, final double y0p, final double x1p, final double y1p, final double[] m)
|
| private static void | |
| private int | computeOffsetCubic(final double[] pts, final int off, final double[] leftOff, final double[] rightOff)
|
| private int | computeOffsetQuad(final double[] pts, final int off, final double[] leftOff, final double[] rightOff)
|
| public void | curveTo(final double x1, final double y1, final double x2, final double y2, final double x3, final double y3)
Implements sun.
|
| pack-priv void | |
| pack-priv void | |
| private void | drawBezApproxForArc(final double cx, final double cy, final double omx, final double omy, final double mx, final double my, boolean rev)
|
| private void | drawJoin(double pdx, double pdy, double x0, double y0, double dx, double dy, double omx, double omy, double mx, double my, final int outcode)
|
| private void | drawMiter(final double pdx, final double pdy, final double x0, final double y0, final double dx, final double dy, double omx, double omy, double mx, double my, boolean rev)
|
| private void | |
| private void | |
| private void | |
| private void | emitCurveTo(final double x1, final double y1, final double x2, final double y2, final double x3, final double y3)
|
| private void | emitCurveTo(final double x0, final double y0, final double x1, final double y1, final double x2, final double y2, final double x3, final double y3, final boolean rev)
|
| private void | emitCurveToRev(final double x0, final double y0, final double x1, final double y1, final double x2, final double y2)
|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private int | getLineOffsets(final double x1, final double y1, final double x2, final double y2, final double[] left, final double[] right)
|
| public long | getNativeConsumer()
Implements sun. If a given PathConsumer performs all or most of its work natively then it can return a (non-zero) pointer to a native function vector that defines C functions for all of the above methods. |
| pack-priv Stroker | Returns: this instancean output pc2d, final double DPathConsumer2D.the desired line width in pixels lineWidth, final int the desired end cap style, one of
capStyle, final int CAP_BUTT, CAP_ROUND or
CAP_SQUARE.the desired line join style, one of
joinStyle, final double JOIN_MITER, JOIN_ROUND or
JOIN_BEVEL.the desired miter limit miterLimit, final boolean true to indicate to subdivide curves, false if dasher does subdivideCurves)Inits the |
| private static boolean | |
| public void | |
| private void | |
| public void | |
| public void | pathDone()
Implements sun. Called after the last segment of the last subpath when the iteration of the path segments is completely done. |
| public void | quadTo(final double x1, final double y1, final double x2, final double y2)
Implements sun.
|
| private static void | safeComputeMiter(final double x0, final double y0, final double x1, final double y1, final double x0p, final double y0p, final double x1p, final double y1p, final double[] m)
|
| public void | setStartFlag(boolean first)
Implements sun.
|
| C | back to summary |
|---|---|
| private static final double C | |
| capStart | back to summary |
|---|---|
| private boolean capStart | |
| capStyle | back to summary |
|---|---|
| private int capStyle | |
| cdx | back to summary |
|---|---|
| private double cdx | |
| cdy | back to summary |
|---|---|
| private double cdy | |
| clipRect | back to summary |
|---|---|
| private double[] clipRect | |
| CLOSE | back to summary |
|---|---|
| private static final int CLOSE | |
| cmx | back to summary |
|---|---|
| private double cmx | |
| cmy | back to summary |
|---|---|
| private double cmy | |
| cOutCode | back to summary |
|---|---|
| private int cOutCode | |
| curve | back to summary |
|---|---|
| pack-priv final Curve curve | |
| curveSplitter | back to summary |
|---|---|
| private final TransformingPathConsumer2D. | |
| cx0 | back to summary |
|---|---|
| private double cx0 | |
| cy0 | back to summary |
|---|---|
| private double cy0 | |
| DRAWING_OP_TO | back to summary |
|---|---|
| private static final int DRAWING_OP_TO | |
| invHalfLineWidth2Sq | back to summary |
|---|---|
| private double invHalfLineWidth2Sq | |
| JOIN_ERROR | back to summary |
|---|---|
| private static final double JOIN_ERROR | |
| JOIN_STYLE | back to summary |
|---|---|
| private static final int JOIN_STYLE | |
| joinLimitMinSq | back to summary |
|---|---|
| private double joinLimitMinSq | |
| joinStyle | back to summary |
|---|---|
| private int joinStyle | |
| lineWidth2 | back to summary |
|---|---|
| private double lineWidth2 | |
| lp | back to summary |
|---|---|
| private final double[] lp | |
| miter | back to summary |
|---|---|
| private final double[] miter | |
| miterLimitSq | back to summary |
|---|---|
| private double miterLimitSq | |
| monotonize | back to summary |
|---|---|
| private boolean monotonize | |
| MOVE_TO | back to summary |
|---|---|
| private static final int MOVE_TO | |
| offset0 | back to summary |
|---|---|
| private final double[] offset0 | |
| offset1 | back to summary |
|---|---|
| private final double[] offset1 | |
| offset2 | back to summary |
|---|---|
| private final double[] offset2 | |
| opened | back to summary |
|---|---|
| private boolean opened | |
| out | back to summary |
|---|---|
| private DPathConsumer2D out | |
| prev | back to summary |
|---|---|
| private int prev | |
| rdrCtx | back to summary |
|---|---|
| pack-priv final RendererContext rdrCtx | |
| reverse | back to summary |
|---|---|
| private final Helpers. | |
| ROUND_JOIN_ERROR | back to summary |
|---|---|
| private static final double ROUND_JOIN_ERROR | |
| rp | back to summary |
|---|---|
| private final double[] rp | |
| sdx | back to summary |
|---|---|
| private double sdx | |
| sdy | back to summary |
|---|---|
| private double sdy | |
| smx | back to summary |
|---|---|
| private double smx | |
| smy | back to summary |
|---|---|
| private double smy | |
| sOutCode | back to summary |
|---|---|
| private int sOutCode | |
| SQRT_2 | back to summary |
|---|---|
| private static final double SQRT_2 | |
| subdivide | back to summary |
|---|---|
| private boolean subdivide | |
| sx0 | back to summary |
|---|---|
| private double sx0 | |
| sy0 | back to summary |
|---|---|
| private double sy0 | |
| Stroker | back to summary |
|---|---|
| pack-priv Stroker(final RendererContext rdrCtx) Constructs a
| |
| _curveTo | back to summary |
|---|---|
| private void _curveTo(final double x1, final double y1, final double x2, final double y2, final double x3, final double y3, final int outcode0) | |
| _moveTo | back to summary |
|---|---|
| private void _moveTo(final double x0, final double y0, final int outcode) | |
| _quadTo | back to summary |
|---|---|
| private void _quadTo(final double x1, final double y1, final double x2, final double y2, final int outcode0) | |
| closePath | back to summary |
|---|---|
| public void closePath() Implements sun.
| |
| computeMiter | back to summary |
|---|---|
| private static void computeMiter(final double x0, final double y0, final double x1, final double y1, final double x0p, final double y0p, final double x1p, final double y1p, final double[] m) | |
| computeOffset | back to summary |
|---|---|
| private static void computeOffset(final double lx, final double ly, final double w, final double[] m) | |
| computeOffsetCubic | back to summary |
|---|---|
| private int computeOffsetCubic(final double[] pts, final int off, final double[] leftOff, final double[] rightOff) | |
| computeOffsetQuad | back to summary |
|---|---|
| private int computeOffsetQuad(final double[] pts, final int off, final double[] leftOff, final double[] rightOff) | |
| curveTo | back to summary |
|---|---|
| public void curveTo(final double x1, final double y1, final double x2, final double y2, final double x3, final double y3) Implements sun.
| |
| disableClipping | back to summary |
|---|---|
| pack-priv void disableClipping() | |
| dispose | back to summary |
|---|---|
| pack-priv void dispose() Disposes this stroker: clean up before reusing this instance | |
| drawBezApproxForArc | back to summary |
|---|---|
| private void drawBezApproxForArc(final double cx, final double cy, final double omx, final double omy, final double mx, final double my, boolean rev) | |
| drawJoin | back to summary |
|---|---|
| private void drawJoin(double pdx, double pdy, double x0, double y0, double dx, double dy, double omx, double omy, double mx, double my, final int outcode) | |
| drawMiter | back to summary |
|---|---|
| private void drawMiter(final double pdx, final double pdy, final double x0, final double y0, final double dx, final double dy, double omx, double omy, double mx, double my, boolean rev) | |
| drawRoundCap | back to summary |
|---|---|
| private void drawRoundCap(double cx, double cy, double mx, double my) | |
| drawRoundJoin | back to summary |
|---|---|
| private void drawRoundJoin(double cx, double cy, double omx, double omy, double mx, double my, boolean rev) | |
| emitClose | back to summary |
|---|---|
| private void emitClose() | |
| emitCurveTo | back to summary |
|---|---|
| private void emitCurveTo(final double x1, final double y1, final double x2, final double y2, final double x3, final double y3) | |
| emitCurveTo | back to summary |
|---|---|
| private void emitCurveTo(final double x0, final double y0, final double x1, final double y1, final double x2, final double y2, final double x3, final double y3, final boolean rev) | |
| emitCurveToRev | back to summary |
|---|---|
| private void emitCurveToRev(final double x0, final double y0, final double x1, final double y1, final double x2, final double y2) | |
| emitLineTo | back to summary |
|---|---|
| private void emitLineTo(final double x1, final double y1) | |
| emitLineTo | back to summary |
|---|---|
| private void emitLineTo(final double x1, final double y1, final boolean rev) | |
| emitLineToRev | back to summary |
|---|---|
| private void emitLineToRev(final double x1, final double y1) | |
| emitMoveTo | back to summary |
|---|---|
| private void emitMoveTo(final double x0, final double y0) | |
| emitQuadTo | back to summary |
|---|---|
| private void emitQuadTo(final double x1, final double y1, final double x2, final double y2) | |
| emitQuadToRev | back to summary |
|---|---|
| private void emitQuadToRev(final double x0, final double y0, final double x1, final double y1) | |
| emitReverse | back to summary |
|---|---|
| private void emitReverse() | |
| finish | back to summary |
|---|---|
| private void finish(final int outcode) | |
| getLineOffsets | back to summary |
|---|---|
| private int getLineOffsets(final double x1, final double y1, final double x2, final double y2, final double[] left, final double[] right) | |
| getNativeConsumer | back to summary |
|---|---|
| public long getNativeConsumer() Implements sun. Doc from sun. If a given PathConsumer performs all or most of its work natively then it can return a (non-zero) pointer to a native function vector that defines C functions for all of the above methods. The specific pointer it returns is a pointer to a PathConsumerVec structure as defined in the include file src/share/native/sun/java2d/pipe/PathConsumer2D.h
| |
| init | back to summary |
|---|---|
| pack-priv Stroker init(final DPathConsumer2D pc2d, final double lineWidth, final int capStyle, final int joinStyle, final double miterLimit, final boolean subdivideCurves) Inits the
| |
| isCW | back to summary |
|---|---|
| private static boolean isCW(final double dx1, final double dy1, final double dx2, final double dy2) | |
| lineTo | back to summary |
|---|---|
| public void lineTo(final double x1, final double y1) Implements sun.
| |
| mayDrawRoundJoin | back to summary |
|---|---|
| private void mayDrawRoundJoin(double cx, double cy, double omx, double omy, double mx, double my, boolean rev) | |
| moveTo | back to summary |
|---|---|
| public void moveTo(final double x0, final double y0) Implements sun.
| |
| pathDone | back to summary |
|---|---|
| public void pathDone() Implements sun. Doc from sun. 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
| |
| quadTo | back to summary |
|---|---|
| public void quadTo(final double x1, final double y1, final double x2, final double y2) Implements sun.
| |
| safeComputeMiter | back to summary |
|---|---|
| private static void safeComputeMiter(final double x0, final double y0, final double x1, final double y1, final double x0p, final double y0p, final double x1p, final double y1p, final double[] m) | |
| setStartFlag | back to summary |
|---|---|
| public void setStartFlag(boolean first) Implements sun.
| |