DrawPort Class Referenceabstract

#include <c4d_drawport.h>

Inheritance diagram for DrawPort:

Public Member Functions

 DrawPort ()
 
virtual ~DrawPort ()
 
void SetBaseBitmap (BaseBitmap *t_parent)
 
BaseBitmapGetBaseBitmap ()
 
const BaseBitmapGetBaseBitmap () const
 
DrawPortTypes GetType () const
 
Int32 GetBw ()
 
Int32 GetBh ()
 
Int32 GetBt ()
 
Int32 GetBpz ()
 
virtual Bool CloneIt (DrawPort *dest)
 
virtual void ScaleIt (DrawPort *dest, Int32 hell, Bool sample, Bool highq, Bool colorcorrection)
 
virtual void Free ()
 
virtual IMAGERESULT Init (Int32 x, Int32 y)=0
 
virtual Bool SetPixel (Int32 x, Int32 y, Int32 red, Int32 green, Int32 blue, Int32 alpha)=0
 
virtual void GetPixel (Int32 x, Int32 y, UInt16 *red, UInt16 *green, UInt16 *blue)=0
 
virtual Vector32 GetPixelDirect (Int32 x, Int32 y)
 
virtual Bool SetLineDirect (Int32 y, void *data, Int32 depth)
 
virtual Bool SetPixelCntX (Int32 x, Int32 y, Int32 cnt, UChar *buffer, Int32 inc, COLORMODE srcmode, PIXELCNT flags)
 
virtual void GetPixelCntX (Int32 x, Int32 y, Int32 cnt, UChar *buffer, Int32 inc, COLORMODE dstmode, PIXELCNT flags, ColorProfileConvert *conversion)
 
virtual Bool SetPixelCntP (Int32 x, Int32 y, Int32 cnt, UChar *buffer, Int32 inc, PIXELCNT flags)=0
 
virtual void GetPixelCntP (Int32 x, Int32 y, Int32 cnt, UChar *buffer, Int32 inc, PIXELCNT flags)=0
 

Static Public Member Functions

static DrawPortAlloc (DrawPortTypes type, Int32 BitsPerPixel, void *data)
 

Protected Attributes

Int32 bw
 
Int32 bh
 
Int32 bt
 
Int Bpz
 
UCharBits
 
DrawPortTypes type
 
BaseBitmapparent
 

Detailed Description

Private. Internal.

Constructor & Destructor Documentation

◆ DrawPort()

DrawPort ( )

◆ ~DrawPort()

virtual ~DrawPort ( )
virtual

Member Function Documentation

◆ Alloc()

static DrawPort* Alloc ( DrawPortTypes  type,
Int32  BitsPerPixel,
void *  data 
)
static

◆ SetBaseBitmap()

void SetBaseBitmap ( BaseBitmap t_parent)

◆ GetBaseBitmap() [1/2]

BaseBitmap* GetBaseBitmap ( )

◆ GetBaseBitmap() [2/2]

const BaseBitmap* GetBaseBitmap ( ) const

◆ GetType()

DrawPortTypes GetType ( ) const

◆ GetBw()

Int32 GetBw ( )

◆ GetBh()

Int32 GetBh ( )

◆ GetBt()

Int32 GetBt ( )

◆ GetBpz()

Int32 GetBpz ( )

◆ CloneIt()

virtual Bool CloneIt ( DrawPort dest)
virtual

◆ ScaleIt()

virtual void ScaleIt ( DrawPort dest,
Int32  hell,
Bool  sample,
Bool  highq,
Bool  colorcorrection 
)
virtual

◆ Free()

virtual void Free ( )
virtual

Reimplemented in IndependentDrawPort.

◆ Init()

virtual IMAGERESULT Init ( Int32  x,
Int32  y 
)
pure virtual

Implemented in IndependentDrawPort.

◆ SetPixel()

virtual Bool SetPixel ( Int32  x,
Int32  y,
Int32  red,
Int32  green,
Int32  blue,
Int32  alpha 
)
pure virtual

◆ GetPixel()

virtual void GetPixel ( Int32  x,
Int32  y,
UInt16 red,
UInt16 green,
UInt16 blue 
)
pure virtual

◆ GetPixelDirect()

virtual Vector32 GetPixelDirect ( Int32  x,
Int32  y 
)
virtual

◆ SetLineDirect()

virtual Bool SetLineDirect ( Int32  y,
void *  data,
Int32  depth 
)
virtual

◆ SetPixelCntX()

virtual Bool SetPixelCntX ( Int32  x,
Int32  y,
Int32  cnt,
UChar buffer,
Int32  inc,
COLORMODE  srcmode,
PIXELCNT  flags 
)
virtual

◆ GetPixelCntX()

virtual void GetPixelCntX ( Int32  x,
Int32  y,
Int32  cnt,
UChar buffer,
Int32  inc,
COLORMODE  dstmode,
PIXELCNT  flags,
ColorProfileConvert conversion 
)
virtual

◆ SetPixelCntP()

virtual Bool SetPixelCntP ( Int32  x,
Int32  y,
Int32  cnt,
UChar buffer,
Int32  inc,
PIXELCNT  flags 
)
pure virtual

◆ GetPixelCntP()

virtual void GetPixelCntP ( Int32  x,
Int32  y,
Int32  cnt,
UChar buffer,
Int32  inc,
PIXELCNT  flags 
)
pure virtual

Member Data Documentation

◆ bw

Int32 bw
protected

◆ bh

Int32 bh
protected

◆ bt

Int32 bt
protected

◆ Bpz

Int Bpz
protected

◆ Bits

UChar* Bits
protected

◆ type

DrawPortTypes type
protected

◆ parent

BaseBitmap* parent
protected