#include <IRegPolyPrefs.h>
|
| enum | { kDefaultIID = IID_IREGPOLYPREFERENCES } |
| |
Simple data interface for regular polygon preferences.
Regular polygon preferences include the number of sides and the star inset.
- See Also
- IRegPolyPrefsCmdData
| virtual int32 IRegPolyPrefs::GetNumSides | ( | | ) | |
| pure virtual |
Retrieves the number of sides to use for regular polygons.
- Returns
- The number of sides
| virtual int32 IRegPolyPrefs::GetStarInset | ( | | ) | |
| pure virtual |
Retrieves the star inset to use for regular polygons.
- Returns
- The star inset
| virtual void IRegPolyPrefs::SetNumSides | ( | const int32 & | numSides | ) | |
| pure virtual |
Sets the number of sides to use for regular polygons.
- Parameters
| numSides | IN The default number of sides |
| virtual void IRegPolyPrefs::SetStarInset | ( | const int32 & | starInset | ) | |
| pure virtual |
Sets the star inset to use for regular polygons.
- Parameters
| numSides | IN The default star inset |