|
$_entries
Entries in this table directory |
void |
add (int $tag, int $offset, int $length)
Inserts or replaces the entry specified by the parameters into this table directory |
void |
addEntry (Sgss_Font_Truetype_Directory_Entry $entry)
Inserts or replaces the specified entry into this table directory |
int |
count ()
|
Sgss_Font_Truetype_Directory_Entry|null |
getEntry (int $tag)
Returns the specified entry in this table directory |
int |
getLength (int $tag)
Returns the length of the specified entry in this table directory |
string|null |
getName (int $tag)
Returns the name of the specified entry in this table directory |
int |
getOffset (int $tag)
Returns the offset to the specified entry in this table directory |
boolean |
offsetExists (mixed $offset)
|
mixed |
offsetGet (mixed $offset)
|
mixed |
offsetSet (mixed $offset, mixed $value)
|
void |
offsetUnset (mixed $offset)
|
Entries in this table directory
protected array $_entries = array()
Inserts or replaces the entry specified by the parameters into this table directory
int $tag
Tag identifier of the entry to be inserted
int $offset
Offset in byte to the entry to be inserted
int $length
Length in byte of the entry to be inserted
public void add (int $tag, int $offset, int $length)
Inserts or replaces the specified entry into this table directory
Sgss_Font_Truetype_Directory_Entry $entry
Entry to be inserted
public void addEntry (Sgss_Font_Truetype_Directory_Entry $entry)
public int count ()
Returns the specified entry in this table directory
int $tag
Tag identifier of the entry to be retrieved
public Sgss_Font_Truetype_Directory_Entry|null getEntry (int $tag)
Returns the length of the specified entry in this table directory
int $tag
Tag identifier of the entry to be retrieved
public int getLength (int $tag)
Returns the name of the specified entry in this table directory
int $tag
Tag identifier of the entry to be retrieved
public string|null getName (int $tag)
Returns the offset to the specified entry in this table directory
int $tag
Tag identifier of the entry to be retrieved
public int getOffset (int $tag)
mixed $offset
public boolean offsetExists (mixed $offset)
mixed $offset
public mixed offsetGet (mixed $offset)
mixed $offset
mixed $value
public mixed offsetSet (mixed $offset, mixed $value)
mixed $offset
public void offsetUnset (mixed $offset)