GlyphLayout Struct Reference
#include <sctextstruct.h>

Public Member Functions | |
| GlyphLayout () | |
| double | wide () const |
| GlyphLayout * | last () |
| void | shrink () |
| void | grow () |
Public Attributes | |
| float | xadvance |
| float | yadvance |
| float | xoffset |
| float | yoffset |
| double | scaleV |
| double | scaleH |
| uint | glyph |
| GlyphLayout * | more |
Detailed Description
This struct stores a positioned glyph. This is the result of the layout process. If a char gets translated to more than one glyph, a linked list is built.Definition at line 50 of file sctextstruct.h.
Constructor & Destructor Documentation
| GlyphLayout::GlyphLayout | ( | ) | [inline] |
Definition at line 60 of file sctextstruct.h.
Member Function Documentation
| double GlyphLayout::wide | ( | ) | const [inline] |
Definition at line 63 of file sctextstruct.h.
References p.
Referenced by StoryText::boundingBox(), LineControl::breakLine(), ScPageOutput::DrawItem_PathText(), ScPageOutput::DrawItem_TextFrame(), PageItem_TextFrame::DrawObj_Item(), PageItem_PathText::DrawObj_Item(), fillInTabLeaders(), justifyLine(), PageItem_TextFrame::layout(), StoryText::nextLine(), StoryText::prevLine(), StoryText::screenToPosition(), PSLib::setTextSt(), and PDFLibCore::setTextSt().
| GlyphLayout* GlyphLayout::last | ( | ) | [inline] |
| void GlyphLayout::shrink | ( | ) | [inline] |
Definition at line 77 of file sctextstruct.h.
Referenced by ScPageOutput::DrawItem_PathText(), and PageItem_PathText::DrawObj_Item().
| void GlyphLayout::grow | ( | ) | [inline] |
Definition at line 85 of file sctextstruct.h.
Referenced by fillInTabLeaders(), and PageItem_TextFrame::layout().
Member Data Documentation
| float GlyphLayout::xadvance |
Definition at line 51 of file sctextstruct.h.
Referenced by ScPageOutput::DrawGlyphs(), ScPageOutput::DrawItem_TextFrame(), PageItem_TextFrame::DrawObj_Item(), fillInTabLeaders(), justifyLine(), PageItem_TextFrame::layout(), PSLib::setTextCh(), PDFLibCore::setTextCh(), PSLib::setTextSt(), and PDFLibCore::setTextSt().
| float GlyphLayout::yadvance |
Definition at line 52 of file sctextstruct.h.
Referenced by ScPageOutput::DrawItem_PathText(), PageItem_PathText::DrawObj_Item(), and PageItem_TextFrame::layout().
| float GlyphLayout::xoffset |
Definition at line 53 of file sctextstruct.h.
Referenced by ScPreview::createPreview(), ScPageOutput::DrawGlyphs(), ScPageOutput::DrawItem_PathText(), ScPageOutput::DrawItem_TextFrame(), PageItem_TextFrame::DrawObj_Item(), PageItem_PathText::DrawObj_Item(), fillInTabLeaders(), justifyLine(), PageItem_TextFrame::layout(), PSLib::ProcessItem(), SVGExPlug::ProcessPage(), PSLib::setTextCh(), PDFLibCore::setTextCh(), PSLib::setTextSt(), PDFLibCore::setTextSt(), and ScriXmlDoc::WriteObject().
| float GlyphLayout::yoffset |
Definition at line 54 of file sctextstruct.h.
Referenced by ScPreview::createPreview(), ScPageOutput::DrawGlyphs(), ScPageOutput::DrawItem_PathText(), ScPageOutput::DrawItem_TextFrame(), PageItem_TextFrame::DrawObj_Item(), PageItem_PathText::DrawObj_Item(), PageItem_TextFrame::layout(), PSLib::ProcessItem(), SVGExPlug::ProcessPage(), PSLib::setTextCh(), PDFLibCore::setTextCh(), PSLib::setTextSt(), PDFLibCore::setTextSt(), and ScriXmlDoc::WriteObject().
| double GlyphLayout::scaleV |
Definition at line 55 of file sctextstruct.h.
Referenced by ScPageOutput::DrawGlyphs(), ScPageOutput::DrawItem_TextFrame(), PageItem_TextFrame::DrawObj_Item(), fillInTabLeaders(), PageItem_TextFrame::layout(), PSLib::setTextCh(), PDFLibCore::setTextCh(), PSLib::setTextSt(), and PDFLibCore::setTextSt().
| double GlyphLayout::scaleH |
Definition at line 56 of file sctextstruct.h.
Referenced by ScPageOutput::DrawGlyphs(), justifyLine(), PageItem_TextFrame::layout(), PSLib::setTextCh(), PDFLibCore::setTextCh(), PSLib::setTextSt(), and PDFLibCore::setTextSt().
| uint GlyphLayout::glyph |
Definition at line 57 of file sctextstruct.h.
Referenced by ScPageOutput::DrawGlyphs(), fillInTabLeaders(), PageItem_TextFrame::layout(), PSLib::ProcessItem(), PSLib::setTextCh(), PDFLibCore::setTextCh(), PSLib::setTextSt(), and PDFLibCore::setTextSt().
Definition at line 58 of file sctextstruct.h.
Referenced by ScPageOutput::DrawGlyphs(), fillInTabLeaders(), justifyLine(), PageItem_TextFrame::layout(), PSLib::setTextCh(), PDFLibCore::setTextCh(), PSLib::setTextSt(), PDFLibCore::setTextSt(), and ScText::~ScText().
The documentation for this struct was generated from the following file:
