Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > c109337651527e96d7bb9adc83c5b18a > files > 152

libvips-devel-7.18.2-1mdv2010.0.i586.rpm

<!-- manual page source format generated by PolyglotMan v3.2, -->
<!-- available at http://polyglotman.sourceforge.net/ -->

<html>
<head>
<title>IM_CIRCLE(3) manual page</title>
</head>
<body bgcolor='white'>
<a href='#toc'>Table of Contents</a><p>

<h2><a name='sect0' href='#toc0'>Name</a></h2>
im_circle - draws a circle within an image file 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
<b>#include &lt;vips/vips.h&gt;</b>

<p> <b>int im_circle(im, cx, cy, radius, intensity)</b> <br>
<b>IMAGE *im;</b> <br>
<b>int cx, cy;</b> <br>
<b>int radius, intensity;</b> 
<h2><a name='sect2' href='#toc2'>Description</a></h2>
<b>im_circle()</b> draws a circle on top of
an image pointed by the image descriptor im. Input im should be one band
unsigned char image. 
<p> It must be stressed that a call to this function overwrites
the content of the original image at the points corresponding to the drawn
circle. The centre of the circle is at point (cx, cy) and has radius radius
and the intensity of the produced circle is given by the int intensity
(between 0 and 255).  If the circle does not fit in the original image,
an error code is returned. 
<h2><a name='sect3' href='#toc3'>Return Value</a></h2>
The function returns 0 on success
and -1 on error. 
<h2><a name='sect4' href='#toc4'>See Also</a></h2>
<a href='im_line.3.html'>im_line(3)</a>
. 
<h2><a name='sect5' href='#toc5'>Copyright</a></h2>
<br>
N. Dessipris 
<h2><a name='sect6' href='#toc6'>Author</a></h2>
N. Dessipris - 10/05/1991 <p>

<hr><p>
<a name='toc'><b>Table of Contents</b></a><p>
<ul>
<li><a name='toc0' href='#sect0'>Name</a></li>
<li><a name='toc1' href='#sect1'>Synopsis</a></li>
<li><a name='toc2' href='#sect2'>Description</a></li>
<li><a name='toc3' href='#sect3'>Return Value</a></li>
<li><a name='toc4' href='#sect4'>See Also</a></li>
<li><a name='toc5' href='#sect5'>Copyright</a></li>
<li><a name='toc6' href='#sect6'>Author</a></li>
</ul>
</body>
</html>