iPlug2 - C++ Audio Plug-in Framework
|
Used to specify properties of a drop-shadow to a layer. More...
#include <IGraphicsStructs.h>
Public Member Functions | |
IShadow (const IPattern &pattern, float blurSize, float xOffset, float yOffset, float opacity, bool drawForeground=true) | |
Create an IShadow. More... | |
Public Attributes | |
IPattern | mPattern = COLOR_BLACK |
float | mBlurSize = 0.f |
float | mXOffset = 0.f |
float | mYOffset = 0.f |
float | mOpacity = 1.f |
bool | mDrawForeground = true |
Used to specify properties of a drop-shadow to a layer.
Use with IGraphics::ApplyLayerDropShadow()
Definition at line 2373 of file IGraphicsStructs.h.
|
inline |
Definition at line 2375 of file IGraphicsStructs.h.
|
inline |
Create an IShadow.
pattern | The IPattern for the shadow |
blurSize | The size of the gaussian blur in points |
xOffset | Offset the shadow horizontally |
yOffset | Offset the shadow vertically |
opacity | The opacity of the shadow |
drawForeground | Should the layer contents be drawn, or just the shadow |
Definition at line 2384 of file IGraphicsStructs.h.
float IShadow::mBlurSize = 0.f |
Definition at line 2394 of file IGraphicsStructs.h.
bool IShadow::mDrawForeground = true |
Definition at line 2398 of file IGraphicsStructs.h.
float IShadow::mOpacity = 1.f |
Definition at line 2397 of file IGraphicsStructs.h.
IPattern IShadow::mPattern = COLOR_BLACK |
Definition at line 2393 of file IGraphicsStructs.h.
float IShadow::mXOffset = 0.f |
Definition at line 2395 of file IGraphicsStructs.h.
float IShadow::mYOffset = 0.f |
Definition at line 2396 of file IGraphicsStructs.h.