~ubuntu-branches/ubuntu/utopic/tcm/utopic

« back to all changes in this revision

Viewing changes to doc/sourcecode/LinePiece.html

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><TITLE>LinePiece</TITLE></head>
 
2
<body>
 
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A>  class  LinePiece  </H2><BLOCKQUOTE>
 
4
 horizontal or vertical line (cell boundary).
 
5
</BLOCKQUOTE>
 
6
<hr>
 
7
 
 
8
<DL>
 
9
<TABLE>
 
10
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.211.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>LinePiece</B> (<!1><A HREF="Grafport.html">Grafport</A> *g, <!1><A HREF="Point.html">Point</A> *from, <!1><A HREF="Point.html">Point</A> *to, <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> style, unsigned width)<br>
 
11
<I></I>
 
12
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.2"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Draw</B> ()<br>
 
13
<I></I>
 
14
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.3"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Undraw</B> ()<br>
 
15
<I></I>
 
16
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.4"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HitLine</B> (int x, int y)<br>
 
17
<I> return iff (x,y) is on line piece</I>
 
18
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetLineStyle</B> (<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> t)<br>
 
19
<I></I>
 
20
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.6"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> </TD><TD><B>GetLineStyle</B> ()<br>
 
21
<I></I>
 
22
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateLineStyle</B> (<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> t)<br>
 
23
<I></I>
 
24
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetLineWidth</B> (unsigned n)<br>
 
25
<I></I>
 
26
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.9"> <IMG BORDER=0 SRC=icon1.gif></A> unsigned </TD><TD><B>GetLineWidth</B> ()<br>
 
27
<I></I>
 
28
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateLineWidth</B> (unsigned n)<br>
 
29
<I></I>
 
30
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetBegin</B> (const <!1><A HREF="Point.html">Point</A> *pt)<br>
 
31
<I></I>
 
32
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.12"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetEnd</B> (const <!1><A HREF="Point.html">Point</A> *pt)<br>
 
33
<I></I>
 
34
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.13"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetPoints</B> (const <!1><A HREF="Point.html">Point</A> *pt1, const <!1><A HREF="Point.html">Point</A> *pt2)<br>
 
35
<I></I>
 
36
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.14"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdatePoints</B> (const <!1><A HREF="Point.html">Point</A> *pt1, const <!1><A HREF="Point.html">Point</A> *pt2)<br>
 
37
<I></I>
 
38
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.15"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateBegin</B> (const <!1><A HREF="Point.html">Point</A> *pt)<br>
 
39
<I></I>
 
40
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.16"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateEnd</B> (const <!1><A HREF="Point.html">Point</A> *pt)<br>
 
41
<I></I>
 
42
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.17"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetGrafport</B> (<!1><A HREF="Grafport.html">Grafport</A> *g)<br>
 
43
<I></I>
 
44
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.18"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Write</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *f)<br>
 
45
<I></I>
 
46
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.19"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>Read</B> (<!1><A HREF="InputFile.html">InputFile</A> *f, double format)<br>
 
47
<I></I>
 
48
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.20"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A>* </TD><TD><B>GetBegin</B> ()<br>
 
49
<I></I>
 
50
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.21"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Point.html">Point</A>* </TD><TD><B>GetEnd</B> ()<br>
 
51
<I></I>
 
52
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.22"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsVisible</B> ()<br>
 
53
<I></I>
 
54
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.211.23"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetVisible</B> (bool b)<br>
 
55
<I></I>
 
56
</TD></TR></TABLE></DL>
 
57
<A NAME="DOC.DOCU">
 
58
<hr>
 
59
 <h2> Documentation </h2>
 
60
<BLOCKQUOTE>
 
61
 horizontal or vertical line (cell boundary).
 
62
 
 
63
</BLOCKQUOTE>
 
64
<DL>
 
65
 
 
66
<A NAME="LinePiece">
 
67
<A NAME ="DOC.211.1">
 
68
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B>  LinePiece(<!1><A HREF="Grafport.html">Grafport</A> *g, <!1><A HREF="Point.html">Point</A> *from, <!1><A HREF="Point.html">Point</A> *to, <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> style, unsigned width)</B></TT>
 
69
<DL></DL><P>
 
70
<A NAME="Draw">
 
71
<A NAME ="DOC.211.2">
 
72
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Draw()</B></TT>
 
73
<DL></DL><P>
 
74
<A NAME="Undraw">
 
75
<A NAME ="DOC.211.3">
 
76
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Undraw()</B></TT>
 
77
<DL></DL><P>
 
78
<A NAME="HitLine">
 
