InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISmoothPrefs Class Referenceabstract

#include <ISmoothPrefs.h>

Inheritance diagram for ISmoothPrefs:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ISMOOTHPREFS }
 

Public Member Functions

virtual void SetFidelity (const PMReal &fidelity)=0
 
virtual PMReal GetFidelity ()=0
 
virtual void SetSmoothness (const PMReal &smoothness)=0
 
virtual PMReal GetSmoothness ()=0
 
virtual void SetSelected (const bool16 selected)=0
 
virtual bool16 GetSelected ()=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Static Public Member Functions

static PMReal GetDefaultSmoothFidelity ()
 
static PMReal GetDefaultSmoothSmoothness ()
 
static bool16 GetDefaultSmoothSelected ()
 

Detailed Description

ISmoothPrefs is a preference interface on the session workspace. It is used to access all the variables related to smooth operation.

Member Function Documentation

static PMReal ISmoothPrefs::GetDefaultSmoothFidelity ()
inlinestatic

Return the default smooth's fidelity value.

Returns
PMReal the default fidelity.
static bool16 ISmoothPrefs::GetDefaultSmoothSelected ()
inlinestatic

Return the default selection status.

Returns
bool16 the default selection status.
static PMReal ISmoothPrefs::GetDefaultSmoothSmoothness ()
inlinestatic

Return the default smooth's smoothness value.

Returns
PMReal the default smoothness
virtual PMReal ISmoothPrefs::GetFidelity ()
pure virtual

Get the current preference value for fidelity(point tolerance when fitting to curve).

Returns
const PMReal& the current fidelity value.
virtual bool16 ISmoothPrefs::GetSelected ()
pure virtual

Get the current preference value for selection status.

Returns
const bool16 the current selection status.
virtual PMReal ISmoothPrefs::GetSmoothness ()
pure virtual

Get the current preference value for smoothness(when fitting to curve).

Returns
const PMReal& the current smoothness value.
virtual void ISmoothPrefs::SetFidelity (const PMRealfidelity)
pure virtual

Set the preference value for fidelity(point tolerance when fitting to curve).

Parameters
fidelitythe new fidelity value to set.
virtual void ISmoothPrefs::SetSelected (const bool16 selected)
pure virtual

Set the preference value for selection status.

Parameters
selectedthe bool16 flag to set.
virtual void ISmoothPrefs::SetSmoothness (const PMRealsmoothness)
pure virtual

Set the preference value for smoothness(when fitting to curve).

Parameters
smoothnessthe new smoothness value to set.