|
iPlug2 - C++ Audio Plug-in Framework
|
User-facing bitmap abstraction that you use to manage bitmap data, independant of draw class/platform. More...
#include <IGraphicsStructs.h>
Public Member Functions | |
| IBitmap (APIBitmap *pAPIBitmap, int n, bool framesAreHorizontal, const char *name="") | |
| IBitmap Constructor. More... | |
| int | W () const |
| int | H () const |
| int | FW () const |
| int | FH () const |
| int | N () const |
| float | GetScale () const |
| float | GetDrawScale () const |
| APIBitmap * | GetAPIBitmap () const |
| bool | GetFramesAreHorizontal () const |
| const WDL_String & | GetResourceName () const |
| bool | IsValid () const |
User-facing bitmap abstraction that you use to manage bitmap data, independant of draw class/platform.
IBitmap doesn't actually own the image data
Definition at line 87 of file IGraphicsStructs.h.
|
inline |
IBitmap Constructor.
| pAPIBitmap | Pointer to a drawing API bitmap |
| n | Number of frames (for multi frame film-strip bitmaps) |
| framesAreHorizontal | framesAreHorizontal true if the frames are positioned horizontally |
| name | Resource name for the bitmap |
Definition at line 95 of file IGraphicsStructs.h.
|
inline |
Definition at line 105 of file IGraphicsStructs.h.
|
inline |
Definition at line 124 of file IGraphicsStructs.h.
Referenced by IRECT::GetCentredInside(), and IRECT::IRECT().
|
inline |
Definition at line 121 of file IGraphicsStructs.h.
Referenced by IRECT::GetCentredInside(), and IRECT::IRECT().
|
inline |
Definition at line 136 of file IGraphicsStructs.h.
Referenced by IGraphicsNanoVG::DrawBitmap(), IGraphicsSkia::DrawBitmap(), IGraphics::ReleaseBitmap(), and IGraphics::RetainBitmap().
|
inline |
Definition at line 133 of file IGraphicsStructs.h.
References APIBitmap::GetDrawScale().
Referenced by IGraphicsSkia::DrawBitmap(), IGraphics::DrawRotatedBitmap(), and IGraphics::ScaleBitmap().
|
inline |
Definition at line 139 of file IGraphicsStructs.h.
Referenced by IGraphics::DrawBitmap(), IGraphics::GetScaledBitmap(), and IGraphics::ScaleBitmap().
|
inline |
Definition at line 142 of file IGraphicsStructs.h.
Referenced by IGraphics::GetScaledBitmap().
|
inline |
Definition at line 130 of file IGraphicsStructs.h.
References APIBitmap::GetScale().
Referenced by IGraphicsNanoVG::DrawBitmap(), IGraphicsSkia::DrawBitmap(), and IGraphics::RetainBitmap().
|
inline |
Definition at line 118 of file IGraphicsStructs.h.
Referenced by IGraphics::DrawBitmap(), IGraphicsNanoVG::DrawBitmap(), IGraphics::DrawFittedBitmap(), IGraphics::DrawRotatedBitmap(), IBSliderControl::OnResize(), and IGraphics::ScaleBitmap().
|
inline |
Definition at line 145 of file IGraphicsStructs.h.
Referenced by IBSliderControl::Draw(), TestImageControl::Draw(), and IBSliderControl::OnResize().
|
inline |
Definition at line 127 of file IGraphicsStructs.h.
Referenced by IGraphics::DrawBitmap(), IBitmapBase::DrawBitmap(), IGraphics::GetScaledBitmap(), IBSwitchControl::OnMouseDown(), and IGraphics::ScaleBitmap().
|
inline |
Definition at line 115 of file IGraphicsStructs.h.
Referenced by IGraphics::DrawBitmap(), IGraphicsNanoVG::DrawBitmap(), IGraphics::DrawFittedBitmap(), IGraphics::DrawRotatedBitmap(), IBSliderControl::OnResize(), and IGraphics::ScaleBitmap().