フィールド | 型 | コメント |
Header | RECORDHEADER | タグタイプ = 11. |
CharacterID | UI16 | このテキストのキャラクターID |
TextBounds | RECT | テキストのBounds |
TextMatrix | MATRIX | テキストのTransformation matrix |
GlyphBits | UI8 | グリフインデックスの各々のBits |
AdvanceBits | UI8 | 拡張値の各々のBits |
TextRecords | TEXTRECORD[zero or more] | テキストレコード |
EndOfRecordsFlag | UI8 | 必ず0 |
フィールド | 型 | コメント |
TextRecordType | UB[1] | Always 1. |
StyleFlagsReserved | UB[3] | Always 0. |
StyleFlagsHasFont | UB[1] | 1 if text font specified. |
StyleFlagsHasColor | UB[1] | 1 if text color specified. |
StyleFlagsHasYOffset | UB[1] | 1 if y offset specified. |
StyleFlagsHasXOffset | UB[1] | 1 if x offset specified. |
FontID | If StyleFlagsHasFont, UI16 | Font ID for following text. |
TextColor |
If StyleFlagsHasColor, RGB If this record is part of a DefineText2 tag, RGBA |
Font color for following text. |
XOffset | If StyleFlagsHasXOffset, SI16 | x offset for following text. |
YOffset | If StyleFlagsHasYOffset, SI16 | y offset for following text. |
TextHeight | If hasFont, UI16 | Font height for following text. |
GlyphCount | UI8 | Number of glyphs in record. |
GlyphEntries | GLYPHENTRY[GlyphCount] | Glyph entry (see following). |
フィールド | 型 | コメント |
GlyphIndex | UB[GlyphBits] | Glyph index into current font. |
GlyphAdvance | SB[AdvanceBits] | x advance value for glyph. |
フィールド | 型 | コメント |
Header | RECORDHEADER | タグタイプ = 33. |
CharacterID | UI16 | ID for this text character. |
TextBounds | RECT | Bounds of the text. |
TextMatrix | MATRIX | Transformation matrix. |
GlyphBits | UI8 | Bits in each glyph index. |
AdvanceBits | UI8 | Bits in each advance value. |
TextRecords | TEXTRECORD[zero or more] | Text records. |
EndOfRecordsFlag | UI8 | Must be 0. |