Public Member Functions | Protected Member Functions | List of all members
HPS.GlyphLinePatternElement Class Reference

The GlyphLinePatternElement class is a user space object. It is used for specifying glyphs elements within a line pattern. More...

Inheritance diagram for HPS.GlyphLinePatternElement:
HPS.LinePatternElement HPS.Object

Public Member Functions

override void Dispose ()
 
 GlyphLinePatternElement ()
 The default constructor creates an empty GlyphLinePatternElement object. More...
 
 GlyphLinePatternElement (HPS.LinePatternElement in_that)
 This constructor creates a GlyphLinePatternElement object that contains the same settings as the source LinePatternElement. The copy will only be successful if the source line pattern element is really an upcast of a glyph line pattern element. Otherwise the copy will fail and the resulting GlyphLinePatternElement will be invalid. More...
 
 GlyphLinePatternElement (HPS.GlyphLinePatternElement in_that)
 The copy constructor creates a new GlyphLinePatternElement object that contains the same settings as the source GlyphLinePatternElement. More...
 
override HPS.Type ObjectType ()
 This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More...
 
void SetSource (string in_source)
 Sets the name of the source for this GlyphLinePatternElement. More...
 
void SetWeight (float in_weight, HPS.LinePattern.SizeUnits in_units)
 Sets the weight for this GlyphLinePatternElement. More...
 
void SetInsetBehavior (HPS.LinePattern.InsetBehavior in_behavior)
 Sets the inset behavior for this GlyphLinePatternElement. More...
 
void SetMirror (bool in_state)
 Sets whether to flip this GlyphLinePatternElement about the x-axis prior to applying any rotation. More...
 
void SetFixed (bool in_state)
 Sets whether the angle of the GlyphLinePatternElement should be fixed relative to the line vector. More...
 
void SetRotation (float in_degrees)
 Sets the angle in degrees the GlyphLinePatternElement is rotated relative to the line vector. More...
 
bool ShowSource (out string out_source)
 Shows the name of the source for this GlyphLinePatternElement. More...
 
bool ShowWeight (out float out_weight, out HPS.LinePattern.SizeUnits out_units)
 Shows the weight for this GlyphLinePatternElement. More...
 
bool ShowInsetBehavior (out HPS.LinePattern.InsetBehavior out_behavior)
 Shows the inset behavior for this GlyphLinePatternElement. More...
 
bool ShowMirror (out bool out_state)
 Shows whether to flip this GlyphLinePatternElement about the x-axis prior to applying any rotation. More...
 
bool ShowFixed (out bool out_state)
 Shows whether the angle of the GlyphLinePatternElement should be fixed relative to the line vector. More...
 
bool ShowRotation (out float out_degrees)
 Shows the angle in degrees the GlyphLinePatternElement is rotated relative to the line vector. More...
 
- Public Member Functions inherited from HPS.LinePatternElement
override void Dispose ()
 
 LinePatternElement ()
 The default constructor creates an empty LinePatternElement object. More...
 
 LinePatternElement (HPS.LinePatternElement in_that)
 The copy constructor creates a new LinePatternElement object that contains the same settings as the source LinePatternElement. More...
 
override HPS.Type ObjectType ()
 This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More...
 
void Set (HPS.LinePatternElement in_that)
 Copies the source LinePatternElement into this LinePatternElement. More...
 
override bool Equals (System.Object obj)
 
override int GetHashCode ()
 
bool Equals (HPS.LinePatternElement in_that)
 Check if the source LinePatternElement is equivalent to this LinePatternElement. More...
 
void SetSize (float in_size, HPS.LinePattern.SizeUnits in_units)
 Sets the size of this LinePatternElement. More...
 
bool ShowSize (out float out_size, out HPS.LinePattern.SizeUnits out_units)
 Shows the size of this LinePatternElement. More...
 
- Public Member Functions inherited from HPS.Object
IntPtr GetClassID ()
 
 Object (HPS.Object that)
 
HPS.Type Type ()
 This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More...
 
virtual bool Empty ()
 Indicates whether this object has any values set on it. More...
 
virtual void Reset ()
 Resets this object to its initial, uninitialized state. More...
 
bool HasType (HPS.Type in_mask)
 This function indicates whether this Object has the given Type mask. More...
 
IntPtr GetInstanceID ()
 Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More...
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.LinePatternElement
override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Static Public Member Functions inherited from HPS.LinePatternElement
static bool operator== (HPS.LinePatternElement a, HPS.LinePatternElement b)
 
static bool operator!= (HPS.LinePatternElement a, HPS.LinePatternElement b)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 
- Protected Attributes inherited from HPS.Object
HandleRef cptr
 
HandleRef scptr
 
bool cMemOwn
 

Detailed Description

The GlyphLinePatternElement class is a user space object. It is used for specifying glyphs elements within a line pattern.

Constructor & Destructor Documentation

