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

Public Member Functions

 Bitmap (sk_sp< SkSurface > surface, int width, int height, float scale, float drawScale)
 
 Bitmap (const char *path, double sourceScale)
 
 Bitmap (const void *pData, int size, double sourceScale)
 
 Bitmap (sk_sp< SkImage >, double sourceScale)
 
- 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 53 of file IGraphicsSkia.cpp.

Constructor & Destructor Documentation

◆ Bitmap() [1/4]

IGraphicsSkia::Bitmap::Bitmap ( sk_sp< SkSurface >  surface,
int  width,
int  height,
float  scale,
float  drawScale 
)

Definition at line 65 of file IGraphicsSkia.cpp.

◆ Bitmap() [2/4]

IGraphicsSkia::Bitmap::Bitmap ( const char *  path,
double  sourceScale 
)

Definition at line 73 of file IGraphicsSkia.cpp.

◆ Bitmap() [3/4]

IGraphicsSkia::Bitmap::Bitmap ( const void *  pData,
int  size,
double  sourceScale 
)

Definition at line 91 of file IGraphicsSkia.cpp.

◆ Bitmap() [4/4]

IGraphicsSkia::Bitmap::Bitmap ( sk_sp< SkImage >  image,
double  sourceScale 
)

Definition at line 106 of file IGraphicsSkia.cpp.


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