APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.java2d.opengl

pack-priv Class OGLRenderer

extends BufferedRenderPipe
Class Inheritance
Known Direct Subclasses
sun.java2d.opengl.OGLRenderer.Tracer
Imports
java.awt.Transparency, java.awt.geom.Path2D, sun.java2d.SunGraphics2D, .SurfaceData, sun.java2d.loops.GraphicsPrimitive, sun.java2d.pipe.BufferedRenderPipe, .ParallelogramPipe, .RenderQueue, .SpanIterator

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Inherited from sun.java2d.pipe.BufferedRenderPipe:
bufrq

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy)

protected native void
drawPoly(int[] xPoints, int[] yPoints, int nPoints, boolean isClosed, int transX, int transY)

Implements abstract sun.java2d.pipe.BufferedRenderPipe.drawPoly.

pack-priv OGLRenderer
protected void
validateContext(SunGraphics2D sg2d)

Implements abstract sun.java2d.pipe.BufferedRenderPipe.validateContext.

Validates the state in the provided SunGraphics2D object and sets up any special resources for this operation (e.g. enabling gradient shading).

protected void
Inherited from sun.java2d.pipe.BufferedRenderPipe:
drawdrawArcdrawLinedrawOvaldrawParallelogramdrawPathdrawPolydrawPolygondrawPolylinedrawRectdrawRoundRectfillfillArcfillOvalfillParallelogramfillPathfillPolygonfillRectfillRoundRectfillSpansgetAAParallelogramPipe

Constructor Detail

OGLRendererback to summary
pack-priv OGLRenderer(RenderQueue rq)

Method Detail

copyAreaback to summary
pack-priv void copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy)
drawPolyback to summary
protected native void drawPoly(int[] xPoints, int[] yPoints, int nPoints, boolean isClosed, int transX, int transY)

Implements abstract sun.java2d.pipe.BufferedRenderPipe.drawPoly.

Annotations
@Override
traceWrapback to summary
pack-priv OGLRenderer traceWrap()
validateContextback to summary
protected void validateContext(SunGraphics2D sg2d)

Implements abstract sun.java2d.pipe.BufferedRenderPipe.validateContext.

Doc from sun.java2d.pipe.BufferedRenderPipe.validateContext.

Validates the state in the provided SunGraphics2D object and sets up any special resources for this operation (e.g. enabling gradient shading).

Annotations
@Override
validateContextAAback to summary
protected void validateContextAA(SunGraphics2D sg2d)

Implements abstract sun.java2d.pipe.BufferedRenderPipe.validateContextAA.

Annotations
@Override
sun.java2d.opengl back to summary

private Class OGLRenderer.Tracer

extends OGLRenderer
Class Inheritance

Field Summary

Modifier and TypeField and Description
private OGLRenderer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy)

Overrides sun.java2d.opengl.OGLRenderer.copyArea.

public void
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)

Overrides sun.java2d.pipe.BufferedRenderPipe.drawParallelogram.

Implements sun.java2d.pipe.ParallelogramPipe.drawParallelogram.

Draw a Parallelogram with the indicated line widths assuming a standard BasicStroke with MITER joins.

protected void
drawPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy)

Overrides sun.java2d.pipe.BufferedRenderPipe.drawPath.

protected void
drawPoly(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints, boolean isClosed)

Overrides sun.java2d.pipe.BufferedRenderPipe.drawPoly.

public void
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)

Overrides sun.java2d.pipe.BufferedRenderPipe.fillParallelogram.

Implements sun.java2d.pipe.ParallelogramPipe.fillParallelogram.

protected void
fillPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy)

Overrides sun.java2d.pipe.BufferedRenderPipe.fillPath.

public void
protected void
public ParallelogramPipe
protected void
validateContext(SunGraphics2D sg2d)

Overrides sun.java2d.opengl.OGLRenderer.validateContext.

Validates the state in the provided SunGraphics2D object and sets up any special resources for this operation (e.g. enabling gradient shading).

Inherited from sun.java2d.opengl.OGLRenderer:
drawPolytraceWrapvalidateContextAA

Field Detail

oglrback to summary
private OGLRenderer oglr

Constructor Detail

Tracerback to summary
pack-priv Tracer(OGLRenderer oglr)

Method Detail

copyAreaback to summary
public void copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy)

Overrides sun.java2d.opengl.OGLRenderer.copyArea.

drawLineback to summary
public void drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2)

Overrides sun.java2d.pipe.BufferedRenderPipe.drawLine.

Implements sun.java2d.pipe.PixelDrawPipe.drawLine.

drawParallelogramback 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)

Overrides sun.java2d.pipe.BufferedRenderPipe.drawParallelogram.

Implements sun.java2d.pipe.ParallelogramPipe.drawParallelogram.

Doc from sun.java2d.pipe.ParallelogramPipe.drawParallelogram.

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.

drawPathback to summary
protected void drawPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy)

Overrides sun.java2d.pipe.BufferedRenderPipe.drawPath.

drawPolyback to summary
protected void drawPoly(SunGraphics2D sg2d, int[] xPoints, int[] yPoints, int nPoints, boolean isClosed)

Overrides sun.java2d.pipe.BufferedRenderPipe.drawPoly.

drawRectback to summary
public void drawRect(SunGraphics2D sg2d, int x, int y, int w, int h)

Overrides sun.java2d.pipe.BufferedRenderPipe.drawRect.

Implements sun.java2d.pipe.PixelDrawPipe.drawRect.

fillParallelogramback 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)

Overrides sun.java2d.pipe.BufferedRenderPipe.fillParallelogram.

Implements sun.java2d.pipe.ParallelogramPipe.fillParallelogram.

fillPathback to summary
protected void fillPath(SunGraphics2D sg2d, Path2D.Float p2df, int transx, int transy)

Overrides sun.java2d.pipe.BufferedRenderPipe.fillPath.

fillRectback to summary
public void fillRect(SunGraphics2D sg2d, int x, int y, int w, int h)

Overrides sun.java2d.pipe.BufferedRenderPipe.fillRect.

Implements sun.java2d.pipe.PixelFillPipe.fillRect.

fillSpansback to summary
protected void fillSpans(SunGraphics2D sg2d, SpanIterator si, int transx, int transy)

Overrides sun.java2d.pipe.BufferedRenderPipe.fillSpans.

getAAParallelogramPipeback to summary
public ParallelogramPipe getAAParallelogramPipe()

Overrides sun.java2d.pipe.BufferedRenderPipe.getAAParallelogramPipe.

validateContextback to summary
protected void validateContext(SunGraphics2D sg2d)

Overrides sun.java2d.opengl.OGLRenderer.validateContext.

Doc from sun.java2d.pipe.BufferedRenderPipe.validateContext.

Validates the state in the provided SunGraphics2D object and sets up any special resources for this operation (e.g. enabling gradient shading).