79
<A NAME ="DOC.211.4">
 
80
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  HitLine(int x, int y)</B></TT>
 
81
<DD> return iff (x,y) is on line piece
 
82
<DL></DL><P>
 
83
<A NAME="SetLineStyle">
 
84
<A NAME ="DOC.211.5">
 
85
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetLineStyle(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> t)</B></TT>
 
86
<DL></DL><P>
 
87
<A NAME="GetLineStyle">
 
88
<A NAME ="DOC.211.6">
 
89
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A>  GetLineStyle()</B></TT>
 
90
<DL></DL><P>
 
91
<A NAME="UpdateLineStyle">
 
92
<A NAME ="DOC.211.7">
 
93
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateLineStyle(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> t)</B></TT>
 
94
<DL></DL><P>
 
95
<A NAME="SetLineWidth">
 
96
<A NAME ="DOC.211.8">
 
97
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetLineWidth(unsigned n)</B></TT>
 
98
<DL></DL><P>
 
99
<A NAME="GetLineWidth">
 
100
<A NAME ="DOC.211.9">
 
101
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> unsigned  GetLineWidth()</B></TT>
 
102
<DL></DL><P>
 
103
<A NAME="UpdateLineWidth">
 
104
<A NAME ="DOC.211.10">
 
105
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateLineWidth(unsigned n)</B></TT>
 
106
<DL></DL><P>
 
107
<A NAME="SetBegin">
 
108
<A NAME ="DOC.211.11">
 
109
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetBegin(const <!1><A HREF="Point.html">Point</A> *pt)</B></TT>
 
110
<DL></DL><P>
 
111
<A NAME="SetEnd">
 
112
<A NAME ="DOC.211.12">
 
113
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetEnd(const <!1><A HREF="Point.html">Point</A> *pt)</B></TT>
 
114
<DL></DL><P>
 
115
<A NAME="SetPoints">
 
116
<A NAME ="DOC.211.13">
 
117
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetPoints(const <!1><A HREF="Point.html">Point</A> *pt1, const <!1><A HREF="Point.html">Point</A> *pt2)</B></TT>
 
118
<DL></DL><P>
 
119
<A NAME="UpdatePoints">
 
120
<A NAME ="DOC.211.14">
 
121
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdatePoints(const <!1><A HREF="Point.html">Point</A> *pt1, const <!1><A HREF="Point.html">Point</A> *pt2)</B></TT>
 
122
<DL></DL><P>
 
123
<A NAME="UpdateBegin">
 
124
<A NAME ="DOC.211.15">
 
125
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateBegin(const <!1><A HREF="Point.html">Point</A> *pt)</B></TT>
 
126
<DL></DL><P>
 
127
<A NAME="UpdateEnd">
 
128
<A NAME ="DOC.211.16">
 
129
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  UpdateEnd(const <!1><A HREF="Point.html">Point</A> *pt)</B></TT>
 
130
<DL></DL><P>
 
131
<A NAME="SetGrafport">
 
132
<A NAME ="DOC.211.17">
 
133
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetGrafport(<!1><A HREF="Grafport.html">Grafport</A> *g)</B></TT>
 
134
<DL></DL><P>
 
135
<A NAME="Write">
 
136
<A NAME ="DOC.211.18">
 
137
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  Write(<!1><A HREF="OutputFile.html">OutputFile</A> *f)</B></TT>
 
138
<DL></DL><P>
 
139
<A NAME="Read">
 
140
<A NAME ="DOC.211.19">
 
141
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  Read(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)</B></TT>
 
142
<DL></DL><P>
 
143
<A NAME="GetBegin">
 
144
<A NAME ="DOC.211.20">
 
145
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>*  GetBegin()</B></TT>
 
146
<DL></DL><P>
 
147
<A NAME="GetEnd">
 
148
<A NAME ="DOC.211.21">
 
149
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Point.html">Point</A>*  GetEnd()</B></TT>
 
150
<DL></DL><P>
 
151
<A NAME="IsVisible">
 
152
<A NAME ="DOC.211.22">
 
153
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool  IsVisible()</B></TT>
 
154
<DL></DL><P>
 
155
<A NAME="SetVisible">
 
156
<A NAME ="DOC.211.23">
 
157
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void  SetVisible(bool b)</B></TT>
 
158
<DL></DL><P></DL>
 
159
<hr>
 
160
 <DL><DT><B>This class has no child classes.</B></DL>
 
161
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I>  <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
 
162
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
 
163
<P Align=Center><I>this page has been generated automatically by doc++</I>
 
164
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte  Z&ouml;ckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>
 
165
</BODY>