C# Class Recurity.Swf.TagHandler.DefineFont2

The DefineFont2 tag extends the functionality of DefineFont.
32-bit entries in the OffsetTable, for fonts with more than 64K glyphs. Mapping to device fonts, by incorporating all the functionality of DefineFontInfo. Font metrics for improved layout of dynamic glyph text. DefineFont2 tags are the only font definitions that can be used for dynamic text.
Inheritance: DefineFont, ISwfCharacter
Exibir arquivo Open project: rtezli/Blitzableiter Class Usage Examples

Protected Properties

Property Type Description
_codeTable byte[]
_codeTableOffset System.UInt16
_fontAdvanceTable System.Int16[]
_fontAscent System.Int16
_fontBoundsTable Rect[]
_fontDescent System.Int16
_fontFlagsANSI bool
_fontFlagsBold bool
_fontFlagsHasLayout bool
_fontFlagsItalic bool
_fontFlagsShiftJIS bool
_fontFlagsSmallText bool
_fontFlagsWideCodes bool
_fontFlagsWideOffsets bool
_fontKerningTable KerningRecord[]
_fontLeading System.Int16
_fontName byte[]
_fontNameLen byte
_hasGlyphs bool
_kerningCount System.UInt16
_languageCode LangCode
_offsetTable System.UInt16[]
_wideCodeTable System.UInt16[]
_wideCodeTableOffset System.UInt32
_wideOffsetTable System.UInt32[]

Public Methods

Method Description
DefineFont2 ( byte InitialVersion ) : System

The DefineFont2 tag extends the functionality of DefineFont

ToString ( ) : string

Converts the value of this instance to a System.String.

Verify ( ) : bool

Verifies this object and its components for documentation compliance.

Write ( Stream output ) : void

Protected Methods

Method Description
Parse ( ) : void

Parses this object out of a stream

ParseCodeTable ( Stream input ) : void

Parses the code table of this tag.

ParseFlags ( Stream input ) : void

Parses the flags of this tag.

ParseLayout ( Stream input ) : void

Parses the layout of this tag.

WriteCodeTable ( Stream output ) : void

WriteFlags ( Stream output ) : void

WriteLayout ( Stream output ) : void

Method Details

DefineFont2() public method

The DefineFont2 tag extends the functionality of DefineFont
public DefineFont2 ( byte InitialVersion ) : System
InitialVersion byte The version of the Swf file using this object.
return System

Parse() protected method

Parses this object out of a stream
protected Parse ( ) : void
return void

ParseCodeTable() protected method

Parses the code table of this tag.
protected ParseCodeTable ( Stream input ) : void
input Stream The input stream where to read from.
return void

ParseFlags() protected method

Parses the flags of this tag.
protected ParseFlags ( Stream input ) : void
input Stream The input stream where to read from.
return void

ParseLayout() protected method

Parses the layout of this tag.
protected ParseLayout ( Stream input ) : void
input Stream The input stream where to read from.
return void

ToString() public method

Converts the value of this instance to a System.String.
public ToString ( ) : string
return string

Verify() public method

Verifies this object and its components for documentation compliance.
public Verify ( ) : bool
return bool

Write() public method

public Write ( Stream output ) : void
output Stream
return void

WriteCodeTable() protected method

protected WriteCodeTable ( Stream output ) : void
output Stream
return void

WriteFlags() protected method

protected WriteFlags ( Stream output ) : void
output Stream
return void

WriteLayout() protected method

protected WriteLayout ( Stream output ) : void
output Stream
return void

Property Details

_codeTable protected_oe property

protected byte[] _codeTable
return byte[]

_codeTableOffset protected_oe property

protected UInt16,System _codeTableOffset
return System.UInt16

_fontAdvanceTable protected_oe property

protected Int16[],System _fontAdvanceTable
return System.Int16[]

_fontAscent protected_oe property

protected Int16,System _fontAscent
return System.Int16

_fontBoundsTable protected_oe property

protected Rect[] _fontBoundsTable
return Rect[]

_fontDescent protected_oe property

protected Int16,System _fontDescent
return System.Int16

_fontFlagsANSI protected_oe property

protected bool _fontFlagsANSI
return bool

_fontFlagsBold protected_oe property

protected bool _fontFlagsBold
return bool

_fontFlagsHasLayout protected_oe property

protected bool _fontFlagsHasLayout
return bool

_fontFlagsItalic protected_oe property

protected bool _fontFlagsItalic
return bool

_fontFlagsShiftJIS protected_oe property

protected bool _fontFlagsShiftJIS
return bool

_fontFlagsSmallText protected_oe property

protected bool _fontFlagsSmallText
return bool

_fontFlagsWideCodes protected_oe property

protected bool _fontFlagsWideCodes
return bool

_fontFlagsWideOffsets protected_oe property

protected bool _fontFlagsWideOffsets
return bool

_fontKerningTable protected_oe property

protected KerningRecord[] _fontKerningTable
return KerningRecord[]

_fontLeading protected_oe property

protected Int16,System _fontLeading
return System.Int16

_fontName protected_oe property

protected byte[] _fontName
return byte[]

_fontNameLen protected_oe property

protected byte _fontNameLen
return byte

_hasGlyphs protected_oe property

protected bool _hasGlyphs
return bool

_kerningCount protected_oe property

protected UInt16,System _kerningCount
return System.UInt16

_languageCode protected_oe property

protected LangCode _languageCode
return LangCode

_offsetTable protected_oe property

protected UInt16[],System _offsetTable
return System.UInt16[]

_wideCodeTable protected_oe property

protected UInt16[],System _wideCodeTable
return System.UInt16[]

_wideCodeTableOffset protected_oe property

protected UInt32,System _wideCodeTableOffset
return System.UInt32

_wideOffsetTable protected_oe property

protected UInt32[],System _wideOffsetTable
return System.UInt32[]