SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph A class representing a glyph.

File: /SetaPDF/Core/Font/TrueType/Table/GlyphData/Glyph.php

Class hierarchy

Summary

Properties

$_length

Length of this glyph

$_offset

Offset of this glyph


Methods

__construct()

public SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::__construct ( SetaPDF_Core_Font_TrueType_Table_GlyphData $glyphData, integer $offset, integer $length )

The constructor.

Parameters
$glyphData : SetaPDF_Core_Font_TrueType_Table_GlyphData
 
$offset : integer

The byte offset position for this glyph

$length : integer

The byte length of this glyph

_read()

private integer|mixed SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::_read ( integer $offset [, string $method = 'readInt16' ] )

Read a value for this glyph.

Parameters
$offset : integer
 
$method : string
 

cleanUp()

public void SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::cleanUp ( void )

Release memory.

getLength()

public int SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::getLength ( void )

Get the byte length of this glyph.

getNumberOfContours()

public integer SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::getNumberOfContours ( void )

Get the number of contours of this glyph.

getXMax()

public integer SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::getXMax ( void )

Get the maximum x for coordinate data.

getXMin()

public integer SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::getXMin ( void )

Get the minimum x for coordinate data.

getYMax()

public integer SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::getYMax ( void )

Get the maximum y for coordinate data.

getYMin()

public integer SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::getYMin ( void )

Get the minimum y for coordinate data.