Fission FSN
Loading...
Searching...
No Matches
fsCBrush Class Reference

#include <fsCBrush.h>

Public Member Functions

void blend (std::shared_ptr< fsCBrush > pMask)
void finalise ()
std::shared_ptr< fsCBrushoriginalBrushGet () const
std::shared_ptr< fsITexturetextureGet () const
fsSColour4B pixelGet (fsS32 pCol, fsS32 pRow)
void pixelSet (fsS32 pCol, fsS32 pRow, const fsSColour4B &pPixel)
void textureCopyThroughStencil (std::shared_ptr< fsCBrush > pSrc, std::shared_ptr< fsCBrush > pStencil, fsS32 pX, fsS32 pY, fsS32 pAlphaHitMaskThreshold=0) const
void textureCopyInto (std::shared_ptr< fsCBrush > pSrc, fsS32 pX, fsS32 pY)
void hitTestDelegateSet (std::shared_ptr< fsCBrush > pHitDelegate)
fsPoint const & hitTestDimensionsGet () const
fsPoint const & dimensionsGet () const
fsPoint const & offsetGet () const
fsBool hasHitMapGet () const
fsBool hitTest (const fsPoint &pLocalPoint) const
fsBool hasAlphaChannelGet () const
void sanityCheck (fsStr const &pName) const
void initEmpty (std::shared_ptr< fsITexture > pTexture, fsPoint const &pDimensions)
void init (std::shared_ptr< fsITexture > pTexture, fsPoint const &pOffset, fsPoint const &pDimensions)
void init (std::shared_ptr< fsCBrush > pBrush, fsPoint const &pOffset, fsPoint const &pDimensions)
 fsCBrush ()
 ~fsCBrush ()

Constructor & Destructor Documentation

◆ fsCBrush()

fsCBrush::fsCBrush ( )

◆ ~fsCBrush()

fsCBrush::~fsCBrush ( )

Member Function Documentation

◆ blend()

void fsCBrush::blend ( std::shared_ptr< fsCBrush > pMask)

◆ dimensionsGet()

fsPoint const & fsCBrush::dimensionsGet ( ) const

◆ finalise()

void fsCBrush::finalise ( )

◆ hasAlphaChannelGet()

fsBool fsCBrush::hasAlphaChannelGet ( ) const

◆ hasHitMapGet()

fsBool fsCBrush::hasHitMapGet ( ) const

◆ hitTest()

fsBool fsCBrush::hitTest ( const fsPoint & pLocalPoint) const

◆ hitTestDelegateSet()

void fsCBrush::hitTestDelegateSet ( std::shared_ptr< fsCBrush > pHitDelegate)

◆ hitTestDimensionsGet()

fsPoint const & fsCBrush::hitTestDimensionsGet ( ) const

◆ init() [1/2]

void fsCBrush::init ( std::shared_ptr< fsCBrush > pBrush,
fsPoint const & pOffset,
fsPoint const & pDimensions )

◆ init() [2/2]

void fsCBrush::init ( std::shared_ptr< fsITexture > pTexture,
fsPoint const & pOffset,
fsPoint const & pDimensions )

◆ initEmpty()

void fsCBrush::initEmpty ( std::shared_ptr< fsITexture > pTexture,
fsPoint const & pDimensions )

◆ offsetGet()

fsPoint const & fsCBrush::offsetGet ( ) const

◆ originalBrushGet()

std::shared_ptr< fsCBrush > fsCBrush::originalBrushGet ( ) const

◆ pixelGet()

fsSColour4B fsCBrush::pixelGet ( fsS32 pCol,
fsS32 pRow )

◆ pixelSet()

void fsCBrush::pixelSet ( fsS32 pCol,
fsS32 pRow,
const fsSColour4B & pPixel )

◆ sanityCheck()

void fsCBrush::sanityCheck ( fsStr const & pName) const

◆ textureCopyInto()

void fsCBrush::textureCopyInto ( std::shared_ptr< fsCBrush > pSrc,
fsS32 pX,
fsS32 pY )

◆ textureCopyThroughStencil()

void fsCBrush::textureCopyThroughStencil ( std::shared_ptr< fsCBrush > pSrc,
std::shared_ptr< fsCBrush > pStencil,
fsS32 pX,
fsS32 pY,
fsS32 pAlphaHitMaskThreshold = 0 ) const

◆ textureGet()

std::shared_ptr< fsITexture > fsCBrush::textureGet ( ) const

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