MGD::DEVICE_BINARY Class Reference

#include <mi32/mg2binary.h>

Inheritance diagram for MGD::DEVICE_BINARY:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

MGD::DEVICE_BINARY::DEVICE_BINARY  )  [inline]
 

constructor

Definition at line 44 of file mg2binary.h.

virtual MGD::DEVICE_BINARY::~DEVICE_BINARY  )  [inline, virtual]
 

Destructor.

Definition at line 47 of file mg2binary.h.


Member Function Documentation

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

Clear the whole image to 0.

Definition at line 64 of file mg2binary.h.

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

Definition at line 74 of file mg2binary.h.

bool MGD::DEVICE_BINARY::GetValue INT32  x,
INT32  y
const [inline]
 

Definition at line 83 of file mg2binary.h.

void MGD::DEVICE_BINARY::SetAll bool  value = true  )  [inline]
 

Set the whole image to 1 or 0.

Definition at line 89 of file mg2binary.h.

virtual COLORSPACE MGD::DEVICE_BINARY::v_GetColorSpace  )  const [inline, virtual]
 

Return the "native" COLORSPACE used by the display.

Image operations using this colorspace will be more effeciant. Default implementation determines the colorspace from the DeviceInfo

Reimplemented from MGD::DEVICE.

Definition at line 49 of file mg2binary.h.

virtual INT32 MGD::DEVICE_BINARY::v_GetLineBytes  )  const [virtual]
 

Return the number of bytes needed to hold one line of image data.

Should be overridden by derived class unless images are not possible (such as a pen plotter)

Reimplemented from MGD::DEVICE.

virtual bool MGD::DEVICE_BINARY::v_UseAntiAliasing  )  const [inline, virtual]
 

Indicate that we don't want low-level anti-aliasing as that would be kind of pointless on a binary device.

Reimplemented from MGD::DEVICE.

Definition at line 58 of file mg2binary.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:20:39 2004 for TNTsdk by  doxygen 1.3.8-20040913