Todo
DrawRect could be instrified
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv XRRenderer. | |
| pack-priv XRDrawLine | |
| pack-priv GrowableRectArray | |
| pack-priv MaskTileManager |
| 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.
|
| protected 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.
|
| 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.
|
| protected void | |
| private void | validateSurface(SunGraphics2D sg2d)
Common validate method, used by all XRRender functions to validate the destination context. |
| drawHandler | back to summary |
|---|---|
| pack-priv XRRenderer. | |
| lineGen | back to summary |
|---|---|
| pack-priv XRDrawLine lineGen | |
| rectBuffer | back to summary |
|---|---|
| pack-priv GrowableRectArray rectBuffer | |
| tileManager | back to summary |
|---|---|
| pack-priv MaskTileManager tileManager | |
| XRRenderer | back to summary |
|---|---|
| public XRRenderer(MaskTileManager tileManager) | |
| 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.
| |
| drawPath | back to summary |
|---|---|
| protected void drawPath(SunGraphics2D sg2d, Path2D. | |
| 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.
| |
| 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 |
|---|---|
| protected void fillSpans(SunGraphics2D sg2d, SpanIterator si, int transx, int transy) | |
| validateSurface | back to summary |
|---|---|
| private void validateSurface(SunGraphics2D sg2d) Common validate method, used by all XRRender functions to validate the destination context. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv DirtyRegion |
| 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.
|
| public void | |
| public void | drawScanline(int x1, int x2, int y)
Implements abstract sun.
|
| 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. |
| region | back to summary |
|---|---|
| pack-priv DirtyRegion region | |
| XRDrawHandler | back to summary |
|---|---|
| pack-priv XRDrawHandler() | |
| drawLine | back to summary |
|---|---|
| public void drawLine(int x1, int y1, int x2, int y2) Implements abstract sun.
| |
| 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.
| |
| 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. | |