GRAPHICLAYOUT::ITEMPOSITION Class Reference

#include <mi32/grlayout.h>

Inheritance diagram for GRAPHICLAYOUT::ITEMPOSITION:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ITEMPOSITION (const ITEMPOSITION &rhs)
 ITEMPOSITION ()
virtual ~ITEMPOSITION ()
int Compare (const ITEMPOSITION &rhs) const
const INT32 GetGroup () const
int GetLeftGuide () const
DOUBLE GetLeftOffset () const
void GetRect (DRECT2D &rect)
const DRECT2DGetRect () const
int GetRightGuide () const
DOUBLE GetRightOffset () const
INT32 GetTopGuide () const
DOUBLE GetTopOffset () const
void SetGroup (INT32 group)

Protected Attributes

INT32 m_Group
INT32 m_LeftGuide
DOUBLE m_LeftOffset
DRECT2D m_rect
INT32 m_RightGuide
DOUBLE m_RightOffset
INT32 m_TopGuide
DOUBLE m_TopOffset

Constructor & Destructor Documentation

GRAPHICLAYOUT::ITEMPOSITION::ITEMPOSITION (  ) 
GRAPHICLAYOUT::ITEMPOSITION::ITEMPOSITION ( const ITEMPOSITION rhs  ) 

Copy consturctor.

virtual GRAPHICLAYOUT::ITEMPOSITION::~ITEMPOSITION (  )  [inline, virtual]

Member Function Documentation

int GRAPHICLAYOUT::ITEMPOSITION::Compare ( const ITEMPOSITION rhs  )  const

Compare two positions for item sorting Returns -1 if *this < rhs, 0 if this == rhs, 1 if *this > rhs.

const INT32 GRAPHICLAYOUT::ITEMPOSITION::GetGroup (  )  const [inline]

Get the group number of the item (0 if not part of a group).

int GRAPHICLAYOUT::ITEMPOSITION::GetLeftGuide (  )  const [inline]

Get the left guide number.

Guide -1 means it's "floating" in that direction. Things are allowed to float on either left or right, but not both.

DOUBLE GRAPHICLAYOUT::ITEMPOSITION::GetLeftOffset (  )  const [inline]

Return the offset to the left guide (in points).

Meaningless if GetLeftGuide() returns -1

void GRAPHICLAYOUT::ITEMPOSITION::GetRect ( DRECT2D rect  )  [inline]

Use other method

const DRECT2D& GRAPHICLAYOUT::ITEMPOSITION::GetRect (  )  const [inline]

Get the size rectangle for the item.

int GRAPHICLAYOUT::ITEMPOSITION::GetRightGuide (  )  const [inline]

Get the right guide number.

Guide -1 means it's "floating" in that direction. Things are allowed to float on either left or right, but not both.

DOUBLE GRAPHICLAYOUT::ITEMPOSITION::GetRightOffset (  )  const [inline]

Return the offset to the right guide (in points).

Meaningless if GetRightGuide() returns -1

INT32 GRAPHICLAYOUT::ITEMPOSITION::GetTopGuide (  )  const [inline]

Get the top guide number.

Guide -1 means it's attached to the item "above" it (which you can get with GetTopItem()

DOUBLE GRAPHICLAYOUT::ITEMPOSITION::GetTopOffset (  )  const [inline]

Return the offset to the item or guide above us (in points).

void GRAPHICLAYOUT::ITEMPOSITION::SetGroup ( INT32  group  )  [inline]

Member Data Documentation

if -1, relateive to m_pPrev


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

Generated on Sun Oct 7 21:33:28 2012 for TNTsdk 2012 by  doxygen 1.6.1