iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Public Member Functions | List of all members
IGraphicsNanoVG::Bitmap Class Reference
Inheritance diagram for IGraphicsNanoVG::Bitmap:
[legend]

Public Member Functions

 Bitmap (NVGcontext *pContext, const char *path, double sourceScale, int nvgImageID, bool shared=false)
 
 Bitmap (IGraphicsNanoVG *pGraphics, NVGcontext *pContext, int width, int height, float scale, float drawScale)
 
 Bitmap (NVGcontext *pContext, int width, int height, const uint8_t *pData, float scale, float drawScale)
 
NVGframebuffer * GetFBO () const
 
- Public Member Functions inherited from APIBitmap
 APIBitmap (BitmapData pBitmap, int w, int h, float scale, float drawScale)
 APIBitmap constructor. More...
 
 APIBitmap (const APIBitmap &)=delete
 
APIBitmapoperator= (const APIBitmap &)=delete
 
void SetBitmap (BitmapData pBitmap, int w, int h, float scale, float drawScale)
 Used to initialise the members after construction. More...
 
BitmapData GetBitmap () const
 
int GetWidth () const
 
int GetHeight () const
 
float GetScale () const
 
float GetDrawScale () const
 

Detailed Description

Definition at line 75 of file IGraphicsNanoVG.cpp.

Constructor & Destructor Documentation

◆ Bitmap() [1/3]

IGraphicsNanoVG::Bitmap::Bitmap ( NVGcontext *  pContext,
const char *  path,
double  sourceScale,
int  nvgImageID,
bool  shared = false 
)

Definition at line 90 of file IGraphicsNanoVG.cpp.

◆ Bitmap() [2/3]

IGraphicsNanoVG::Bitmap::Bitmap ( IGraphicsNanoVG pGraphics,
NVGcontext *  pContext,
int  width,
int  height,
float  scale,
float  drawScale 
)

Definition at line 102 of file IGraphicsNanoVG.cpp.

◆ Bitmap() [3/3]

IGraphicsNanoVG::Bitmap::Bitmap ( NVGcontext *  pContext,
int  width,
int  height,
const uint8_t *  pData,
float  scale,
float  drawScale 
)

Definition at line 124 of file IGraphicsNanoVG.cpp.

◆ ~Bitmap()

IGraphicsNanoVG::Bitmap::~Bitmap ( )
virtual

Definition at line 131 of file IGraphicsNanoVG.cpp.

Member Function Documentation

◆ GetFBO()

NVGframebuffer * IGraphicsNanoVG::Bitmap::GetFBO ( ) const
inline

Definition at line 82 of file IGraphicsNanoVG.cpp.


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