1
<html><head><TITLE>LinePiece</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class LinePiece </H2><BLOCKQUOTE>
4
horizontal or vertical line (cell boundary).
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
56
</TD></TR></TABLE></DL>
59
<h2> Documentation </h2>
61
horizontal or vertical line (cell boundary).
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>
72
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Draw()</B></TT>
76
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Undraw()</B></TT>
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
83
<A NAME="SetLineStyle">
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>
87
<A NAME="GetLineStyle">
89
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> GetLineStyle()</B></TT>
91
<A NAME="UpdateLineStyle">
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>
95
<A NAME="SetLineWidth">
97
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetLineWidth(unsigned n)</B></TT>
99
<A NAME="GetLineWidth">
100
<A NAME ="DOC.211.9">
101
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> unsigned GetLineWidth()</B></TT>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
152
<A NAME ="DOC.211.22">
153
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool IsVisible()</B></TT>
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>
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öckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>