Open Search
    IndependentDrawPort Class Reference

    #include <c4d_drawport.h>

    Inheritance diagram for IndependentDrawPort:

    Public Member Functions

    virtual ~IndependentDrawPort ()
     
    virtual IMAGERESULT Init (Int32 x, Int32 y)
     
    virtual void Free ()
     
    virtual Bool SetPixel (Int32 x, Int32 y, Int32 red, Int32 green, Int32 blue, Int32 alpha)
     
    virtual void GetPixel (Int32 x, Int32 y, UInt16 *red, UInt16 *green, UInt16 *blue)
     
    - Public Member Functions inherited from DrawPort
     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 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
     

    Additional Inherited Members

    - Static Public Member Functions inherited from DrawPort
    static DrawPortAlloc (DrawPortTypes type, Int32 BitsPerPixel, void *data)
     
    - Protected Attributes inherited from DrawPort
    Int32 bw
     
    Int32 bh
     
    Int32 bt
     
    Int Bpz
     
    UCharBits
     
    DrawPortTypes type
     
    BaseBitmapparent
     

    Detailed Description

    Private. Internal.

    Constructor & Destructor Documentation

    ◆ ~IndependentDrawPort()

    virtual ~IndependentDrawPort ( )
    virtual

    Member Function Documentation

    ◆ Init()

    virtual IMAGERESULT Init ( Int32  x,
    Int32  y 
    )
    virtual

    Implements DrawPort.

    ◆ Free()

    virtual void Free ( )
    virtual

    Reimplemented from DrawPort.

    ◆ SetPixel()

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

    ◆ GetPixel()

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