HTML::STYLE::EDGE Class Reference

#include <mi32/htmlstyle.h>

List of all members.

Public Member Functions

 EDGE (const EDGE &)
 EDGE (BORDER::SIDE side)
void Combine (const EDGE &)
bool CompareSize (const EDGE &other) const
const BORDERGetBorder () const
const MEASUREMENTGetMargin () const
const MEASUREMENTGetOffset () const
const MEASUREMENTGetPadding () const
double GetWidth (MGD::CONTEXT *gc, const ELEMENT *) const
bool IsInheritable () const

Constructor & Destructor Documentation

HTML::STYLE::EDGE::EDGE ( BORDER::SIDE  side  ) 
HTML::STYLE::EDGE::EDGE ( const EDGE  ) 

Member Function Documentation

void HTML::STYLE::EDGE::Combine ( const EDGE  ) 
bool HTML::STYLE::EDGE::CompareSize ( const EDGE other  )  const

See if this border would result in the same size as another border.

This compares fonts, positions, margins, padding, borders, etc. and returns true if the styles are the same in all those ways.

const BORDER& HTML::STYLE::EDGE::GetBorder (  )  const [inline]
const MEASUREMENT& HTML::STYLE::EDGE::GetMargin (  )  const [inline]
const MEASUREMENT& HTML::STYLE::EDGE::GetOffset (  )  const [inline]
const MEASUREMENT& HTML::STYLE::EDGE::GetPadding (  )  const [inline]
double HTML::STYLE::EDGE::GetWidth ( MGD::CONTEXT gc,
const ELEMENT  
) const

Get the total width of the edge, including margin, padding and border.

bool HTML::STYLE::EDGE::IsInheritable (  )  const

Return false if any members are set which cannot be inherited from a parent element.

Otherwise return true.


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