blob: 44f045001924a734fb9d17538903126270d5fa7f [file] [log] [blame]
<html>
<head>
<title>Struct Texture</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="Texture-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="#Elements" class="navisub">Elements' Summary</a></td>
<td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></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">struct Texture</td>
</tr>
<tr>
<td/></tr>
<tr>
<td/></tr>
</table>
<hr>
<a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Elements' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#transform">transform</a></td>
<td class="imsum_right"> Texture transformation from primitive to texture space</td>
</tr>
<tr>
<td class="imsum_left"><a href="#transparency">transparency</a></td>
<td class="imsum_right"> Overall transparency of the texturing</td>
</tr>
<tr>
<td class="imsum_left"><a href="#numberOfHatchPolygons">numberOfHatchPolygons</a></td>
<td class="imsum_right"> Specifies the number of polygons the parametric polygon
interface is queried. The continuous range [0,1] of the
XParametricPolyPolygon::getOutline() method is divided up into
numberOfHatchPolygons equal parts, and for everyone of these
parts, the start of the interval is plugged into the
getOutline method. For example, if numberOfHatchPolygons is 2,
then getOutline is called twice, once with 0.0 and once with
0.5. Use this parameter to control the density of the hatching.
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#xBitmap">xBitmap</a></td>
<td class="imsum_right"> Texture bitmap (can be used together with gradient and hatching)</td>
</tr>
<tr>
<td class="imsum_left"><a href="#xGradient">xGradient</a></td>
<td class="imsum_right"> Texture gradient (can be used together with bitmap and
hatching). The parametric polygons color value is used to fill
the returned polygonal outlines.
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#xHatching">xHatching</a></td>
<td class="imsum_right"> Texture hatching (can be used together with bitmap and
gradient). The parametric polygons color value is used to
stroke the returned polygonal outlines.
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#hatchAttributes">hatchAttributes</a></td>
<td class="imsum_right"> Specifies the stroke attributes used for hatching. Use 0.0
as the strokeWidth here to indicate hair lines.
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#modeX">modeX</a></td>
<td class="imsum_right"> Repeat mode of the texture, separated into x and y direction</td>
</tr>
<tr>
<td class="imsum_left"><a href="#modeY">modeY</a></td>
<td class="imsum_right"/></tr>
</table>
<a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Elements' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="transform" class="membertitle">transform</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td>AffineTransform <b>transform</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Texture transformation from primitive to texture space</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="transparency" class="membertitle">transparency</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td>double <b>transparency</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Overall transparency of the texturing</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="numberOfHatchPolygons" class="membertitle">numberOfHatchPolygons</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td>int <b>numberOfHatchPolygons</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Specifies the number of polygons the parametric polygon
interface is queried. The continuous range [0,1] of the
XParametricPolyPolygon::getOutline() method is divided up into
numberOfHatchPolygons equal parts, and for everyone of these
parts, the start of the interval is plugged into the
getOutline method. For example, if numberOfHatchPolygons is 2,
then getOutline is called twice, once with 0.0 and once with
0.5. Use this parameter to control the density of the hatching.
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="xBitmap" class="membertitle">xBitmap</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><a href="XBitmap.html">XBitmap</a> <b>xBitmap</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Texture bitmap (can be used together with gradient and hatching)</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="xGradient" class="membertitle">xGradient</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><a href="XParametricPolyPolygon.html">XParametricPolyPolygon</a> <b>xGradient</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Texture gradient (can be used together with bitmap and
hatching). The parametric polygons color value is used to fill
the returned polygonal outlines.
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="xHatching" class="membertitle">xHatching</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><a href="XParametricPolyPolygon.html">XParametricPolyPolygon</a> <b>xHatching</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Texture hatching (can be used together with bitmap and
gradient). The parametric polygons color value is used to
stroke the returned polygonal outlines.
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="hatchAttributes" class="membertitle">hatchAttributes</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><a href="StrokeAttributes.html">StrokeAttributes</a> <b>hatchAttributes</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Specifies the stroke attributes used for hatching. Use 0.0
as the strokeWidth here to indicate hair lines.
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="modeX" class="membertitle">modeX</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><a href="TextureMode.html">TextureMode</a> <b>modeX</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Repeat mode of the texture, separated into x and y direction</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="modeY" class="membertitle">modeY</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><a href="TextureMode.html">TextureMode</a> <b>modeY</b>;<hr>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2003 Sun Microsystems, Inc.</p>
</body>
</html>