![]() |
Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
|
Encapsulates glyph run functionality from the Illustrator SDK. More...
#include <hdicoreTextGlyphRun.h>
Public Member Functions | |
| TextGlyphRun () | |
| Creates a new TextGlyphRun object. | |
| TextGlyphRun (const TextGlyphRun &gr_) | |
| TextGlyphRun copy constructor. | |
| virtual | ~TextGlyphRun () |
| Destructs a TextGlyphRun object. | |
| virtual TextGlyphRun & | operator= (const TextGlyphRun &rhs_) |
| Overloaded assignment operator for TextGlyphRun objects. | |
| virtual bool | operator== (const TextGlyphRun &rhs_) const |
| Tests whether a given TextGlyphRun object is the same as another. | |
| virtual bool | operator!= (const TextGlyphRun &rhs_) const |
| Tests whether a given TextGlyphRun object is not the same as another. | |
| virtual std::unique_ptr< ATE::IGlyphRun > | ateGlyphRun () const |
| Gets the ATE glyph run ref around which the target object is wrapped. | |
| virtual bool | isEmpty () const |
| Gets whether the target TextGlyphRun object is empty. | |
| virtual std::unique_ptr< TextLine > | textLine () const |
| Retrieves the text-line parent of this glyph run. | |
| virtual int32_t | glyphCount () const |
| Retrieves the number of glyphs in this run. | |
| virtual int32_t | charCount () const |
| Retrieves the number of characters in this run. | |
| virtual int32_t | originsCount () const |
| Retrieves the count of origin points in this run. | |
| virtual bool | origin (const int32_t index_, ArtboardPoint &pt__) const |
| Retrieves an origin point for a glyph in this run. | |
| virtual int32_t | glyphIDCount () const |
| Retrieves the count of glyph identifiers in this run. | |
| virtual bool | glyphID (const int32_t index_, int32_t &id__) const |
| Retrieves a glyph identifier for a glyph in this run. | |
| virtual std::unique_ptr< TextCharFeatures > | charFeatures () const |
| Retrieves the character features of this run. | |
| virtual GlyphOrientation | glyphOrientation () const |
| Retrieves the glyph orientation of this run. | |
| virtual double | ascent () const |
| Retrieves the ascent of this run. | |
| virtual double | descent () const |
| Retrieves the descent of this run. | |
| virtual double | tracking () const |
| Retrieves the tracking (space between each character) of this run. | |
| virtual double | spaceGlyphWidth () const |
| Retrieves the width of the space glyph in the font for this run. | |
| virtual double | distToBaseline () const |
| Retrieves the distance to the baseline in the font for this run. | |
| virtual double | underlinePosition () const |
| Retrieves the underline position in the font for this run. | |
| virtual double | underlineThickness () const |
| Retrieves the underline thickness in the font for this run. | |
| virtual double | minCapHeight () const |
| Retrieves the minimum height for capital letters in the font for this run. | |
| virtual double | maxCapHeight () const |
| Retrieves the maximum height for capital letters in the font for this run. | |
| virtual std::unique_ptr< Font > | flattenedFont () const |
| Retrieves the component font for this run if the character-feature font is a composite font, otherwise retrieves the character-feature font. | |
| virtual std::string | contents (const std::string &le_="\n") const |
| Gets the value (contents) of the glyph run. | |
Friends | |
| aip::TextGlyphRun * | __accessImpl (const TextGlyphRun &) |
| TextGlyphRun | __accessCtor (const aip::TextGlyphRun &) |
Encapsulates glyph run functionality from the Illustrator SDK.
| hdi::core::TextGlyphRun::TextGlyphRun | ( | ) |
Creates a new TextGlyphRun object.
| hdi::core::TextGlyphRun::TextGlyphRun | ( | const TextGlyphRun & | gr_ | ) |
|
virtual |
Destructs a TextGlyphRun object.
|
virtual |
Retrieves the ascent of this run.
|
virtual |
Gets the ATE glyph run ref around which the target object is wrapped.
|
virtual |
Retrieves the number of characters in this run.
|
virtual |
Retrieves the character features of this run.
|
virtual |
Gets the value (contents) of the glyph run.
| le_ | Indicates the desired line ending for the output string |
|
virtual |
Retrieves the descent of this run.
|
virtual |
Retrieves the distance to the baseline in the font for this run.
|
virtual |
Retrieves the component font for this run if the character-feature font is a composite font, otherwise retrieves the character-feature font.
|
virtual |
Retrieves the number of glyphs in this run.
|
virtual |
Retrieves a glyph identifier for a glyph in this run.
| index_ | Index of the glyph in question |
| id__ | Return-by-reference for the glyph ID |
|
virtual |
Retrieves the count of glyph identifiers in this run.
|
virtual |
Retrieves the glyph orientation of this run.
|
virtual |
Gets whether the target TextGlyphRun object is empty.
|
virtual |
Retrieves the maximum height for capital letters in the font for this run.
|
virtual |
Retrieves the minimum height for capital letters in the font for this run.
|
virtual |
Tests whether a given TextGlyphRun object is not the same as another.
| rhs_ | TextGlyphRun to compare against (righthand side of inequality operator) |
|
virtual |
Overloaded assignment operator for TextGlyphRun objects.
| rhs_ | Existing TextGlyphRun object to copy values from |
|
virtual |
Tests whether a given TextGlyphRun object is the same as another.
| rhs_ | TextGlyphRun to compare against (righthand side of equality operator) |
|
virtual |
Retrieves an origin point for a glyph in this run.
| index_ | Index of the glyph in question |
| pt__ | Return-by-reference for the glyph origin point |
|
virtual |
Retrieves the count of origin points in this run.
|
virtual |
Retrieves the width of the space glyph in the font for this run.
|
virtual |
Retrieves the text-line parent of this glyph run.
|
virtual |
Retrieves the tracking (space between each character) of this run.
|
virtual |
Retrieves the underline position in the font for this run.
|
virtual |
Retrieves the underline thickness in the font for this run.