Methods' Summary |
drawPoint |
Draw a point in device resolution on the device.
|
drawLine |
Draw a line in device resolution width (i.e. one device pixel
wide).
|
drawBezier |
Draw a cubic bezier curve in device resolution width (i.e. one
device pixel wide).
|
drawPolyPolygon |
Draw a polyPolygon in device resolution line width (i.e. the
lines are one device pixel wide).
|
strokePolyPolygon |
Stroke each polygon of the provided polyPolygon with the
specified stroke attributes. Consider the stroking of all
polygons as an atomic operation in relation to the
RenderState's CompositeOp operation. That means, overlapping
strokes from distinct polygons will look exactly as
overlapping segments of the same polygon, even with
transparency.
|
strokeTexturedPolyPolygon |
Stroke each polygon of the provided polyPolygon with the
specified stroke attributes, fill the stroked outline
with the specified texture graphics. Consider the stroking of all
polygons as an atomic operation in relation to the
RenderState's CompositeOp operation. That means, overlapping
strokes from distinct polygons will look exactly as
overlapping segments of the same polygon, even with
transparency.
|
strokeTextureMappedPolyPolygon |
Stroke each polygon of the provided polyPolygon with the
specified stroke attributes. Fill the stroked outline
with the specified texture graphics, map the texture to the
outline via the specified texture mapping. Consider the
stroking of all polygons as an atomic operation in relation to
the RenderState's CompositeOp operation. That means,
overlapping strokes from distinct polygons will look exactly
as overlapping segments of the same polygon, even with
transparency.
|
queryStrokeShapes |
Query the polygonal representation of the stroke outlines, as
it would be generated by the stroke * PolyPolygon methods. This
can be used to e.g. set a clipping which covers the same area
as a stroke. [TODO: Method misplaced at this interface?]
|
fillPolyPolygon |
Fill the given polyPolygon according to the RenderState's
color and the specified fillRule.
|
fillTexturedPolyPolygon |
Fill the given polyPolygon according to the RenderState's
color, the given textures and the specified fillRule.
|
fillTextureMappedPolyPolygon |
Fill the given polyPolygon according to the RenderState's
color, the given textures and the specified fillRule. The
texture is mapped to the polyPolygon's interior via the given
texture mapping.
|
queryFont |
Query a suitable font for the specified font description
TODO: boolean IsVertical on FontDescriptor
|
drawText |
Draw the text given by the substring of the specified string
with the given font.
|
drawOffsettedText |
Draw the text given by the substring of the specified string
with the given font. Place every glyph at a position as
specified by the offsets relative to the start of the string.
|
drawBitmap |
Render the bitmap, at a position and shape as specified by the
combined view and render transformations.
|
getDevice |
Request the associated GraphicDevice of this canvas.
|
Methods' Details |
drawPoint
- Description
- Draw a point in device resolution on the device.
|
|
drawLine
- Description
- Draw a line in device resolution width (i.e. one device pixel
wide).
|
|
drawBezier
- Description
- Draw a cubic bezier curve in device resolution width (i.e. one
device pixel wide).
|
|
drawPolyPolygon
- Description
- Draw a polyPolygon in device resolution line width (i.e. the
lines are one device pixel wide).
|
|
strokePolyPolygon
- Description
- Stroke each polygon of the provided polyPolygon with the
specified stroke attributes. Consider the stroking of all
polygons as an atomic operation in relation to the
RenderState's CompositeOp operation. That means, overlapping
strokes from distinct polygons will look exactly as
overlapping segments of the same polygon, even with
transparency.
|
|
strokeTexturedPolyPolygon
- Description
- Stroke each polygon of the provided polyPolygon with the
specified stroke attributes, fill the stroked outline
with the specified texture graphics. Consider the stroking of all
polygons as an atomic operation in relation to the
RenderState's CompositeOp operation. That means, overlapping
strokes from distinct polygons will look exactly as
overlapping segments of the same polygon, even with
transparency.
|
|
strokeTextureMappedPolyPolygon
- Description
- Stroke each polygon of the provided polyPolygon with the
specified stroke attributes. Fill the stroked outline
with the specified texture graphics, map the texture to the
outline via the specified texture mapping. Consider the
stroking of all polygons as an atomic operation in relation to
the RenderState's CompositeOp operation. That means,
overlapping strokes from distinct polygons will look exactly
as overlapping segments of the same polygon, even with
transparency.
|
|
queryStrokeShapes
- Description
- Query the polygonal representation of the stroke outlines, as
it would be generated by the stroke * PolyPolygon methods. This
can be used to e.g. set a clipping which covers the same area
as a stroke. [TODO: Method misplaced at this interface?]
|
|
fillPolyPolygon
- Description
- Fill the given polyPolygon according to the RenderState's
color and the specified fillRule.
|
|
fillTexturedPolyPolygon
- Description
- Fill the given polyPolygon according to the RenderState's
color, the given textures and the specified fillRule.
|
|
fillTextureMappedPolyPolygon
- Description
- Fill the given polyPolygon according to the RenderState's
color, the given textures and the specified fillRule. The
texture is mapped to the polyPolygon's interior via the given
texture mapping.
|
|
queryFont
XFont
queryFont( |
[in] FontDescription |
fontDescriptor ); |
- Description
- Query a suitable font for the specified font description
TODO: boolean IsVertical on FontDescriptor
|
|
drawText
- Description
- Draw the text given by the substring of the specified string
with the given font.
|
|
drawOffsettedText
- Description
- Draw the text given by the substring of the specified string
with the given font. Place every glyph at a position as
specified by the offsets relative to the start of the string.
|
|
drawBitmap
- Description
- Render the bitmap, at a position and shape as specified by the
combined view and render transformations.
|
|
getDevice
- Description
- Request the associated GraphicDevice of this canvas.
|
|
Copyright © 2003 Sun Microsystems, Inc.