Logo Search packages:      
Sourcecode: octplot version File versions  Download package

Text Class Reference

#include <text.h>

Inheritance diagram for Text:

List of all members.


Detailed Description

Holds text objects.

Definition at line 27 of file text.h.


Public Member Functions

virtual void DeleteChild (ocpl::Handle Child)
virtual void DeleteMe ()
void draw ()
Object * FindParentOfType (std::string type)
 Looks for a parent of the current object of a certain type.
virtual void Get (ocpl::command &com)
ocpl::Handle GetHandle ()
Property * GetProperty (char const *Name)
double h ()
 text height
double lh ()
 text height
virtual void Parse (ocpl::command &com)
void PostSet (ocpl::command &com)
virtual bool PreSet (ocpl::command &com)
virtual void Set (ocpl::command &com)
virtual void SetPrinting (bool set)
void SetProperty (char const *nm, Property *newprop)
void Soil ()
 Text (ocpl::Handle Parent, const char *_text, ocpl::Real _x, ocpl::Real _y, ocpl::Real _z)
double w ()
 text width

Public Attributes

ocpl::Real lmax [3]
ocpl::Real lmin [3]
ocpl::Real max [3]
ocpl::Real min [3]

Protected Attributes

bool after_draw
 did we draw already ?
bool dirty
bool printing
PropMap Properties
ocpl::Handle Self

Private Member Functions

void CalcWH ()
int SetFont (std::string &psfontname)

Private Attributes

double _h
double _lh
double _w
FontType * Font

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index