DL_TextData Struct Reference

#include <dl_entities.h>

List of all members.


Detailed Description

Text Data.

Author:
Andrew Mustun

Definition at line 633 of file dl_entities.h.

Public Member Functions

 DL_TextData (double tipx, double tipy, double tipz, double tapx, double tapy, double tapz, double tHeight, double tXScaleFactor, int tTextGenerationFlags, int tHJustification, int tVJustification, const string &tText, const string &tStyle, double tAngle)
 Constructor.

Public Attributes

double ipx
double ipy
double ipz
double apx
double apy
double apz
double height
double xScaleFactor
int textGenerationFlags
int hJustification
 Horizontal justification.
int vJustification
 Vertical justification.
string text
string style
double angle


Constructor & Destructor Documentation

DL_TextData::DL_TextData ( double  tipx,
double  tipy,
double  tipz,
double  tapx,
double  tapy,
double  tapz,
double  tHeight,
double  tXScaleFactor,
int  tTextGenerationFlags,
int  tHJustification,
int  tVJustification,
const string &  tText,
const string &  tStyle,
double  tAngle 
) [inline]

Constructor.

Parameters: see member variables.

Definition at line 639 of file dl_entities.h.

References angle, apx, apy, apz, height, hJustification, ipx, ipy, ipz, style, text, textGenerationFlags, vJustification, and xScaleFactor.


Member Data Documentation

double DL_TextData::ipx

X Coordinate of insertion point.

Definition at line 668 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

double DL_TextData::ipy

Y Coordinate of insertion point.

Definition at line 670 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

double DL_TextData::ipz

Z Coordinate of insertion point.

Definition at line 672 of file dl_entities.h.

Referenced by Builder::addText(), and DL_TextData().

double DL_TextData::apx

X Coordinate of alignment point.

Definition at line 675 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

double DL_TextData::apy

Y Coordinate of alignment point.

Definition at line 677 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

double DL_TextData::apz

Z Coordinate of alignment point.

Definition at line 679 of file dl_entities.h.

Referenced by Builder::addText(), and DL_TextData().

double DL_TextData::height

Text height

Definition at line 682 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

double DL_TextData::xScaleFactor

Relative X scale factor.

Definition at line 684 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

int DL_TextData::textGenerationFlags

0 = default, 2 = Backwards, 4 = Upside down

Definition at line 686 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

int DL_TextData::hJustification

Horizontal justification.

0 = Left (default), 1 = Center, 2 = Right, 3 = Aligned, 4 = Middle, 5 = Fit For 3, 4, 5 the vertical alignment has to be 0.

Definition at line 694 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

int DL_TextData::vJustification

Vertical justification.

0 = Baseline (default), 1 = Bottom, 2 = Middle, 3= Top

Definition at line 700 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

string DL_TextData::text

Text string.

Definition at line 702 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

string DL_TextData::style

Style (font).

Definition at line 704 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().

double DL_TextData::angle

Rotation angle of dimension text away from default orientation.

Definition at line 706 of file dl_entities.h.

Referenced by Builder::addText(), DL_TextData(), and DL_Dxf::writeText().


The documentation for this struct was generated from the following file:
Generated on Tue Oct 28 16:51:53 2008 for Quantum GIS API Documentation by  doxygen 1.5.1