sun.java2d.pipe |
|
Java Source File Name | Type | Comment |
AAShapePipe.java | Class | This class is used to convert raw geometry into 8-bit alpha tiles
using an AATileGenerator for application by the next stage of
the pipeline. |
AATextRenderer.java | Class | A delegate pipe of SG2D for drawing anti-aliased text with
a solid source colour to an opaque destination. |
AATileGenerator.java | Interface | The API for an object that generates alpha coverage tiles for a given
path. |
AlphaColorPipe.java | Class | This class implements a CompositePipe that renders path alpha tiles
into a destination that supports direct alpha compositing of a solid
color, according to one of the rules in the AlphaComposite class. |
AlphaPaintPipe.java | Class | This class implements a CompositePipe that renders path alpha tiles
into a destination according to the Composite attribute of a
SunGraphics2D. |
BufferedBufImgOps.java | Class | |
BufferedContext.java | Class | Base context class for managing state in a single-threaded rendering
environment. |
BufferedMaskBlit.java | Class | The MaskBlit operation is expressed as:
dst = ((src dst) * pathA) + (dst * (1 - pathA))
The OGL/D3D implementation of the MaskBlit operation differs from the above
equation because it is not possible to perform such a complex operation in
OpenGL/Direct3D (without the use of advanced techniques like fragment
shaders and multitexturing). |
BufferedMaskFill.java | Class | The MaskFill operation is expressed as:
dst = ((src dst) * pathA) + (dst * (1 - pathA))
The OGL/D3D implementation of the MaskFill operation differs from the above
equation because it is not possible to perform such a complex operation in
OpenGL/Direct3D (without the use of advanced techniques like fragment
shaders and multitexturing). |
BufferedOpCodes.java | Class | |
BufferedPaints.java | Class | |
BufferedRenderPipe.java | Class | Base class for enqueuing rendering operations in a single-threaded
rendering environment. |
BufferedTextPipe.java | Class | |
CompositePipe.java | Interface | This interface defines the set of calls used by a rendering pipeline
based on an AATileGenerator to communicate the alpha tile sequence
to the output (compositing) stages of the pipeline. |
DrawImage.java | Class | |
DrawImagePipe.java | Interface | This interface defines the set of calls that pipeline objects
can use to pass on responsibility for performing various
image copy commands.
There are 3 types of image copies handled by this class:
- copyImage: These methods simply copy the pixels
from the src to dest, either from (0, 0) (implicit)
or from a given (sx, sy) location.
- scaleImage: These methods copy from src to dest while
scaling the source image. |
GeneralCompositePipe.java | Class | |
GlyphListLoopPipe.java | Class | A delegate pipe of SG2D which implements redispatching of
for the src mode loops in the drawGlyphVector case where
the installed loop may not match the glyphvector. |
GlyphListPipe.java | Class | A delegate pipe of SG2D for drawing text. |
LCDTextRenderer.java | Class | A delegate pipe of SG2D for drawing LCD text with
a solid source colour to an opaque destination. |
LoopPipe.java | Class | |
NullPipe.java | Class | This is a class that implements all of the basic pixel rendering
methods as NOPs.
This class is useful for installing as the pipeline when the
clip is determined to be empty or when the composite operation is
determined to have no effect (i.e. |
OutlineTextRenderer.java | Class | A delegate pipe of SG2D for drawing "large" text with
a solid source colour to an opaque destination. |
PixelDrawPipe.java | Interface | This interface defines the set of calls that pipeline objects
can use to pass on responsibility for drawing various basic
geometric figures defined by explicit integer coordinates. |
PixelFillPipe.java | Interface | This interface defines the set of calls that pipeline objects
can use to pass on responsibility for filling various basic
geometric figures defined by explicit integer coordinates. |
PixelToShapeConverter.java | Class | This class converts calls to the basic pixel rendering methods
into calls to a generic Shape rendering pipeline. |
Region.java | Class | This class encapsulates a definition of a two dimensional region which
consists of a number of Y ranges each containing multiple X bands.
A rectangular Region is allowed to have a null band list in which
case the rectangular shape is defined by the bounding box parameters
(lox, loy, hix, hiy).
The band list, if present, consists of a list of rows in ascending Y
order, ending at endIndex which is the index beyond the end of the
last row. |
RegionClipSpanIterator.java | Class | This class clips a SpanIterator to a Region and outputs the
resulting spans as another SpanIterator.
Spans are output in the usual y/x order, unless the input span
iterator doesn't conform to this order, or the iterator's span
straddle more than one band of the Region used for clipping.
Principle of operation:
The iterator maintains a several cursors onto the RegionIterator
in order to avoid having to buffer spans from the SpanIterator.
They are:
resetState The initial state of the RegionIterator
lwm Low Water Mark, a running start point for
processing each band. |
RegionIterator.java | Class | This class defines the API for iterating through the bands
of a region object. |
RegionSpanIterator.java | Class | This class implements the ShapeIterator interface for a Region. |
RenderBuffer.java | Class | The RenderBuffer class is a simplified, high-performance, Unsafe wrapper
used for buffering rendering operations in a single-threaded rendering
environment. |
RenderingEngine.java | Class | This class abstracts a number of features for which the Java 2D
implementation relies on proprietary licensed software libraries.
Access to those features is now achieved by retrieving the singleton
instance of this class and calling the appropriate methods on it.
The 3 primary features abstracted here include:
- Shape createStrokedShape(Shape, [BasicStroke attributes]);
- This method implements the functionality of the method of the
same name on the
BasicStroke class.
- void strokeTo(Shape, [rendering parameters], PathConsumer2D);
- This method performs widening of the source path on the fly
and sends the results to the given
PathConsumer2D object.
This procedure avoids having to create an intermediate Shape
object to hold the results of the
createStrokedShape method.
The main user of this method is the Java 2D non-antialiasing renderer.
- AATileGenerator getAATileGenerator(Shape, [rendering parameters]);
- This method returns an object which can iterate over the
specified bounding box and produce tiles of coverage values for
antialiased rendering.
|
RenderQueue.java | Class | The RenderQueue class encapsulates a RenderBuffer on which rendering
operations are enqueued. |
ShapeDrawPipe.java | Interface | This interface defines the set of calls that pipeline objects
can use to pass on responsibility for drawing generic Shape
objects. |
ShapeSpanIterator.java | Class | This class can iterate individual span elements generated by scan
converting a Shape.
This particular implementation flattens the incoming path and then
performs simple polygon tracing to calculate the spans.
Note that this class holds pointers to native data which must be
disposed. |
SolidTextRenderer.java | Class | A delegate pipe of SG2D for drawing text with
a solid source colour to an opaque destination. |
SpanClipRenderer.java | Class | This class uses a Region iterator to modify the extents of alpha
tiles created during Shape rendering based upon a non-rectangular
clipping path. |
SpanIterator.java | Interface | This interface defines a general method for iterating through the
rectangular "spans" that represent the interior of a filled path. |
SpanShapeRenderer.java | Class | This class is used to convert raw geometry into a span iterator
object using a simple flattening polygon scan converter. |
TextPipe.java | Interface | This interface defines the set of calls that pipeline objects
can use to pass on responsibility for drawing various text
representations. |
TextRenderer.java | Class | |
ValidatePipe.java | Class | This class is used to force a revalidation of the pipelines of
the indicated SunGraphics2D object before a draw command. |