Gradient Descriptor. More...
#include <SSkin.h>
Public Member Functions | |
SGradientDesc () | |
Constructor for SGradientDesc. | |
GradientInfo | GetGradientInfo (int nScale, int wid, int hei) const |
Gets the gradient information. | |
IGradient * | GetGradient () |
Gets the gradient object. | |
Protected Member Functions | |
virtual HRESULT | SetAttribute (const SNS::SStringW &amp;amp;amp;strAttribName, const SNS::SStringW &amp;amp;amp;strValue, BOOL bLoading=FALSE) |
Protected Attributes | |
SAutoRefPtr< IGradient > | m_gradient |
SLayoutSize | m_radius |
float | m_ratio_radius |
GradientType | m_type |
float | m_angle |
float | m_centerX |
float | m_centerY |
BOOL | m_bFullArc |
Gradient Descriptor.
Description: Describes a gradient for use in skins.
SGradientDesc::SGradientDesc | ( | ) |
Constructor for SGradientDesc.
|
inline |
GradientInfo SGradientDesc::GetGradientInfo | ( | int | nScale, |
int | wid, | ||
int | hei ) const |
|
inlineprotectedvirtual |
|
protected |
|
protected |