blob: 32a62b00051475ce0c0c488ded7a25ad61808a52 [file] [log] [blame]
<html>
<head>
<title>Interface XHalfFloatBitmap</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="XHalfFloatBitmap-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 XHalfFloatBitmap</td>
</tr>
<tr>
<td><dl>
<dt><b>Base Hierarchy</b></dt>
<dd><pre style="font-family:monospace;"><a href="XBitmap.html">XBitmap</a>
|
+-<b>XHalfFloatBitmap</b></pre></dd>
</dl>
</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="#getData">getData</a></td>
<td class="imsum_right"> Query the raw data of this bitmap, in the format as defined by
getMemoryLayout(). With the given rectangle, a subset of the
whole bitmap can be queried. When querying subsets of the
bitmap, the same scanline padding takes place as when the
whole bitmap is requested. Note: as we currently have no 16
bit float UNO data type, the values are transported as 16 bit
integers across the API (which requires casting on both sides).
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setData">setData</a></td>
<td class="imsum_right"> Set raw data of a bitmap, in the format as defined by
getMemoryLayout(). With the given rectangle, a subset of the
bitmap can be changed. When setting subsets of the bitmap, the
same scanline padding takes place as when the whole bitmap is
changed.
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setPixel">setPixel</a></td>
<td class="imsum_right"> Set a single pixel of the bitmap with the given color
value.
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getPixel">getPixel</a></td>
<td class="imsum_right"> Get a single pixel of the bitmap, returning its color
value.
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getMemoryLayout">getMemoryLayout</a></td>
<td class="imsum_right"> Query the memory layout for this bitmap
</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="getData" class="membertitle">getData</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><table border="0">
<tr>
<td valign="top">sequence&lt; short &gt;<br>
<b>getData</b>(</td>
<td valign="top">&nbsp;<br>
[in] <a href="Rectangle2D.html">Rectangle2D</a></td>
<td valign="top">&nbsp;<br>
rect );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Query the raw data of this bitmap, in the format as defined by
getMemoryLayout(). With the given rectangle, a subset of the
whole bitmap can be queried. When querying subsets of the
bitmap, the same scanline padding takes place as when the
whole bitmap is requested. Note: as we currently have no 16
bit float UNO data type, the values are transported as 16 bit
integers across the API (which requires casting on both sides).
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setData" class="membertitle">setData</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>setData</b>(</td>
<td valign="top">&nbsp;<br>
[in] sequence&lt; short &gt;<br>
[in] <a href="Rectangle2D.html">Rectangle2D</a></td>
<td valign="top">&nbsp;<br>
data,<br>
rect );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Set raw data of a bitmap, in the format as defined by
getMemoryLayout(). With the given rectangle, a subset of the
bitmap can be changed. When setting subsets of the bitmap, the
same scanline padding takes place as when the whole bitmap is
changed.
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setPixel" class="membertitle">setPixel</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>setPixel</b>(</td>
<td valign="top">&nbsp;<br>
[in] sequence&lt; short &gt;<br>
[in] <a href="Point2D.html">Point2D</a></td>
<td valign="top">&nbsp;<br>
color,<br>
pos );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Set a single pixel of the bitmap with the given color
value.
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getPixel" class="membertitle">getPixel</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><table border="0">
<tr>
<td valign="top">sequence&lt; short &gt;<br>
<b>getPixel</b>(</td>
<td valign="top">&nbsp;<br>
[in] <a href="Point2D.html">Point2D</a></td>
<td valign="top">&nbsp;<br>
pos );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Get a single pixel of the bitmap, returning its color
value.
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getMemoryLayout" class="membertitle">getMemoryLayout</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="FloatingPointBitmapLayout.html">FloatingPointBitmapLayout</a><br>
<b>getMemoryLayout</b>();</td>
<td valign="top">&nbsp;<br>
</td>
<td valign="top">&nbsp;<br>
</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Query the memory layout for this bitmap
</dd>
</dl>
</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>