HaruFont::getCapHeight

(PECL haru >= 0.0.1) Get the distance from the baseline of uppercase letters int HaruFont::getCapHeight ( void ) Get the distance from the baseline of uppercase letters. Returns: Returns the distance from the baseline of uppercase letters. Exception: Throws a HaruException on error.

HaruFont::getAscent

(PECL haru >= 0.0.1) Get the vertical ascent of the font int HaruFont::getAscent ( void ) Get the vertical ascent of the font. Returns: Returns the vertical ascent of the font. Exception: Throws a HaruException on error.

HaruPage::textRect

(PECL haru >= 0.0.1) Print the text inside the specified region bool HaruPage::textRect ( float $left, float $top, float $right, float $bottom, string $text [, int $align = HaruPage::TALIGN_LEFT ] ) Prints the text inside the specified region. Parameters: left Left border of the text area. top Top border of the text area.

HaruPage::textOut

(PECL haru >= 0.0.1) Print the text on the specified position bool HaruPage::textOut ( float $x, float $y, string $text ) Prints the text on the specified position. Parameters: x Prints the text on the specified position. y Prints the text on the specified position. text Prints the text on the spec

HaruPage::stroke

(PECL haru >= 0.0.1) Paint current path bool HaruPage::stroke ([ bool $close_path = false ] ) Paints the current path. Parameters: close_path Closes the current path if set to TRUE. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruPage::showTextNextLine

(PECL haru >= 0.0.1) Move the current position to the start of the next line and print the text bool HaruPage::showTextNextLine ( string $text [, float $word_space = 0 [, float $char_space = 0 ]] ) Moves the current position to the start of the next line and print out the text. Parameters: text The text to show. word_space The word

HaruPage::showText

(PECL haru >= 0.0.1) Print text at the current position of the page bool HaruPage::showText ( string $text ) Prints out the text at the current position of the page. Parameters: text The text to show. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruPage::setWordSpace

(PECL haru >= 0.0.1) Set word spacing for the page bool HaruPage::setWordSpace ( float $word_space ) Set the word spacing for the page. Parameters: word_space Defines word spacing for the page. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruPage::setWidth

(PECL haru >= 0.0.1) Set width of the page bool HaruPage::setWidth ( float $width ) Set the width of the page. Parameters: width Defines width of the page. Returns: Returns TRUE on success. Exception: Throws a HaruException on error. See also:

HaruPage::setTextRise

(PECL haru >= 0.0.1) Set the current value of text rising bool HaruPage::setTextRise ( float $rise ) Set the current value of text rising. Parameters: rise Defines the current value of text rising. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.