|
VSTGUI
4.4
Graphical User Interface Framework not only for VST plugins
|
direct pixel access to a CBitmap More...
Inheritance diagram for CBitmapPixelAccess:Public Member Functions | |
| bool | operator++ () |
| advance position More... | |
| bool | setPosition (uint32_t x, uint32_t y) |
| set current position More... | |
| uint32_t | getX () const |
| return current x position More... | |
| uint32_t | getY () const |
| return current y position More... | |
| virtual void | getColor (CColor &c) const =0 |
| get color of current pixel More... | |
| virtual void | setColor (const CColor &c)=0 |
| set color of current pixel More... | |
| void | getValue (uint32_t &value) |
| get native color value More... | |
| void | setValue (uint32_t value) |
| set native color value More... | |
| uint32_t | getBitmapWidth () const |
| uint32_t | getBitmapHeight () const |
| IPlatformBitmapPixelAccess * | getPlatformBitmapPixelAccess () const |
Public Member Functions inherited from CBaseObject | |
| CBaseObject () | |
| virtual | ~CBaseObject () |
| virtual void | beforeDelete () |
| virtual void | forget () |
| decrease refcount and delete object if refcount == 0 More... | |
| virtual void | remember () |
| increase refcount More... | |
| virtual int32_t | getNbReference () const |
| get refcount More... | |
| virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Static Public Member Functions | |
| static CBitmapPixelAccess * | create (CBitmap *bitmap, bool alphaPremultiplied=true) |
| create an accessor. More... | |
Protected Member Functions | |
| CBitmapPixelAccess () | |
| ~CBitmapPixelAccess () | |
| void | init (CBitmap *bitmap, IPlatformBitmapPixelAccess *pixelAccess) |
Protected Attributes | |
| CBitmap * | bitmap |
| IPlatformBitmapPixelAccess * | pixelAccess |
| uint8_t * | currentPos |
| uint8_t * | address |
| uint32_t | bytesPerRow |
| uint32_t | maxX |
| uint32_t | maxY |
| uint32_t | x |
| uint32_t | y |
direct pixel access to a CBitmap
|
protected |
|
protected |
|
static |
create an accessor.
can return 0 if platform implementation does not support this. result needs to be forgotten before the CBitmap reflects the change to the pixels
|
inline |
|
inline |
|
pure virtual |
get color of current pixel
|
inline |
|
inline |
get native color value
|
inline |
return current x position
|
inline |
return current y position
|
protected |
|
inline |
advance position
|
pure virtual |
set color of current pixel
|
inline |
set current position
|
inline |
set native color value
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |