GLabel Class Reference
#include <graph.h>
List of all members.
Public Member Functions |
| | GLabel (const char *s, const Color *, int fixtype=1, float size=12, float x_align=0., float y_align=0.) |
| virtual | ~GLabel () |
| virtual Glyph * | clone () const |
| virtual void | request (Requisition &) const |
| virtual void | allocate (Canvas *, const Allocation &, Extension &) |
| virtual void | draw (Canvas *, const Allocation &) const |
| virtual void | save (ostream &, Coord, Coord) |
| virtual void | pick (Canvas *, const Allocation &, int depth, Hit &) |
| void | text (const char *) |
| void | fixed (float scale) |
| void | vfixed (float scale) |
| void | relative (float scale) |
| void | align (float x, float y) |
| void | color (const Color *) |
| boolean | fixed () const |
| float | scale () const |
| const char * | text () const |
| int | fixtype () const |
| float | x_align () const |
| float | y_align () const |
| const Color * | color () const |
| boolean | erase_flag () |
| void | erase_flag (boolean b) |
| GPolyLine * | labeled_line () const |
Private Member Functions |
| void | need (Canvas *, const Allocation &, Extension &) const |
Private Attributes |
| int | fixtype_ |
| float | scale_ |
| float | x_align_ |
| float | y_align_ |
| CopyString | text_ |
| Glyph * | label_ |
| const Color * | color_ |
| GPolyLine * | gpl_ |
| boolean | erase_flag_ |
Friends |
| void | GPolyLine::label (GLabel *) |
Constructor & Destructor Documentation
| GLabel::GLabel |
( |
const char * |
s, |
|
|
const Color * |
, |
|
|
int |
fixtype = 1, |
|
|
float |
size = 12, |
|
|
float |
x_align = 0., |
|
|
float |
y_align = 0. | |
|
) |
| | |
| virtual GLabel::~GLabel |
( |
|
) |
[virtual] |
Member Function Documentation
| void GLabel::align |
( |
float |
x, |
|
|
float |
y | |
|
) |
| | |
| virtual void GLabel::allocate |
( |
Canvas * |
, |
|
|
const Allocation & |
, |
|
|
Extension & |
| |
|
) |
| | [virtual] |
| virtual Glyph* GLabel::clone |
( |
|
) |
const [virtual] |
| const Color* GLabel::color |
( |
|
) |
const [inline] |
| void GLabel::color |
( |
const Color * |
|
) |
|
| virtual void GLabel::draw |
( |
Canvas * |
, |
|
|
const Allocation & |
| |
|
) |
| | const [virtual] |
| boolean GLabel::erase_flag |
( |
|
) |
[inline] |
| boolean GLabel::fixed |
( |
|
) |
const [inline] |
| void GLabel::fixed |
( |
float |
scale |
) |
|
| int GLabel::fixtype |
( |
|
) |
const [inline] |
| GPolyLine* GLabel::labeled_line |
( |
|
) |
const [inline] |
| void GLabel::need |
( |
Canvas * |
, |
|
|
const Allocation & |
, |
|
|
Extension & |
| |
|
) |
| | const [private] |
| virtual void GLabel::pick |
( |
Canvas * |
, |
|
|
const Allocation & |
, |
|
|
int |
depth, |
|
|
Hit & |
| |
|
) |
| | [virtual] |
| void GLabel::relative |
( |
float |
scale |
) |
|
| virtual void GLabel::request |
( |
Requisition & |
|
) |
const [virtual] |
| virtual void GLabel::save |
( |
ostream & |
, |
|
|
Coord |
, |
|
|
Coord |
| |
|
) |
| | [virtual] |
| float GLabel::scale |
( |
|
) |
const [inline] |
| const char* GLabel::text |
( |
|
) |
const [inline] |
| void GLabel::text |
( |
const char * |
|
) |
|
| void GLabel::vfixed |
( |
float |
scale |
) |
|
| float GLabel::x_align |
( |
|
) |
const [inline] |
| float GLabel::y_align |
( |
|
) |
const [inline] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/hines/neuron/nrndox/src/ivoc/graph.h