~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qgraphicsellipseitem.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
3
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/gui/graphicsview/qgraphicsitem.cpp -->
 
5
<!-- qgraphicsitem.cpp -->
6
6
<head>
7
 
  <title>Qt 4.5: QGraphicsEllipseItem Class Reference</title>
 
7
  <title>Qt 4.6: QGraphicsEllipseItem Class Reference</title>
8
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
9
9
</head>
10
10
<body>
 
11
<a name="//apple_ref/cpp/cl//QGraphicsEllipseItem" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
13
<tr>
13
 
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
 
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
 
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QGraphicsEllipseItem Class Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
 
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
 
15
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
 
16
</tr></table><h1 class="title">QGraphicsEllipseItem Class Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
16
17
</h1>
17
18
<p>The QGraphicsEllipseItem class provides an ellipse item that you can add to a <a href="qgraphicsscene.html">QGraphicsScene</a>. <a href="#details">More...</a></p>
18
19
<pre> #include &lt;QGraphicsEllipseItem&gt;</pre><p>Inherits <a href="qabstractgraphicsshapeitem.html">QAbstractGraphicsShapeItem</a>.</p>
20
21
<ul>
21
22
<li><a href="qgraphicsellipseitem-members.html">List of all members, including inherited members</a></li>
22
23
</ul>
 
24
<hr />
23
25
<a name="public-functions"></a>
24
 
<h3>Public Functions</h3>
25
 
<ul>
26
 
<li><div class="fn"></div><b><a href="qgraphicsellipseitem.html#QGraphicsEllipseItem">QGraphicsEllipseItem</a></b> ( QGraphicsItem * <i>parent</i> = 0 )</li>
27
 
<li><div class="fn"></div><b><a href="qgraphicsellipseitem.html#QGraphicsEllipseItem-2">QGraphicsEllipseItem</a></b> ( const QRectF &amp; <i>rect</i>, QGraphicsItem * <i>parent</i> = 0 )</li>
28
 
<li><div class="fn"></div><b><a href="qgraphicsellipseitem.html#QGraphicsEllipseItem-3">QGraphicsEllipseItem</a></b> ( qreal <i>x</i>, qreal <i>y</i>, qreal <i>width</i>, qreal <i>height</i>, QGraphicsItem * <i>parent</i> = 0 )</li>
29
 
<li><div class="fn"></div><b><a href="qgraphicsellipseitem.html#dtor.QGraphicsEllipseItem">~QGraphicsEllipseItem</a></b> ()</li>
30
 
<li><div class="fn"></div>QRectF <b><a href="qgraphicsellipseitem.html#rect">rect</a></b> () const</li>
31
 
<li><div class="fn"></div>void <b><a href="qgraphicsellipseitem.html#setRect">setRect</a></b> ( const QRectF &amp; <i>rect</i> )</li>
32
 
<li><div class="fn"></div>void <b><a href="qgraphicsellipseitem.html#setRect-2">setRect</a></b> ( qreal <i>x</i>, qreal <i>y</i>, qreal <i>width</i>, qreal <i>height</i> )</li>
33
 
<li><div class="fn"></div>void <b><a href="qgraphicsellipseitem.html#setSpanAngle">setSpanAngle</a></b> ( int <i>angle</i> )</li>
34
 
<li><div class="fn"></div>void <b><a href="qgraphicsellipseitem.html#setStartAngle">setStartAngle</a></b> ( int <i>angle</i> )</li>
35
 
<li><div class="fn"></div>int <b><a href="qgraphicsellipseitem.html#spanAngle">spanAngle</a></b> () const</li>
36
 
<li><div class="fn"></div>int <b><a href="qgraphicsellipseitem.html#startAngle">startAngle</a></b> () const</li>
37
 
</ul>
38
 
<ul>
39
 
<li><div class="fn"></div>4 public functions inherited from <a href="qabstractgraphicsshapeitem.html#public-functions">QAbstractGraphicsShapeItem</a></li>
40
 
