HTML::BORDER Class Reference

The definition of a border in a STYLE. More...

#include <mi32/htmlstyle.h>

List of all members.

Public Types

enum  SIDE { SIDE_Top, SIDE_Bottom, SIDE_Left, SIDE_Right }
enum  TYPE {
  TYPE_None = 0, TYPE_Dotted, TYPE_Dashed, TYPE_Solid,
  TYPE_Double, TYPE_Groove, TYPE_Ridge, TYPE_Inset,
  TYPE_Outset
}

Public Member Functions

 BORDER (const BORDER &)
 BORDER ()
void Combine (const BORDER &rhs)
void Draw (MGD::CONTEXT *gc, SIDE side, INT32 x1, INT32 y1, INT32 x2, INT32 y2, const ELEMENT *Element, const BORDER &PrevBorder, const BORDER &NextBorder) const
const COLORGetColor () const
const ENUM< TYPE > & GetType () const
const MEASUREMENTGetWidth () const
bool IsColorSet () const
bool IsSet () const
bool operator!= (const BORDER &rhs) const
bool operator== (const BORDER &rhs) const

Detailed Description

The definition of a border in a STYLE.


Member Enumeration Documentation

Enumerator:
SIDE_Top 
SIDE_Bottom 
SIDE_Left 
SIDE_Right 
Enumerator:
TYPE_None 
TYPE_Dotted 
TYPE_Dashed 
TYPE_Solid 
TYPE_Double 
TYPE_Groove 
TYPE_Ridge 
TYPE_Inset 
TYPE_Outset 

Constructor & Destructor Documentation

HTML::BORDER::BORDER (  ) 
HTML::BORDER::BORDER ( const BORDER  ) 

Member Function Documentation

void HTML::BORDER::Combine ( const BORDER rhs  ) 
void HTML::BORDER::Draw ( MGD::CONTEXT gc,
SIDE  side,
INT32  x1,
INT32  y1,
INT32  x2,
INT32  y2,
const ELEMENT Element,
const BORDER PrevBorder,
const BORDER NextBorder 
) const
const COLOR& HTML::BORDER::GetColor (  )  const [inline]
const ENUM<TYPE>& HTML::BORDER::GetType (  )  const [inline]
const MEASUREMENT& HTML::BORDER::GetWidth (  )  const [inline]
bool HTML::BORDER::IsColorSet (  )  const [inline]
bool HTML::BORDER::IsSet (  )  const [inline]

Return true if any part of the border is set.

bool HTML::BORDER::operator!= ( const BORDER rhs  )  const
bool HTML::BORDER::operator== ( const BORDER rhs  )  const

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

Generated on Sun Oct 7 21:35:01 2012 for TNTsdk 2012 by  doxygen 1.6.1