TextInfoBarData Class Reference

To encapsulate all the data required to interface with the text infobar. More...

#include <textinfo.h>

Inheritance diagram for TextInfoBarData:

CCObject SimpleCCObject List of all members.

Public Member Functions

 TextInfoBarData ()
 Constructor.

Static Public Member Functions

static UINT32 PointToLog (double Points)
static double LogToPoint (UINT32 Log)

Static Public Attributes

static String_64 FontName
static FontClass FontType
static JustifyMode Justify
static BOOL Bold
static BOOL Italic
static BOOL UnderLine
static ScriptModes CurrentScriptMode
static FIXED16 AspectRatio
static MILLIPOINT FontSize
static MILLIPOINT BaseLineShift
static MILLIPOINT LineSpace
static double LineSpacePercent
static BOOL IsLineSpaceAPercent
static INT32 HorizontalKern
static INT32 Tracking
static BOOL AutoKerning

Detailed Description

To encapsulate all the data required to interface with the text infobar.

Author:
Chris_Parks (Xara Group Ltd) <camelotdev@xara.com>
Date:
22/5/94

Definition at line 129 of file textinfo.h.


Constructor & Destructor Documentation

TextInfoBarData::TextInfoBarData  ) 
 

Constructor.

Author:
Chris_Snook (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/02/95
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Definition at line 240 of file textinfo.cpp.

00241 {
00242     FontType = FC_UNDEFINED;
00243     Bold = FALSE;
00244     Italic = FALSE;
00245     UnderLine = FALSE;
00246     CurrentScriptMode = NormalScript;
00247     AspectRatio = 1;
00248     FontSize = 16000;
00249     BaseLineShift = 0;
00250     HorizontalKern = 0;
00251     Tracking = 0;
00252     LineSpace = 0;
00253     IsLineSpaceAPercent = TRUE;
00254     LineSpacePercent = 100;
00255     Justify = JustifyLeft;
00256     AutoKerning = TRUE;
00257 }


Member Function Documentation

static double TextInfoBarData::LogToPoint UINT32  Log  )  [inline, static]
 

Definition at line 152 of file textinfo.h.

00152 { return (double)Log/1000;}

static UINT32 TextInfoBarData::PointToLog double  Points  )  [inline, static]
 

Definition at line 151 of file textinfo.h.

00151 { return (UINT32) (Points*1000);}


Member Data Documentation

FIXED16 TextInfoBarData::AspectRatio [static]
 

Definition at line 143 of file textinfo.h.

BOOL TextInfoBarData::AutoKerning [static]
 

Definition at line 153 of file textinfo.h.

MILLIPOINT TextInfoBarData::BaseLineShift [static]
 

Definition at line 145 of file textinfo.h.

BOOL TextInfoBarData::Bold [static]
 

Definition at line 139 of file textinfo.h.

ScriptModes TextInfoBarData::CurrentScriptMode [static]
 

Definition at line 142 of file textinfo.h.

String_64 TextInfoBarData::FontName [static]
 

Definition at line 136 of file textinfo.h.

MILLIPOINT TextInfoBarData::FontSize [static]
 

Definition at line 144 of file textinfo.h.

FontClass TextInfoBarData::FontType [static]
 

Definition at line 137 of file textinfo.h.

INT32 TextInfoBarData::HorizontalKern [static]
 

Definition at line 149 of file textinfo.h.

BOOL TextInfoBarData::IsLineSpaceAPercent [static]
 

Definition at line 148 of file textinfo.h.

BOOL TextInfoBarData::Italic [static]
 

Definition at line 140 of file textinfo.h.

JustifyMode TextInfoBarData::Justify [static]
 

Definition at line 138 of file textinfo.h.

MILLIPOINT TextInfoBarData::LineSpace [static]
 

Definition at line 146 of file textinfo.h.

double TextInfoBarData::LineSpacePercent [static]
 

Definition at line 147 of file textinfo.h.

INT32 TextInfoBarData::Tracking [static]
 

Definition at line 150 of file textinfo.h.

BOOL TextInfoBarData::UnderLine [static]
 

Definition at line 141 of file textinfo.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:01:44 2007 for Camelot by  doxygen 1.4.4