<li><div class="fn"></div>150 public functions inherited from <a href="qgraphicsitem.html#public-functions">QGraphicsItem</a></li>
 
26
<h2>Public Functions</h2>
 
27
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
28
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#QGraphicsEllipseItem">QGraphicsEllipseItem</a></b> ( QGraphicsItem * <i>parent</i> = 0 )</td></tr>
 
29
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#QGraphicsEllipseItem-2">QGraphicsEllipseItem</a></b> ( const QRectF &amp; <i>rect</i>, QGraphicsItem * <i>parent</i> = 0 )</td></tr>
 
30
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#QGraphicsEllipseItem-3">QGraphicsEllipseItem</a></b> ( qreal <i>x</i>, qreal <i>y</i>, qreal <i>width</i>, qreal <i>height</i>, QGraphicsItem * <i>parent</i> = 0 )</td></tr>
 
31
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#dtor.QGraphicsEllipseItem">~QGraphicsEllipseItem</a></b> ()</td></tr>
 
32
<tr><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#rect">rect</a></b> () const</td></tr>
 
33
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#setRect">setRect</a></b> ( const QRectF &amp; <i>rect</i> )</td></tr>
 
34
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#setRect-2">setRect</a></b> ( qreal <i>x</i>, qreal <i>y</i>, qreal <i>width</i>, qreal <i>height</i> )</td></tr>
 
35
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#setSpanAngle">setSpanAngle</a></b> ( int <i>angle</i> )</td></tr>
 
36
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#setStartAngle">setStartAngle</a></b> ( int <i>angle</i> )</td></tr>
 
37
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#spanAngle">spanAngle</a></b> () const</td></tr>
 
38
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#startAngle">startAngle</a></b> () const</td></tr>
 
39
</table>
 
40
<hr />
 
41
<a name="reimplemented-public-functions"></a>
 
42
<h2>Reimplemented Public Functions</h2>
 
43
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
44
<tr><td class="memItemLeft" align="right" valign="top">virtual QRectF </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#boundingRect">boundingRect</a></b> () const</td></tr>
 
45
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#contains">contains</a></b> ( const QPointF &amp; <i>point</i> ) const</td></tr>
 
46
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#isObscuredBy">isObscuredBy</a></b> ( const QGraphicsItem * <i>item</i> ) const</td></tr>
 
47
<tr><td class="memItemLeft" align="right" valign="top">virtual QPainterPath </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#opaqueArea">opaqueArea</a></b> () const</td></tr>
 
48
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#paint">paint</a></b> ( QPainter * <i>painter</i>, const QStyleOptionGraphicsItem * <i>option</i>, QWidget * <i>widget</i> = 0 )</td></tr>
 
49
<tr><td class="memItemLeft" align="right" valign="top">virtual QPainterPath </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#shape">shape</a></b> () const</td></tr>
 
50
<tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicsellipseitem.html#type">type</a></b> () const</td></tr>
 
51
</table>
 
52
<ul>
 
53
<li><div bar="2" class="fn"></div>6 public functions inherited from <a href="qabstractgraphicsshapeitem.html#public-functions">QAbstractGraphicsShapeItem</a></li>
 
54
<li><div bar="2" class="fn"></div>177 public functions inherited from <a href="qgraphicsitem.html#public-functions">QGraphicsItem</a></li>
41
55
</ul>
42
56
<h3>Additional Inherited Members</h3>
43
57
<ul>
49
63
<h2>Detailed Description</h2>
50
64
<p>The QGraphicsEllipseItem class provides an ellipse item that you can add to a <a href="qgraphicsscene.html">QGraphicsScene</a>.</p>
51
65
<p>QGraphicsEllipseItem respresents an ellipse with a fill and an outline, and you can also use it for ellipse segments (see <a href="qgraphicsellipseitem.html#startAngle">startAngle</a>(), <a href="qgraphicsellipseitem.html#spanAngle">spanAngle</a>()).</p>
52
 
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
 
