| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract static class | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final boolean | |
| pack-priv static final boolean | |
| pack-priv static final boolean | |
| pack-priv static final boolean | |
| pack-priv static final boolean | |
| pack-priv static final double | |
| private static final float | |
| private static final ReentrantContextProvider | |
| pack-priv static final int | |
| private static boolean | |
| pack-priv static final double | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Shape | Returns: the widened path stored in a newShape objectthe source path to be widened src, float the width of the widened path as per width, int BasicStrokethe end cap decorations as per caps, int BasicStrokethe segment join decorations as per join, float BasicStrokethe miter limit as per miterlimit, float[] BasicStrokethe dash length array as per dashes, float BasicStrokethe initial dash phase as per dashphase)BasicStrokeImplements abstract sun. Create a widened path as specified by the parameters. |
| public AATileGenerator | Returns: theAATileGenerator instance to be consulted
for tile coverages, or null if there is no output to renderthe shape to be rendered (fill or draw) s, AffineTransform the transform to be applied to the shape and the
stroke attributes at, Region the current clip in effect in device coordinates clip, BasicStroke if non-null, a bs, boolean BasicStroke whose attributes
should be applied to this operationtrue if the transformed stroke attributes are smaller
than the minimum dropout pen width thin, boolean true if the normalize, int[] VALUE_STROKE_NORMALIZE
RenderingHint is in effectreturns the bounds of the iteration bbox)Implements abstract sun. Construct an antialiased tile generator for the given shape with the given rendering attributes and store the bounds of the tile iteration in the bbox parameter. |
| public AATileGenerator | getAATileGenerator(double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2, Region clip, int[] bbox)
Implements abstract sun. Construct an antialiased tile generator for the given parallelogram store the bounds of the tile iteration in the bbox parameter. |
| public float | getMinimumAAPenSize()
Implements abstract sun. Returns the minimum pen width that the antialiasing rasterizer can represent without dropouts occurring. |
| pack-priv static RendererContext | Returns: RendererContext instanceGet the RendererContext instance dedicated to the current thread |
| private static void | |
| private static boolean | |
| private static void | |
| private static void | |
| pack-priv static void | returnRendererContext(final RendererContext
RendererContext instance rdrCtx)Reset and return the given RendererContext instance for reuse |
| public void | strokeTo(Shape
the source path to be widened src, AffineTransform the transform to be applied to the shape and the
stroke attributes at, BasicStroke the bs, boolean BasicStroke object specifying the
decorations to be applied to the widened pathtrue if the transformed stroke attributes are smaller
than the minimum dropout pen width thin, boolean indicates whether stroke normalization should
be applied normalize, boolean indicates whether or not adjustments appropriate
to antialiased rendering should be applied antialias, final PathConsumer2D the consumer)PathConsumer2D instance to forward
the widened geometry toImplements abstract sun. Sends the geometry for a widened path as specified by the parameters to the specified consumer. |
| public void | strokeTo(Shape
the source path to be widened src, AffineTransform the transform to be applied to the shape and the
stroke attributes at, Region the current clip in effect in device coordinates clip, BasicStroke the bs, boolean BasicStroke object specifying the
decorations to be applied to the widened pathtrue if the transformed stroke attributes are smaller
than the minimum dropout pen width thin, boolean indicates whether stroke normalization should
be applied normalize, boolean indicates whether or not adjustments appropriate
to antialiased rendering should be applied antialias, final PathConsumer2D the consumer)PathConsumer2D instance to forward
the widened geometry toOverrides sun. Sends the geometry for a widened path as specified by the parameters to the specified consumer. |
| pack-priv void | strokeTo(final RendererContext rdrCtx, Shape src, AffineTransform at, BasicStroke bs, boolean thin, DMarlinRenderingEngine.
|
| pack-priv void | strokeTo(final RendererContext rdrCtx, Shape src, AffineTransform at, double width, DMarlinRenderingEngine.
|
| private double |
| DISABLE_2ND_STROKER_CLIPPING | back to summary |
|---|---|
| pack-priv static final boolean DISABLE_2ND_STROKER_CLIPPING | |
| DO_CLIP | back to summary |
|---|---|
| pack-priv static final boolean DO_CLIP | |
| DO_CLIP_FILL | back to summary |
|---|---|
| pack-priv static final boolean DO_CLIP_FILL | |
| DO_CLIP_RUNTIME_ENABLE | back to summary |
|---|---|
| pack-priv static final boolean DO_CLIP_RUNTIME_ENABLE | |
| DO_TRACE_PATH | back to summary |
|---|---|
| pack-priv static final boolean DO_TRACE_PATH | |
| LOWER_BND | back to summary |
|---|---|
| pack-priv static final double LOWER_BND | |
| MIN_PEN_SIZE | back to summary |
|---|---|
| private static final float MIN_PEN_SIZE | |
| RDR_CTX_PROVIDER | back to summary |
|---|---|
| private static final ReentrantContextProvider<RendererContext> RDR_CTX_PROVIDER | |
| REF_TYPE | back to summary |
|---|---|
| pack-priv static final int REF_TYPE | |
| SETTINGS_LOGGED | back to summary |
|---|---|
| private static boolean SETTINGS_LOGGED | |
| UPPER_BND | back to summary |
|---|---|
| pack-priv static final double UPPER_BND | |
| USE_THREAD_LOCAL | back to summary |
|---|---|
| private static final boolean USE_THREAD_LOCAL | |
| DMarlinRenderingEngine | back to summary |
|---|---|
| public DMarlinRenderingEngine() Public constructor | |
| createStrokedShape | back to summary |
|---|---|
| public Shape createStrokedShape(Shape src, float width, int caps, int join, float miterlimit, float[] dashes, float dashphase) Implements abstract sun. Create a widened path as specified by the parameters.
The specified
| |
| getAATileGenerator | back to summary |
|---|---|
| public AATileGenerator getAATileGenerator(Shape s, AffineTransform at, Region clip, BasicStroke bs, boolean thin, boolean normalize, int[] bbox) Implements abstract sun. Construct an antialiased tile generator for the given shape with
the given rendering attributes and store the bounds of the tile
iteration in the bbox parameter.
The
Upon returning, this method will fill the
for (y = bbox[1]; y < bbox[3]; y += tileheight) {
for (x = bbox[0]; x < bbox[2]; x += tilewidth) {
}
}
If there is no output to be rendered, this method may return
null.
| |
| getAATileGenerator | back to summary |
|---|---|
| public AATileGenerator getAATileGenerator(double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2, Region clip, int[] bbox) Implements abstract sun. Doc from sun. Construct an antialiased tile generator for the given parallelogram store the bounds of the tile iteration in the bbox parameter. The parallelogram is specified as a starting point and 2 delta vectors that indicate the slopes of the 2 pairs of sides of the parallelogram. The 4 corners of the parallelogram are defined by the 4 points:
lw1 and lw2 parameters provide a specification
for an optionally stroked parallelogram if they are positive numbers.
The lw1 parameter is the ratio of the length of the dx1,
dx2 delta vector to half of the line width in that same
direction.
The lw2 parameter provides the same ratio for the other delta
vector.
If lw1 and lw2 are both greater than zero, then
the parallelogram figure is doubled by both expanding and contracting
each delta vector by its corresponding lw value.
If either lw1 or lw2 are also greater than 1, then
the inner (contracted) parallelogram disappears and the figure is
simply a single expanded parallelogram.
The clip parameter specifies the current clip in effect
in device coordinates and can be used to prune the data for the
operation, but the renderer is not required to perform any
clipping.
Upon returning, this method will fill the
for (y = bbox[1]; y < bbox[3]; y += tileheight) {
for (x = bbox[0]; x < bbox[2]; x += tilewidth) {
}
}
If there is no output to be rendered, this method may return
null.
| |
| getMinimumAAPenSize | back to summary |
|---|---|
| public float getMinimumAAPenSize() Implements abstract sun. Returns the minimum pen width that the antialiasing rasterizer can represent without dropouts occurring.
| |
| getRendererContext | back to summary |
|---|---|
| pack-priv static RendererContext getRendererContext() Get the RendererContext instance dedicated to the current thread
| |
| logSettings | back to summary |
|---|---|
| private static void logSettings(final String reClass) | |
| nearZero | back to summary |
|---|---|
| private static boolean nearZero(final double num) | |
| pathTo | back to summary |
|---|---|
| private static void pathTo(final RendererContext rdrCtx, final PathIterator pi, DPathConsumer2D pc2d) | |
| pathToLoop | back to summary |
|---|---|
| private static void pathToLoop(final double[] coords, final PathIterator pi, final DPathConsumer2D pc2d) | |
| returnRendererContext | back to summary |
|---|---|
| pack-priv static void returnRendererContext(final RendererContext rdrCtx) Reset and return the given RendererContext instance for reuse
| |
| strokeTo | back to summary |
|---|---|
| public void strokeTo(Shape src, AffineTransform at, BasicStroke bs, boolean thin, boolean normalize, boolean antialias, final PathConsumer2D consumer) Implements abstract sun. Sends the geometry for a widened path as specified by the parameters to the specified consumer.
The specified
The geometry of the widened path is forwarded to the indicated
| |
| strokeTo | back to summary |
|---|---|
| public void strokeTo(Shape src, AffineTransform at, Region clip, BasicStroke bs, boolean thin, boolean normalize, boolean antialias, final PathConsumer2D consumer) Overrides sun. Sends the geometry for a widened path as specified by the parameters to the specified consumer.
The specified
The geometry of the widened path is forwarded to the indicated
| |
| strokeTo | back to summary |
|---|---|
| pack-priv void strokeTo(final RendererContext rdrCtx, Shape src, AffineTransform at, BasicStroke bs, boolean thin, DMarlinRenderingEngine. | |
| strokeTo | back to summary |
|---|---|
| pack-priv void strokeTo(final RendererContext rdrCtx, Shape src, AffineTransform at, double width, DMarlinRenderingEngine. | |
| userSpaceLineWidth | back to summary |
|---|---|
| private double userSpaceLineWidth(AffineTransform at, double lw) | |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private double | |
| private double | |
| private double | |
| private double | |
| private PathIterator | |
| private final double[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final int | currentSegment(final double[] coords)
Implements java. Returns the coordinates and type of the current path segment in the iteration. |
| public final int | currentSegment(final float[] coords)
Implements java. Returns the coordinates and type of the current path segment in the iteration. |
| pack-priv final void | |
| public final int | getWindingRule()
Implements java. Returns the winding rule for determining the interior of the path. |
| pack-priv final DMarlinRenderingEngine. | |
| public final boolean | |
| public final void | next()
Implements java. Moves the iterator to the next segment of the path forwards along the primary direction of traversal as long as there are more points in that direction. |
| pack-priv abstract double |
| curx_adjust | back to summary |
|---|---|
| private double curx_adjust | |
| cury_adjust | back to summary |
|---|---|
| private double cury_adjust | |
| movx_adjust | back to summary |
|---|---|
| private double movx_adjust | |
| movy_adjust | back to summary |
|---|---|
| private double movy_adjust | |
| src | back to summary |
|---|---|
| private PathIterator src | |
| tmp | back to summary |
|---|---|
| private final double[] tmp | |
| NormalizingPathIterator | back to summary |
|---|---|
| pack-priv NormalizingPathIterator(final double[] tmp) | |
| currentSegment | back to summary |
|---|---|
| public final int currentSegment(final double[] coords) Implements java. Doc from java. Returns the coordinates and type of the current path segment in the iteration. The return value is the path-segment type: SEG_MOVETO, SEG_LINETO, SEG_QUADTO, SEG_CUBICTO, or SEG_CLOSE. A double array of length 6 must be passed in and can be used to store the coordinates of the point(s). Each point is stored as a pair of double x,y coordinates. SEG_MOVETO and SEG_LINETO types returns one point, SEG_QUADTO returns two points, SEG_CUBICTO returns 3 points and SEG_CLOSE does not return any points.
| |
| currentSegment | back to summary |
|---|---|
| public final int currentSegment(final float[] coords) Implements java. Doc from java. Returns the coordinates and type of the current path segment in the iteration. The return value is the path-segment type: SEG_MOVETO, SEG_LINETO, SEG_QUADTO, SEG_CUBICTO, or SEG_CLOSE. A float array of length 6 must be passed in and can be used to store the coordinates of the point(s). Each point is stored as a pair of float x,y coordinates. SEG_MOVETO and SEG_LINETO types returns one point, SEG_QUADTO returns two points, SEG_CUBICTO returns 3 points and SEG_CLOSE does not return any points.
| |
| dispose | back to summary |
|---|---|
| pack-priv final void dispose() Disposes this path iterator: clean up before reusing this instance | |
| getWindingRule | back to summary |
|---|---|
| public final int getWindingRule() Implements java. Doc from java. Returns the winding rule for determining the interior of the path.
| |
| init | back to summary |
|---|---|
| pack-priv final DMarlinRenderingEngine. | |
| isDone | back to summary |
|---|---|
| public final boolean isDone() Implements java. Doc from java. Tests if the iteration is complete.
| |
| next | back to summary |
|---|---|
| public final void next() Implements java. Doc from java. Moves the iterator to the next segment of the path forwards along the primary direction of traversal as long as there are more points in that direction.
| |
| normCoord | back to summary |
|---|---|
| pack-priv abstract double normCoord(final double coord) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv double | normCoord(final double coord)
Implements abstract sun.
|
| NearestPixelCenter | back to summary |
|---|---|
| pack-priv NearestPixelCenter(final double[] tmp) | |
| normCoord | back to summary |
|---|---|
| pack-priv double normCoord(final double coord) Implements abstract sun.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv double | normCoord(final double coord)
Implements abstract sun.
|
| NearestPixelQuarter | back to summary |
|---|---|
| pack-priv NearestPixelQuarter(final double[] tmp) | |
| normCoord | back to summary |
|---|---|
| pack-priv double normCoord(final double coord) Implements abstract sun.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final DMarlinRenderingEngine. | |
| public static final DMarlinRenderingEngine. | |
| public static final DMarlinRenderingEngine. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract PathIterator | |
| public static DMarlinRenderingEngine. | |
| public static DMarlinRenderingEngine. |
| OFF | back to summary |
|---|---|
| public static final DMarlinRenderingEngine. | |
| ON_NO_AA | back to summary |
|---|---|
| public static final DMarlinRenderingEngine. | |
| ON_WITH_AA | back to summary |
|---|---|
| public static final DMarlinRenderingEngine. | |
| NormMode | back to summary |
|---|---|
| private NormMode() | |
| getNormalizingPathIterator | back to summary |
|---|---|
| pack-priv abstract PathIterator getNormalizingPathIterator(RendererContext rdrCtx, PathIterator src) | |
| valueOf | back to summary |
|---|---|
| public static DMarlinRenderingEngine. | |
| values | back to summary |
|---|---|
| public static DMarlinRenderingEngine. | |