Modifier and Type | Class and Description |
---|---|
private class | |
private class |
Modifier and Type | Field and Description |
---|---|
pack-priv ParallelogramPipe | |
protected RenderBuffer | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
private BufferedRenderPipe. | |
protected RenderQueue |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle)
Implements sun.
|
public void | drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2)
Implements sun.
|
public void | drawOval(SunGraphics2D sg2d, int x, int y, int width, int height)
Implements sun.
|
public void | drawParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2)
Implements sun. Draw a Parallelogram with the indicated line widths assuming a standard BasicStroke with MITER joins. |
protected void | |
protected void | drawPoly(final SunGraphics2D sg2d, final int[] xPoints, final int[] yPoints, final int nPoints, final boolean isClosed)
|
protected abstract void | |
public void | drawPolygon(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints)
Implements sun.
|
public void | drawPolyline(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints)
Implements sun.
|
public void | drawRect(SunGraphics2D sg2d, int x, int y, int width, int height)
Implements sun.
|
public void | drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight)
Implements sun.
|
public void | |
public void | fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle)
Implements sun.
|
public void | fillOval(SunGraphics2D sg2d, int x, int y, int width, int height)
Implements sun.
|
public void | fillParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2)
Implements sun.
|
protected void | |
public void | fillPolygon(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints)
Implements sun.
|
public void | fillRect(SunGraphics2D sg2d, int x, int y, int width, int height)
Implements sun.
|
public void | fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight)
Implements sun.
|
private native int | fillSpans(RenderQueue rq, long buf, int pos, int limit, SpanIterator si, long iterator, int transx, int transy)
|
protected void | |
public ParallelogramPipe | |
protected abstract void | validateContext(SunGraphics2D sg2d)
Validates the state in the provided SunGraphics2D object and sets up any special resources for this operation (e.g. enabling gradient shading). |
protected abstract void |
aapgrampipe | back to summary |
---|---|
pack-priv ParallelogramPipe aapgrampipe |
buf | back to summary |
---|---|
protected RenderBuffer buf |
BYTES_PER_POLY_POINT | back to summary |
---|---|
pack-priv static final int BYTES_PER_POLY_POINT |
BYTES_PER_SCANLINE | back to summary |
---|---|
pack-priv static final int BYTES_PER_SCANLINE |
BYTES_PER_SPAN | back to summary |
---|---|
pack-priv static final int BYTES_PER_SPAN |
drawHandler | back to summary |
---|---|
private BufferedRenderPipe. |
rq | back to summary |
---|---|
protected RenderQueue rq |
BufferedRenderPipe | back to summary |
---|---|
public BufferedRenderPipe(RenderQueue rq) |
draw | back to summary |
---|---|
public void draw(SunGraphics2D sg2d, Shape s) Implements sun. |
drawArc | back to summary |
---|---|
public void drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) Implements sun. |
drawLine | back to summary |
---|---|
public void drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) Implements sun. |
drawOval | back to summary |
---|---|
public void drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) Implements sun. |
drawParallelogram | back to summary |
---|---|
public void drawParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2) Implements sun. Doc from sun. Draw a Parallelogram with the indicated line widths assuming a standard BasicStroke with MITER joins. lw1 specifies the width of the stroke along the dx1,dy1 vector and lw2 specifies the width of the stroke along the dx2,dy2 vector. This is equivalent to outsetting the indicated parallelogram by lw/2 pixels, then insetting the same parallelogram by lw/2 pixels and filling the difference between the outer and inner parallelograms. |
drawPath | back to summary |
---|---|
protected void drawPath(SunGraphics2D sg2d, Path2D. |
drawPoly | back to summary |
---|---|
protected void drawPoly(final SunGraphics2D sg2d, final int[] xPoints, final int[] yPoints, final int nPoints, final boolean isClosed) |
drawPoly | back to summary |
---|---|
protected abstract void drawPoly(int[] xPoints, int[] yPoints, int nPoints, boolean isClosed, int transX, int transY) |
drawPolygon | back to summary |
---|---|
public void drawPolygon(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints) Implements sun. |
drawPolyline | back to summary |
---|---|
public void drawPolyline(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints) Implements sun. |
drawRect | back to summary |
---|---|
public void drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) Implements sun. |
drawRoundRect | back to summary |
---|---|
public void drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) Implements sun. |
fill | back to summary |
---|---|
public void fill(SunGraphics2D sg2d, Shape s) Implements sun. |
fillArc | back to summary |
---|---|
public void fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) Implements sun. |
fillOval | back to summary |
---|---|
public void fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) Implements sun. |
fillParallelogram | back to summary |
---|---|
public void fillParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2) Implements sun. |
fillPath | back to summary |
---|---|
protected void fillPath(SunGraphics2D sg2d, Path2D. |
fillPolygon | back to summary |
---|---|
public void fillPolygon(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints) Implements sun. |
fillRect | back to summary |
---|---|
public void fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) Implements sun. |
fillRoundRect | back to summary |
---|---|
public void fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) Implements sun. |
fillSpans | back to summary |
---|---|
private native int fillSpans(RenderQueue rq, long buf, int pos, int limit, SpanIterator si, long iterator, int transx, int transy) |
fillSpans | back to summary |
---|---|
protected void fillSpans(SunGraphics2D sg2d, SpanIterator si, int transx, int transy) |
getAAParallelogramPipe | back to summary |
---|---|
public ParallelogramPipe getAAParallelogramPipe() |
validateContext | back to summary |
---|---|
protected abstract void validateContext(SunGraphics2D sg2d) Validates the state in the provided SunGraphics2D object and sets up any special resources for this operation (e.g. enabling gradient shading). |
validateContextAA | back to summary |
---|---|
protected abstract void validateContextAA(SunGraphics2D sg2d) |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public void | drawParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2)
Implements sun. Draw a Parallelogram with the indicated line widths assuming a standard BasicStroke with MITER joins. |
public void | fillParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2)
Implements sun.
|
AAParallelogramPipe | back to summary |
---|---|
private AAParallelogramPipe() |
drawParallelogram | back to summary |
---|---|
public void drawParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2) Implements sun. Doc from sun. Draw a Parallelogram with the indicated line widths assuming a standard BasicStroke with MITER joins. lw1 specifies the width of the stroke along the dx1,dy1 vector and lw2 specifies the width of the stroke along the dx2,dy2 vector. This is equivalent to outsetting the indicated parallelogram by lw/2 pixels, then insetting the same parallelogram by lw/2 pixels and filling the difference between the outer and inner parallelograms. |
fillParallelogram | back to summary |
---|---|
public void fillParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double x, double y, double dx1, double dy1, double dx2, double dy2) Implements sun. |
Modifier and Type | Field and Description |
---|---|
private int | |
private int | scanlineCount
fillPath() support... |
private int |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | drawLine(int x1, int y1, int x2, int y2)
Implements abstract sun. drawPath() support... |
public void | |
public void | drawScanline(int x1, int x2, int y)
Implements abstract sun.
|
public void | |
private void | |
public void | startFillPath()
Called from fillPath() to indicate that we are about to start issuing drawScanline() calls. |
private void | |
pack-priv void | validate(SunGraphics2D sg2d)
This method needs to be called prior to each draw/fillPath() operation to ensure the clip bounds are up to date. |
remainingScanlines | back to summary |
---|---|
private int remainingScanlines |
scanlineCount | back to summary |
---|---|
private int scanlineCount fillPath() support... |
scanlineCountIndex | back to summary |
---|---|
private int scanlineCountIndex |
BufferedDrawHandler | back to summary |
---|---|
pack-priv BufferedDrawHandler() |
drawLine | back to summary |
---|---|
public void drawLine(int x1, int y1, int x2, int y2) Implements abstract sun. drawPath() support... |
drawPixel | back to summary |
---|---|
public void drawPixel(int x, int y) Implements abstract sun. |
drawScanline | back to summary |
---|---|
public void drawScanline(int x1, int x2, int y) Implements abstract sun. |
endFillPath | back to summary |
---|---|
public void endFillPath() Called from fillPath() to indicate that we are done issuing drawScanline() calls. |
resetFillPath | back to summary |
---|---|
private void resetFillPath() |
startFillPath | back to summary |
---|---|
public void startFillPath() Called from fillPath() to indicate that we are about to start issuing drawScanline() calls. |
updateScanlineCount | back to summary |
---|---|
private void updateScanlineCount() |
validate | back to summary |
---|---|
pack-priv void validate(SunGraphics2D sg2d) This method needs to be called prior to each draw/fillPath() operation to ensure the clip bounds are up to date. |