HPS.GlyphLinePatternElement.GlyphLinePatternElement ( )
inline

The default constructor creates an empty GlyphLinePatternElement object.

HPS.GlyphLinePatternElement.GlyphLinePatternElement ( HPS.LinePatternElement  in_that)
inline

This constructor creates a GlyphLinePatternElement object that contains the same settings as the source LinePatternElement. The copy will only be successful if the source line pattern element is really an upcast of a glyph line pattern element. Otherwise the copy will fail and the resulting GlyphLinePatternElement will be invalid.

Parameters
in_thatThe source LinePatternElement to copy.
HPS.GlyphLinePatternElement.GlyphLinePatternElement ( HPS.GlyphLinePatternElement  in_that)
inline

The copy constructor creates a new GlyphLinePatternElement object that contains the same settings as the source GlyphLinePatternElement.

Parameters
in_thatThe source GlyphLinePatternElement to copy.

Member Function Documentation

override HPS.Type HPS.GlyphLinePatternElement.ObjectType ( )
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from HPS.Object.

void HPS.GlyphLinePatternElement.SetFixed ( bool  in_state)
inline

Sets whether the angle of the GlyphLinePatternElement should be fixed relative to the line vector.

Parameters
in_stateWhether the angle of the GlyphLinePatternElement should be fixed relative to the line vector.
void HPS.GlyphLinePatternElement.SetInsetBehavior ( HPS.LinePattern.InsetBehavior  in_behavior)
inline

Sets the inset behavior for this GlyphLinePatternElement.

Parameters
in_behaviorThe inset behavior for this GlyphLinePatternElement.
void HPS.GlyphLinePatternElement.SetMirror ( bool  in_state)
inline

Sets whether to flip this GlyphLinePatternElement about the x-axis prior to applying any rotation.

Parameters
in_stateWhether to flip this GlyphLinePatternElement about the x-axis prior to applying any rotation.
void HPS.GlyphLinePatternElement.SetRotation ( float  in_degrees)
inline

Sets the angle in degrees the GlyphLinePatternElement is rotated relative to the line vector.

Parameters
in_degreesThe angle in degrees the GlyphLinePatternElement is rotated relative to the line vector.
void HPS.GlyphLinePatternElement.SetSource ( string  in_source)
inline

Sets the name of the source for this GlyphLinePatternElement.

Parameters
in_sourceUTF8-encoded name of the source for this GlyphLinePatternElement.
void HPS.GlyphLinePatternElement.SetWeight ( float  in_weight,
HPS.LinePattern.SizeUnits  in_units 
)
inline

Sets the weight for this GlyphLinePatternElement.

Parameters
in_weightThe weight for this GlyphLinePatternElement.
in_unitsThe units of the weight for this GlyphLinePatternElement.
bool HPS.GlyphLinePatternElement.ShowFixed ( out bool  out_state)
inline

Shows whether the angle of the GlyphLinePatternElement should be fixed relative to the line vector.

Parameters
out_stateWhether the angle of the GlyphLinePatternElement should be fixed relative to the line vector.
Returns
true if a fixed flag was set, false otherwise.
bool HPS.GlyphLinePatternElement.ShowInsetBehavior ( out HPS.LinePattern.InsetBehavior  out_behavior)
inline

Shows the inset behavior for this GlyphLinePatternElement.

Parameters
out_behaviorThe inset behavior for this GlyphLinePatternElement.
Returns
true if an inset behavior was set, false otherwise.
bool HPS.GlyphLinePatternElement.ShowMirror ( out bool  out_state)
inline

Shows whether to flip this GlyphLinePatternElement about the x-axis prior to applying any rotation.

Parameters
out_stateWhether to flip this GlyphLinePatternElement about the x-axis prior to applying any rotation.
Returns
true if a mirror flag was set, false otherwise.
bool HPS.GlyphLinePatternElement.ShowRotation ( out float  out_degrees)
inline

Shows the angle in degrees the GlyphLinePatternElement is rotated relative to the line vector.

Parameters
out_degreesThe angle in degrees the GlyphLinePatternElement is rotated relative to the line vector.
Returns
true if an angle was set, false otherwise.
bool HPS.GlyphLinePatternElement.ShowSource ( out string  out_source)
inline

Shows the name of the source for this GlyphLinePatternElement.

Parameters
out_sourceUTF8-encoded name of the source for this GlyphLinePatternElement.
Returns
true if a source was set, false otherwise.
bool HPS.GlyphLinePatternElement.ShowWeight ( out float  out_weight,
out HPS.LinePattern.SizeUnits  out_units 
)
inline

Shows the weight for this GlyphLinePatternElement.

Parameters
out_weightThe weight for this GlyphLinePatternElement.
out_unitsThe units for the weight for this GlyphLinePatternElement.
Returns
true if a weight was set, false otherwise.

The documentation for this class was generated from the following file: