/Users/ericb/Desktop/SRC680_m247/starmath/inc/rect.hxx File Reference

#include <new>
#include <tools/gen.hxx>
#include <vcl/outdev.hxx>
#include <vcl/metric.hxx>
#include <tools/debug.hxx>
#include "format.hxx"

Include dependency graph for rect.hxx:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SmRect

Defines

#define SM_RECT_CORE   0x0001
#define SM_RECT_ITALIC   0x0002
#define SM_RECT_LINES   0x0004
#define SM_RECT_MID   0x0008

Enumerations

enum  RectPos {
  RP_LEFT, RP_RIGHT, RP_TOP, RP_BOTTOM,
  RP_ATTRIBUT
}
enum  RectHorAlign { RHA_LEFT, RHA_CENTER, RHA_RIGHT }
enum  RectVerAlign {
  RVA_TOP, RVA_MID, RVA_BOTTOM, RVA_BASELINE,
  RVA_CENTERY, RVA_ATTRIBUT_HI, RVA_ATTRIBUT_MID, RVA_ATTRIBUT_LO
}
enum  RectCopyMBL { RCP_THIS, RCP_ARG, RCP_NONE, RCP_XOR }

Functions

BOOL SmGetGlyphBoundRect (const OutputDevice &rDev, const XubString &rText, Rectangle &rRect)
BOOL SmIsMathAlpha (const XubString &rText)
long SmFromTo (long nFrom, long nTo, double fRelDist)


Define Documentation

#define SM_RECT_CORE   0x0001

Definition at line 82 of file rect.hxx.

Referenced by SmRect::Draw(), SmTextNode::Draw(), SmRectangleNode::Draw(), SmRootSymbolNode::Draw(), SmPolyLineNode::Draw(), and SmNode::Draw().

#define SM_RECT_ITALIC   0x0002

Definition at line 83 of file rect.hxx.

Referenced by SmRect::Draw(), SmTextNode::Draw(), SmRectangleNode::Draw(), SmRootSymbolNode::Draw(), SmPolyLineNode::Draw(), and SmNode::Draw().

#define SM_RECT_LINES   0x0004

Definition at line 84 of file rect.hxx.

Referenced by SmRect::Draw(), SmTextNode::Draw(), SmRectangleNode::Draw(), SmRootSymbolNode::Draw(), SmPolyLineNode::Draw(), and SmNode::Draw().

#define SM_RECT_MID   0x0008

Definition at line 85 of file rect.hxx.

Referenced by SmRect::Draw(), SmTextNode::Draw(), SmRectangleNode::Draw(), SmRootSymbolNode::Draw(), SmPolyLineNode::Draw(), and SmNode::Draw().


Enumeration Type Documentation

enum RectCopyMBL

Enumerator:
RCP_THIS 
RCP_ARG 
RCP_NONE 
RCP_XOR 

Definition at line 103 of file rect.hxx.

enum RectHorAlign

Enumerator:
RHA_LEFT 
RHA_CENTER 
RHA_RIGHT 

Definition at line 94 of file rect.hxx.

enum RectPos

Enumerator:
RP_LEFT 
RP_RIGHT 
RP_TOP 
RP_BOTTOM 
RP_ATTRIBUT 

Definition at line 88 of file rect.hxx.

enum RectVerAlign

Enumerator:
RVA_TOP 
RVA_MID 
RVA_BOTTOM 
RVA_BASELINE 
RVA_CENTERY 
RVA_ATTRIBUT_HI 
RVA_ATTRIBUT_MID 
RVA_ATTRIBUT_LO 

Definition at line 97 of file rect.hxx.


Function Documentation

long SmFromTo ( long  nFrom,
long  nTo,
double  fRelDist 
) [inline]

Definition at line 67 of file rect.hxx.

Referenced by SmRect::AlignTo(), SmSubSupNode::Arrange(), and SmRect::BuildRect().

BOOL SmGetGlyphBoundRect ( const OutputDevice &  rDev,
const XubString &  rText,
Rectangle &  rRect 
)

Definition at line 725 of file rect.cxx.

References SM_MOD1.

Referenced by SmRect::BuildRect().

BOOL SmIsMathAlpha ( const XubString &  rText  ) 

Definition at line 82 of file rect.cxx.

References aMathAlpha.

Referenced by SmRect::BuildRect().


Generated on Wed Feb 20 17:22:06 2008 for maths by  doxygen 1.5.1