APIdia Launch Partner
Top Description Fields Constructors Methods
sun.java2d.loops

public final Class GeneralRenderer

Additional top-level classes in compilation unit: SetFillRectANY, PixelWriterDrawHandler, SetFillPathANY, SetFillSpansANY, SetDrawLineANY, SetDrawPolygonsANY, SetDrawPathANY, SetDrawRectANY, XorFillRectANY, XorFillPathANY, XorFillSpansANY, XorDrawLineANY, XorDrawPolygonsANY, XorDrawPathANY, XorDrawRectANY, XorDrawGlyphListANY, XorDrawGlyphListAAANY, PixelWriter, SolidPixelWriter, XorPixelWriter.

extends Object
Class Inheritance
Imports
java.awt.image.WritableRaster, .DataBuffer, .ColorModel, java.awt.geom.Path2D, sun.java2d.pipe.Region, .SpanIterator, sun.java2d.SunGraphics2D, .SurfaceData, sun.java2d.loops.ProcessPath, sun.font.GlyphList

GeneralRenderer collection Basically, a collection of components which permit basic rendering to occur on rasters of any format

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
adjustLine(int[] boundPts, int cxmin, int cymin, int cx2, int cy2)

pack-priv static PixelWriter
pack-priv static PixelWriter
pack-priv static void
doDrawGlyphList(SurfaceData sData, PixelWriter pw, GlyphList gl, int fromGlyph, int toGlyph, Region clip)

pack-priv static int[]
doDrawLine(SurfaceData sData, PixelWriter pw, int[] boundPts, Region clip, int origx1, int origy1, int origx2, int origy2)

pack-priv static void
doDrawPoly(SurfaceData sData, PixelWriter pw, int[] xPoints, int[] yPoints, int off, int nPoints, Region clip, int transx, int transy, boolean close)

public static void
doDrawRect(PixelWriter pw, SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h)

pack-priv static void
doSetRect(SurfaceData sData, PixelWriter pw, int x1, int y1, int x2, int y2)

pack-priv static int
outcode(int x, int y, int xmin, int ymin, int xmax, int ymax)

public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

OUTCODE_BOTTOMback to summary
pack-priv static final int OUTCODE_BOTTOM
OUTCODE_LEFTback to summary
pack-priv static final int OUTCODE_LEFT
OUTCODE_RIGHTback to summary
pack-priv static final int OUTCODE_RIGHT
OUTCODE_TOPback to summary
pack-priv static final int OUTCODE_TOP

Constructor Detail

GeneralRendererback to summary
public GeneralRenderer()

Method Detail

adjustLineback to summary
public static boolean adjustLine(int[] boundPts, int cxmin, int cymin, int cx2, int cy2)
createSolidPixelWriterback to summary
pack-priv static PixelWriter createSolidPixelWriter(SunGraphics2D sg2d, SurfaceData sData)
createXorPixelWriterback to summary
pack-priv static PixelWriter createXorPixelWriter(SunGraphics2D sg2d, SurfaceData sData)
doDrawGlyphListback to summary
pack-priv static void doDrawGlyphList(SurfaceData sData, PixelWriter pw, GlyphList gl, int fromGlyph, int toGlyph, Region clip)
doDrawLineback to summary
pack-priv static int[] doDrawLine(SurfaceData sData, PixelWriter pw, int[] boundPts, Region clip, int origx1, int origy1, int origx2, int origy2)
doDrawPolyback to summary
pack-priv static void doDrawPoly(SurfaceData sData, PixelWriter pw, int[] xPoints, int[] yPoints, int off, int nPoints, Region clip, int transx, int transy, boolean close)
doDrawRectback to summary
public static void doDrawRect(PixelWriter pw, SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h)
doSetRectback to summary
pack-priv static void doSetRect(SurfaceData sData, PixelWriter pw, int x1, int y1, int x2, int y2)
outcodeback to summary
pack-priv static int outcode(int x, int y, int xmin, int ymin, int xmax, int ymax)
registerback to summary
public static void register()