MGD::DEVICE_BINARY Class Reference

Base implementation of MGD::DEVICE for 1-bit visuals. More...

#include <mi32/mg2binary.h>

Inheritance diagram for MGD::DEVICE_BINARY:
Inheritance graph
[legend]

List of all members.

Classes

class  CONTEXT

Public Member Functions

 DEVICE_BINARY ()
virtual ~DEVICE_BINARY ()
void ClearAll ()
ERRVALUE ComputeRegion (BINARYTOREGIONINTERFACE &bintoreg) const
bool GetRange (INT32 x, INT32 y, INT32 x2, INT32 &endx) const
bool GetValue (INT32 x, INT32 y) const
void SetAll (bool value=true)

Private Member Functions

virtual bool v_GetRange (INT32 x, INT32 y, INT32 x2, INT32 &endx) const =0
virtual bool v_GetValue (INT32 x, INT32 y) const =0
virtual void v_SetAll (bool value)=0

Detailed Description

Base implementation of MGD::DEVICE for 1-bit visuals.


Constructor & Destructor Documentation

MGD::DEVICE_BINARY::DEVICE_BINARY (  ) 

constructor

virtual MGD::DEVICE_BINARY::~DEVICE_BINARY (  )  [virtual]

Destructor.


Member Function Documentation

void MGD::DEVICE_BINARY::ClearAll (  )  [inline]

Clear the whole image to 0.

ERRVALUE MGD::DEVICE_BINARY::ComputeRegion ( BINARYTOREGIONINTERFACE bintoreg  )  const
bool MGD::DEVICE_BINARY::GetRange ( INT32  x,
INT32  y,
INT32  x2,
INT32 endx 
) const [inline]
Parameters:
x2 Maximum ending position
endx Ending position (inclusive) RETURNED
bool MGD::DEVICE_BINARY::GetValue ( INT32  x,
INT32  y 
) const [inline]
void MGD::DEVICE_BINARY::SetAll ( bool  value = true  )  [inline]

Set the whole image to 1 or 0.

virtual bool MGD::DEVICE_BINARY::v_GetRange ( INT32  x,
INT32  y,
INT32  x2,
INT32 endx 
) const [private, pure virtual]
Parameters:
x2 Maximum ending position
endx Ending position (inclusive) RETURNED
virtual bool MGD::DEVICE_BINARY::v_GetValue ( INT32  x,
INT32  y 
) const [private, pure virtual]
virtual void MGD::DEVICE_BINARY::v_SetAll ( bool  value  )  [private, pure virtual]

Set the whole image to 1 or 0.


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

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