| <html> |
| <head> |
| <title>Interface XCanvas</title> |
| <style>h3 { font-size:13pt; font-weight:bold; margin-top:3pt; margin-bottom:1pt; } |
| p, dt, dd, pre { font-size:11pt; margin-top:3pt; margin-bottom:1pt; } |
| table.lightbg { background-color:#eeeeff; } |
| table.subtitle { margin-top:6pt; margin-bottom:6pt; } |
| td { font-size:11pt; } |
| td.title { font-family: Arial; font-size:19pt; font-weight:bold; text-align:center; background-color:#ccccff; line-height:30pt; } |
| td.subtitle { font-family: Arial; font-size:13pt; background-color:#ccccff; line-height:20pt; } |
| td.imdetail { width:100%; background-color:#eeeeff; } |
| a.membertitle { font-size:12pt; font-weight:bold; line-height:18pt; } |
| td.imsum_left { width:30%; } |
| td.imsum_right { width:70%; } |
| td.navimain, a.navimain { text-align:center; font-family: Arial; font-size:12pt; font-weight:bold; } |
| td.navimainself { text-align:center; font-family: Arial; font-size:12pt; font-weight:bold; color:#ffffff; background-color:#2222ad; } |
| td.navimainnone { text-align:center; font-family: Arial; font-size:12pt; } |
| td.attrtitle { font-weight:bold; background-color:#eeeeff; } |
| td.navisub, a.navisub, td.attrtitle, td.attrvalue { text-align:center; font-family: Arial; font-size:9pt; font-variant:small-caps; } |
| td.navimain, td.navisub { padding-left:7pt; padding-right:7pt; } |
| p.raise { font-size:11pt; margin-top:0pt; text-align:right; padding-right:5pt; } |
| a.navimain, a.navisub { color:#000000; } |
| .dt { font-weight:bold; } |
| .namechain { font-size:13pt; font-weight:bold; margin-top:3pt; margin-bottom:6pt; } |
| .tpl { font-size:13pt; margin-top:3pt; margin-bottom:6pt; } |
| </style> |
| |
| <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> |
| </head> |
| <body bgcolor="#ffffff"> |
| <a name="_top_"> </a> |
| <table border="0" cellpadding="3" class="lightbg"> |
| <tr> |
| <td class="navimain"><a href="com/sun/star/module-ix.html" class="navimain">Overview</a></td> |
| <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> |
| <td class="navimain"><a href="XCanvas-xref.html" class="navimain">Use</a></td> |
| <td class="navimainnone">Devguide</td> |
| <td class="navimain"><a href="index-files/index-1.html" class="navimain">Index</a></td> |
| </tr> |
| </table> |
| <table border="0" cellpadding="0"> |
| <tr> |
| <td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td> |
| <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> |
| <td class="navisub">Attributes' Summary</td> |
| <td class="navisub">Attributes' Details</td> |
| </tr> |
| </table> |
| <hr> |
| <table border="0" width="100%" cellpadding="5" cellspacing="3" style="margin-bottom:6pt;"> |
| <tr> |
| <td><p class="namechain"><a href="module-ix.html" class="namechain">::</a> </p> |
| </td> |
| </tr> |
| <tr> |
| <td class="title">interface XCanvas</td> |
| </tr> |
| <tr> |
| <td/></tr> |
| <tr> |
| <td/></tr> |
| </table> |
| <hr> |
| <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> |
| <tr> |
| <td class="subtitle" colspan="2">Methods' Summary</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#drawPoint">drawPoint</a></td> |
| <td class="imsum_right"> Draw a point in device resolution on the device. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#drawLine">drawLine</a></td> |
| <td class="imsum_right"> Draw a line in device resolution width (i.e. one device pixel |
| wide). |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#drawBezier">drawBezier</a></td> |
| <td class="imsum_right"> Draw a cubic bezier curve in device resolution width (i.e. one |
| device pixel wide). |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#drawPolyPolygon">drawPolyPolygon</a></td> |
| <td class="imsum_right"> Draw a polyPolygon in device resolution line width (i.e. the |
| lines are one device pixel wide). |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#strokePolyPolygon">strokePolyPolygon</a></td> |
| <td class="imsum_right"> 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. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#strokeTexturedPolyPolygon">strokeTexturedPolyPolygon</a></td> |
| <td class="imsum_right"> 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. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#strokeTextureMappedPolyPolygon">strokeTextureMappedPolyPolygon</a></td> |
| <td class="imsum_right"> 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. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#queryStrokeShapes">queryStrokeShapes</a></td> |
| <td class="imsum_right"> 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?] |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#fillPolyPolygon">fillPolyPolygon</a></td> |
| <td class="imsum_right"> Fill the given polyPolygon according to the RenderState's |
| color and the specified fillRule. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#fillTexturedPolyPolygon">fillTexturedPolyPolygon</a></td> |
| <td class="imsum_right"> Fill the given polyPolygon according to the RenderState's |
| color, the given textures and the specified fillRule. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#fillTextureMappedPolyPolygon">fillTextureMappedPolyPolygon</a></td> |
| <td class="imsum_right"> 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. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#queryFont">queryFont</a></td> |
| <td class="imsum_right"> Query a suitable font for the specified font description |
| TODO: boolean IsVertical on FontDescriptor |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#drawText">drawText</a></td> |
| <td class="imsum_right"> Draw the text given by the substring of the specified string |
| with the given font. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#drawOffsettedText">drawOffsettedText</a></td> |
| <td class="imsum_right"> 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. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#drawBitmap">drawBitmap</a></td> |
| <td class="imsum_right"> Render the bitmap, at a position and shape as specified by the |
| combined view and render transformations. |
| </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#getDevice">getDevice</a></td> |
| <td class="imsum_right"> Request the associated GraphicDevice of this canvas. |
| </td> |
| </tr> |
| </table> |
| <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> |
| <tr> |
| <td class="subtitle">Methods' Details</td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="drawPoint" class="membertitle">drawPoint</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top">void<br> |
| <b>drawPoint</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="Point2D.html">Point2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a></td> |
| <td valign="top"> <br> |
| aPoint,<br> |
| viewState,<br> |
| renderState );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Draw a point in device resolution on the device. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="drawLine" class="membertitle">drawLine</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top">void<br> |
| <b>drawLine</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="Point2D.html">Point2D</a><br> |
| [in] <a href="Point2D.html">Point2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a></td> |
| <td valign="top"> <br> |
| aStartPoint,<br> |
| aEndPoint,<br> |
| viewState,<br> |
| renderState );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Draw a line in device resolution width (i.e. one device pixel |
| wide). |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="drawBezier" class="membertitle">drawBezier</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top">void<br> |
| <b>drawBezier</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="Point2D.html">Point2D</a><br> |
| [in] <a href="Point2D.html">Point2D</a><br> |
| [in] <a href="Point2D.html">Point2D</a><br> |
| [in] <a href="Point2D.html">Point2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a></td> |
| <td valign="top"> <br> |
| aStartPoint,<br> |
| aFirstControlPoint,<br> |
| aSecondControlPoint,<br> |
| aEndPoint,<br> |
| viewState,<br> |
| renderState );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Draw a cubic bezier curve in device resolution width (i.e. one |
| device pixel wide). |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="drawPolyPolygon" class="membertitle">drawPolyPolygon</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>drawPolyPolygon</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="XPolyPolygon2D.html">XPolyPolygon2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a></td> |
| <td valign="top"> <br> |
| xPolyPolygon,<br> |
| viewState,<br> |
| renderState );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Draw a polyPolygon in device resolution line width (i.e. the |
| lines are one device pixel wide). |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="strokePolyPolygon" class="membertitle">strokePolyPolygon</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>strokePolyPolygon</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="XPolyPolygon2D.html">XPolyPolygon2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a><br> |
| [in] <a href="StrokeAttributes.html">StrokeAttributes</a></td> |
| <td valign="top"> <br> |
| xPolyPolygon,<br> |
| viewState,<br> |
| renderState,<br> |
| strokeAttributes );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> 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. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="strokeTexturedPolyPolygon" class="membertitle">strokeTexturedPolyPolygon</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>strokeTexturedPolyPolygon</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="XPolyPolygon2D.html">XPolyPolygon2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a><br> |
| [in] sequence< <a href="Texture.html">Texture</a> ><br> |
| [in] <a href="StrokeAttributes.html">StrokeAttributes</a></td> |
| <td valign="top"> <br> |
| xPolyPolygon,<br> |
| viewState,<br> |
| renderState,<br> |
| textures,<br> |
| strokeAttributes );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> 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. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="strokeTextureMappedPolyPolygon" class="membertitle">strokeTextureMappedPolyPolygon</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>strokeTextureMappedPolyPolygon</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="XPolyPolygon2D.html">XPolyPolygon2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a><br> |
| [in] sequence< <a href="Texture.html">Texture</a> ><br> |
| [in] <a href="XMapping2D.html">XMapping2D</a><br> |
| [in] <a href="StrokeAttributes.html">StrokeAttributes</a></td> |
| <td valign="top"> <br> |
| xPolyPolygon,<br> |
| viewState,<br> |
| renderState,<br> |
| textures,<br> |
| xMapping,<br> |
| strokeAttributes );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> 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. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="queryStrokeShapes" class="membertitle">queryStrokeShapes</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XPolyPolygon2D.html">XPolyPolygon2D</a><br> |
| <b>queryStrokeShapes</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="XPolyPolygon2D.html">XPolyPolygon2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a><br> |
| [in] <a href="StrokeAttributes.html">StrokeAttributes</a></td> |
| <td valign="top"> <br> |
| xPolyPolygon,<br> |
| viewState,<br> |
| renderState,<br> |
| strokeAttributes );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> 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?] |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="fillPolyPolygon" class="membertitle">fillPolyPolygon</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>fillPolyPolygon</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="XPolyPolygon2D.html">XPolyPolygon2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a><br> |
| [in] <a href="FillRule.html">FillRule</a></td> |
| <td valign="top"> <br> |
| xPolyPolygon,<br> |
| viewState,<br> |
| renderState,<br> |
| fillRule );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Fill the given polyPolygon according to the RenderState's |
| color and the specified fillRule. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="fillTexturedPolyPolygon" class="membertitle">fillTexturedPolyPolygon</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>fillTexturedPolyPolygon</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="XPolyPolygon2D.html">XPolyPolygon2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a><br> |
| [in] sequence< <a href="Texture.html">Texture</a> ><br> |
| [in] <a href="FillRule.html">FillRule</a></td> |
| <td valign="top"> <br> |
| xPolyPolygon,<br> |
| viewState,<br> |
| renderState,<br> |
| textures,<br> |
| fillRule );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Fill the given polyPolygon according to the RenderState's |
| color, the given textures and the specified fillRule. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="fillTextureMappedPolyPolygon" class="membertitle">fillTextureMappedPolyPolygon</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>fillTextureMappedPolyPolygon</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="XPolyPolygon2D.html">XPolyPolygon2D</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a><br> |
| [in] sequence< <a href="Texture.html">Texture</a> ><br> |
| [in] <a href="XMapping2D.html">XMapping2D</a><br> |
| [in] <a href="FillRule.html">FillRule</a></td> |
| <td valign="top"> <br> |
| xPolyPolygon,<br> |
| viewState,<br> |
| renderState,<br> |
| textures,<br> |
| xMapping,<br> |
| fillRule );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> 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. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="queryFont" class="membertitle">queryFont</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XFont.html">XFont</a><br> |
| <b>queryFont</b>(</td> |
| <td valign="top"> <br> |
| [in] FontDescription</td> |
| <td valign="top"> <br> |
| fontDescriptor );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Query a suitable font for the specified font description |
| TODO: boolean IsVertical on FontDescriptor |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="drawText" class="membertitle">drawText</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>drawText</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="StringContext.html">StringContext</a><br> |
| [in] <a href="XFont.html">XFont</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a><br> |
| [in] sequence< double ><br> |
| [in] boolean</td> |
| <td valign="top"> <br> |
| text,<br> |
| xFont,<br> |
| viewState,<br> |
| renderState,<br> |
| backgroundColor,<br> |
| textDirection );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Draw the text given by the substring of the specified string |
| with the given font. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="drawOffsettedText" class="membertitle">drawOffsettedText</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>drawOffsettedText</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="StringContext.html">StringContext</a><br> |
| [in] <a href="XFont.html">XFont</a><br> |
| [in] sequence< double ><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a><br> |
| [in] sequence< double ><br> |
| [in] boolean</td> |
| <td valign="top"> <br> |
| text,<br> |
| xFont,<br> |
| offsets,<br> |
| viewState,<br> |
| renderState,<br> |
| backgroundColor,<br> |
| textDirection );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> 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. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="drawBitmap" class="membertitle">drawBitmap</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XCachedPrimitive.html">XCachedPrimitive</a><br> |
| <b>drawBitmap</b>(</td> |
| <td valign="top"> <br> |
| [in] <a href="XBitmap.html">XBitmap</a><br> |
| [in] <a href="ViewState.html">ViewState</a><br> |
| [in] <a href="RenderState.html">RenderState</a></td> |
| <td valign="top"> <br> |
| xBitmap,<br> |
| viewState,<br> |
| renderState );</td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Render the bitmap, at a position and shape as specified by the |
| combined view and render transformations. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="getDevice" class="membertitle">getDevice</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td><table border="0"> |
| <tr> |
| <td valign="top"><a href="XGraphicDevice.html">XGraphicDevice</a><br> |
| <b>getDevice</b>();</td> |
| <td valign="top"> <br> |
| </td> |
| <td valign="top"> <br> |
| </td> |
| </tr> |
| </table> |
| <hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd> Request the associated GraphicDevice of this canvas. |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2003 Sun Microsystems, Inc.</p> |
| </body> |
| |
| </html> |