66
<p><table class="generic" align="center" cellpadding="2" cellspacing="1" border="0">
53
67
<tr valign="top" class="odd"><td><img src="images/graphicsview-ellipseitem.png" /></td><td><img src="images/graphicsview-ellipseitem-pie.png" /></td></tr>
54
68
</table></p>
55
69
<p>To set the item's ellipse, pass a <a href="qrectf.html">QRectF</a> to QGraphicsEllipseItem's constructor, or call <a href="qgraphicsellipseitem.html#setRect">setRect</a>(). The <a href="qgraphicsellipseitem.html#rect">rect</a>() function returns the current ellipse geometry.</p>
56
 
<p>QGraphicsEllipseItem uses the rect and the pen width to provide a reasonable implementation of <a href="qgraphicsitem.html#boundingRect">boundingRect</a>(), <a href="qgraphicsitem.html#shape">shape</a>(), and <a href="qgraphicsitem.html#contains">contains</a>(). The <a href="qgraphicsitem.html#paint">paint</a>() function draws the ellipse using the item's associated pen and brush, which you can set by calling <a href="qabstractgraphicsshapeitem.html#setPen">setPen</a>() and <a href="qabstractgraphicsshapeitem.html#setBrush">setBrush</a>().</p>
 
70
<p>QGraphicsEllipseItem uses the rect and the pen width to provide a reasonable implementation of <a href="qgraphicsellipseitem.html#boundingRect">boundingRect</a>(), <a href="qgraphicsellipseitem.html#shape">shape</a>(), and <a href="qgraphicsellipseitem.html#contains">contains</a>(). The <a href="qgraphicsellipseitem.html#paint">paint</a>() function draws the ellipse using the item's associated pen and brush, which you can set by calling <a href="qabstractgraphicsshapeitem.html#setPen">setPen</a>() and <a href="qabstractgraphicsshapeitem.html#setBrush">setBrush</a>().</p>
57
71
<p>See also <a href="qgraphicspathitem.html">QGraphicsPathItem</a>, <a href="qgraphicsrectitem.html">QGraphicsRectItem</a>, <a href="qgraphicspolygonitem.html">QGraphicsPolygonItem</a>, <a href="qgraphicstextitem.html">QGraphicsTextItem</a>, <a href="qgraphicslineitem.html">QGraphicsLineItem</a>, <a href="qgraphicspixmapitem.html">QGraphicsPixmapItem</a>, and <a href="graphicsview.html">The Graphics View Framework</a>.</p>
58
72
<hr />
59
73
<h2>Member Function Documentation</h2>
 
74
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/QGraphicsEllipseItem" />
60
75
<h3 class="fn"><a name="QGraphicsEllipseItem"></a>QGraphicsEllipseItem::QGraphicsEllipseItem ( <a href="qgraphicsitem.html">QGraphicsItem</a> * <i>parent</i> = 0 )</h3>
61
76
<p>Constructs a <a href="qgraphicsellipseitem.html">QGraphicsEllipseItem</a>. <i>parent</i> is passed to <a href="qabstractgraphicsshapeitem.html">QAbstractGraphicsShapeItem</a>'s constructor.</p>
62
77
<p>See also <a href="qgraphicsscene.html#addItem">QGraphicsScene::addItem</a>().</p>
67
82
<p>Constructs a <a href="qgraphicsellipseitem.html">QGraphicsEllipseItem</a> using the rectangle defined by (<i>x</i>, <i>y</i>) and the given <i>width</i> and <i>height</i>, as the default rectangle. <i>parent</i> is passed to <a href="qabstractgraphicsshapeitem.html">QAbstractGraphicsShapeItem</a>'s constructor.</p>
68
83
<p>This function was introduced in Qt 4.3.</p>
69
84
<p>See also <a href="qgraphicsscene.html#addItem">QGraphicsScene::addItem</a>().</p>
 
