Open Search
    DrawPort_GREYb8 Class Reference

    #include <c4d_drawport.h>

    Inheritance diagram for DrawPort_GREYb8:

    Public Types

    typedef UChar DP_PIX
     

    Public Member Functions

    DP_PIXGetPtr (Int32 x, Int32 y)
     
    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)
     
    virtual Vector32 GetPixelDirect (Int32 x, Int32 y)
     
    virtual Bool SetPixelCntP (Int32 x, Int32 y, Int32 cnt, UChar *buffer, Int32 inc, PIXELCNT flags)
     
    virtual void GetPixelCntP (Int32 x, Int32 y, Int32 cnt, UChar *buffer, Int32 inc, PIXELCNT flags)
     
    - Public Member Functions inherited from IndependentDrawPort
    virtual ~IndependentDrawPort ()
     
    virtual IMAGERESULT Init (Int32 x, Int32 y)
     
    virtual void Free ()
     
    - 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 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)
     

    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.

    Member Typedef Documentation

    ◆ DP_PIX

    typedef UChar DP_PIX

    Member Function Documentation

    ◆ GetPtr()

    DP_PIX* GetPtr ( Int32  x,
    Int32  y 
    )

    ◆ SetPixel()

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

    Reimplemented from IndependentDrawPort.

    ◆ GetPixel()

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

    Reimplemented from IndependentDrawPort.

    ◆ GetPixelDirect()

    virtual Vector32 GetPixelDirect ( Int32  x,
    Int32  y 
    )
    virtual

    Reimplemented from DrawPort.

    ◆ SetPixelCntP()

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

    Implements DrawPort.

    ◆ GetPixelCntP()

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

    Implements DrawPort.