public class

Renderer

extends LineSink
java.lang.Object
   ↳ sun.java2d.pisces.LineSink
     ↳ sun.java2d.pisces.Renderer

Summary

Constants
int DEFAULT_CROSSINGS_SIZE
int DEFAULT_INDICES_SIZE
int INITIAL_EDGES
int WIND_EVEN_ODD
int WIND_NON_ZERO
Public Constructors
Renderer()
Public Methods
void beginRendering(int boundsX, int boundsY, int boundsWidth, int boundsHeight)
void close()
Closes the current path by drawing a line from the current drawing position to the point specified by the moset recent moveTo command.
void end()
Ends the current path.
void endRendering()
void getBoundingBox(int[] bbox)
int getSubpixelLgPositionsX()
int getSubpixelLgPositionsY()
int getWindingRule()
void lineJoin()
Provides a hint that the current segment should be joined to the following segment using an explicit miter or round join if required.
void lineTo(int x1, int y1)
Draws a line from the current drawing position to the point (x1, y1) and sets the current drawing position to (x1, y1).
void moveTo(int x0, int y0)
Moves the current drawing position to the point (x0, y0).
void setAntialiasing(int subpixelLgPositionsX, int subpixelLgPositionsY)
void setCache(PiscesCache cache)
void setWindingRule(int windingRule)
[Expand]
Inherited Methods
From class sun.java2d.pisces.LineSink
From class java.lang.Object

Constants

public static final int DEFAULT_CROSSINGS_SIZE

Constant Value: 32768 (0x00008000)

public static final int DEFAULT_INDICES_SIZE

Constant Value: 8192 (0x00002000)

public static final int INITIAL_EDGES

Constant Value: 1000 (0x000003e8)

public static final int WIND_EVEN_ODD

Constant Value: 0 (0x00000000)

public static final int WIND_NON_ZERO

Constant Value: 1 (0x00000001)

Public Constructors

public Renderer ()

Public Methods

public void beginRendering (int boundsX, int boundsY, int boundsWidth, int boundsHeight)

public void close ()

Closes the current path by drawing a line from the current drawing position to the point specified by the moset recent moveTo command.

public void end ()

Ends the current path. It may be necessary to end a path in order to allow end caps to be drawn.

public void endRendering ()

public void getBoundingBox (int[] bbox)

public int getSubpixelLgPositionsX ()

public int getSubpixelLgPositionsY ()

public int getWindingRule ()

public void lineJoin ()

Provides a hint that the current segment should be joined to the following segment using an explicit miter or round join if required.

An application-generated path will generally have no need to contain calls to this method; they are typically introduced by a Flattener to mark segment divisions that appear in its input, and consumed by a Stroker that is responsible for emitting the miter or round join segments.

Other LineSink classes should simply pass this hint to their output sink as needed.

public void lineTo (int x1, int y1)

Draws a line from the current drawing position to the point (x1, y1) and sets the current drawing position to (x1, y1).

Parameters
x1 the X coordinate in S15.16 format
y1 the Y coordinate in S15.16 format

public void moveTo (int x0, int y0)

Moves the current drawing position to the point (x0, y0).

Parameters
x0 the X coordinate in S15.16 format
y0 the Y coordinate in S15.16 format

public void setAntialiasing (int subpixelLgPositionsX, int subpixelLgPositionsY)

public void setCache (PiscesCache cache)

public void setWindingRule (int windingRule)