85
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/~QGraphicsEllipseItem" />
70
86
<h3 class="fn"><a name="dtor.QGraphicsEllipseItem"></a>QGraphicsEllipseItem::~QGraphicsEllipseItem ()</h3>
71
87
<p>Destroys the <a href="qgraphicsellipseitem.html">QGraphicsEllipseItem</a>.</p>
 
88
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/boundingRect" />
 
89
<h3 class="fn"><a name="boundingRect"></a><a href="qrectf.html">QRectF</a> QGraphicsEllipseItem::boundingRect () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
90
<p>Reimplemented from <a href="qgraphicsitem.html#boundingRect">QGraphicsItem::boundingRect</a>().</p>
 
91
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/contains" />
 
92
<h3 class="fn"><a name="contains"></a>bool QGraphicsEllipseItem::contains ( const <a href="qpointf.html">QPointF</a> &amp; <i>point</i> ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
93
<p>Reimplemented from <a href="qgraphicsitem.html#contains">QGraphicsItem::contains</a>().</p>
 
94
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/isObscuredBy" />
 
95
<h3 class="fn"><a name="isObscuredBy"></a>bool QGraphicsEllipseItem::isObscuredBy ( const <a href="qgraphicsitem.html">QGraphicsItem</a> * <i>item</i> ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
96
<p>Reimplemented from <a href="qgraphicsitem.html#isObscuredBy">QGraphicsItem::isObscuredBy</a>().</p>
 
97
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/opaqueArea" />
 
98
<h3 class="fn"><a name="opaqueArea"></a><a href="qpainterpath.html">QPainterPath</a> QGraphicsEllipseItem::opaqueArea () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
99
<p>Reimplemented from <a href="qgraphicsitem.html#opaqueArea">QGraphicsItem::opaqueArea</a>().</p>
 
100
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/paint" />
 
101
<h3 class="fn"><a name="paint"></a>void QGraphicsEllipseItem::paint ( <a href="qpainter.html">QPainter</a> * <i>painter</i>, const <a href="qstyleoptiongraphicsitem.html">QStyleOptionGraphicsItem</a> * <i>option</i>, <a href="qwidget.html">QWidget</a> * <i>widget</i> = 0 )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
102
<p>Reimplemented from <a href="qgraphicsitem.html#paint">QGraphicsItem::paint</a>().</p>
 
103
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/rect" />
72
104
<h3 class="fn"><a name="rect"></a><a href="qrectf.html">QRectF</a> QGraphicsEllipseItem::rect () const</h3>
73
105
<p>Returns the item's ellipse geometry as a <a href="qrectf.html">QRectF</a>.</p>
74
106
<p>See also <a href="qgraphicsellipseitem.html#setRect">setRect</a>() and <a href="qpainter.html#drawEllipse">QPainter::drawEllipse</a>().</p>
 
107
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/setRect" />
75
108
<h3 class="fn"><a name="setRect"></a>void QGraphicsEllipseItem::setRect ( const <a href="qrectf.html">QRectF</a> &amp; <i>rect</i> )</h3>
76
109
<p>Sets the item's ellipse geometry to <i>rect</i>. The rectangle's left edge defines the left edge of the ellipse, and the rectangle's top edge describes the top of the ellipse. The height and width of the rectangle describe the height and width of the ellipse.</p>
77
110
<p>See also <a href="qgraphicsellipseitem.html#rect">rect</a>() and <a href="qpainter.html#drawEllipse">QPainter::drawEllipse</a>().</p>
79
112
<p>Sets the item's rectangle to the rectangle defined by (<i>x</i>, <i>y</i>) and the given <i>width</i> and <i>height</i>.</p>
80
113
<p>This convenience function is equivalent to calling <tt>setRect(QRectF(x, y, width, height))</tt></p>
81
114
<p>See also <a href="qgraphicsellipseitem.html#rect">rect</a>().</p>
 
115
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/setSpanAngle" />
82
116
<h3 class="fn"><a name="setSpanAngle"></a>void QGraphicsEllipseItem::setSpanAngle ( int <i>angle</i> )</h3>
83
117
<p>Sets the span angle for an ellipse segment to <i>angle</i>, which is in 16ths of a degree. This angle is used together with <a href="qgraphicsellipseitem.html#startAngle">startAngle</a>() to represent an ellipse segment (a pie). By default, the span angle is 5760 (360 * 16, a full ellipse).</p>
84
118
<p>See also <a href="qgraphicsellipseitem.html#spanAngle">spanAngle</a>(), <a href="qgraphicsellipseitem.html#setStartAngle">setStartAngle</a>(), and <a href="qpainter.html#drawPie">QPainter::drawPie</a>().</p>
 
119
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/setStartAngle" />
85
120
<h3 class="fn"><a name="setStartAngle"></a>void QGraphicsEllipseItem::setStartAngle ( int <i>angle</i> )</h3>
86
121
<p>Sets the start angle for an ellipse segment to <i>angle</i>, which is in 16ths of a degree. This angle is used together with <a href="qgraphicsellipseitem.html#spanAngle">spanAngle</a>() for representing an ellipse segment (a pie). By default, the start angle is 0.</p>
87
122
<p>See also <a href="qgraphicsellipseitem.html#startAngle">startAngle</a>(), <a href="qgraphicsellipseitem.html#setSpanAngle">setSpanAngle</a>(), and <a href="qpainter.html#drawPie">QPainter::drawPie</a>().</p>
 
123
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/shape" />
 
124
<h3 class="fn"><a name="shape"></a><a href="qpainterpath.html">QPainterPath</a> QGraphicsEllipseItem::shape () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
125
<p>Reimplemented from <a href="qgraphicsitem.html#shape">QGraphicsItem::shape</a>().</p>
 
126
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/spanAngle" />
88
127
<h3 class="fn"><a name="spanAngle"></a>int QGraphicsEllipseItem::spanAngle () const</h3>
89
128
<p>Returns the span angle of an ellipse segment in 16ths of a degree. This angle is used together with <a href="qgraphicsellipseitem.html#startAngle">startAngle</a>() for representing an ellipse segment (a pie). By default, this function returns 5760 (360 * 16, a full ellipse).</p>
90
129
<p>See also <a href="qgraphicsellipseitem.html#setSpanAngle">setSpanAngle</a>() and <a href="qgraphicsellipseitem.html#startAngle">startAngle</a>().</p>
 
130
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/startAngle" />
91
131
<h3 class="fn"><a name="startAngle"></a>int QGraphicsEllipseItem::startAngle () const</h3>
92
132
<p>Returns the start angle for an ellipse segment in 16ths of a degree. This angle is used together with <a href="qgraphicsellipseitem.html#spanAngle">spanAngle</a>() for representing an ellipse segment (a pie). By default, the start angle is 0.</p>
93
133
<p>See also <a href="qgraphicsellipseitem.html#setStartAngle">setStartAngle</a>() and <a href="qgraphicsellipseitem.html#spanAngle">spanAngle</a>().</p>
 
134
<a name="//apple_ref/cpp/instm/QGraphicsEllipseItem/type" />
 
135
<h3 class="fn"><a name="type"></a>int QGraphicsEllipseItem::type () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
136
<p>Reimplemented from <a href="qgraphicsitem.html#type">QGraphicsItem::type</a>().</p>
94
137
<p /><address><hr /><div align="center">
95
138
<table width="100%" cellspacing="0" border="0"><tr class="address">
96
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
97
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
98
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
99
 
</tr></table></div></address></body>
 
139
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
140
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
141
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
142
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
100
143
</html>