#include <hps.h>
|
template<typename T > |
static intptr_t | ClassID () |
|
The LineGlyphElement class is a user space object.
LineGlyphElement::LineGlyphElement |
( |
| ) |
|
LineGlyphElement::LineGlyphElement |
( |
GlyphElement const & |
in_that | ) |
|
This constructor creates a LineGlyphElement object that contains the same settings as the source GlyphElement. The copy will only be successful if the source glyph element is really an upcast of a line glyph element. Otherwise the copy will fail and the resulting LineGlyphElement will be invalid.
- Parameters
-
LineGlyphElement::LineGlyphElement |
( |
GlyphPointArray const & |
in_points | ) |
|
|
explicit |
This constructor creates a LineGlyphElement with the specified point array.
- Parameters
-
in_points | The points for the line. |
LineGlyphElement::LineGlyphElement |
( |
size_t |
in_count, |
|
|
GlyphPoint const |
in_points[] |
|
) |
| |
This constructor creates a LineGlyphElement with the specified point array.
- Parameters
-
in_count | Size of the following array. |
in_points | The points for the line. |
The move constructor creates a LineGlyphElement by transferring the underlying impl of the rvalue reference to this LineGlyphElement thereby avoiding a copy and allocation.
- Parameters
-
Type LineGlyphElement::ObjectType |
( |
| ) |
const |
|
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 GlyphElement.
The move assignment operator transfers the underlying impl of the rvalue reference to this LineGlyphElement thereby avoiding a copy.
- Parameters
-
- Returns
- A reference to this LineGlyphElement.
void LineGlyphElement::SetPoints |
( |
GlyphPointArray const & |
in_points | ) |
|
Sets the points for this LineGlyphElement.
- Parameters
-
in_points | The points for the line. |
void LineGlyphElement::SetPoints |
( |
size_t |
in_count, |
|
|
GlyphPoint const |
in_points[] |
|
) |
| |
Sets the points for this LineGlyphElement.
- Parameters
-
in_count | Size of the following array. |
in_points | The points for the line. |
bool LineGlyphElement::ShowPoints |
( |
GlyphPointArray & |
out_points | ) |
const |
Shows the points for this LineGlyphElement.
- Parameters
-
out_points | The points for the line. |
- Returns
- true if points were set, false otherwise.
The documentation for this class was generated from the following file: