php man page for swf_definetext

Query: swf_definetext

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SWF_DEFINETEXT(3)							 1							 SWF_DEFINETEXT(3)

swf_definetext - Define a text string

SYNOPSIS
void swf_definetext (int $objid, string $str, int $docenter)
DESCRIPTION
Defines a text string using the current font and font size.
PARAMETERS
o $objid - The object id. o $str - The text, as a string. o $docenter - The $docenter is where the word is centered, if $docenter is 1, then the word is centered in x.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1 Horizontal text example <?php $Xposition = 50; $Yposition = 50; $Zposition = 0; $Obj_depth = 1; $char = 'THIS IS THE TEXT'; swf_pushmatrix(); swf_definefont (swf_nextid(), "Mod"); swf_fontsize(10); $secondid = swf_nextid(); swf_definetext($secondid, $char, 1); swf_translate($Xposition, $Yposition, Zposition); swf_placeobject($secondid, $Obj_depth); swf_popmatrix(); ?>
SEE ALSO
swf_definefont(3). PHP Documentation Group SWF_DEFINETEXT(3)
Related Man Pages
msgfmt_get_error_message(3) - php
wordwrap(3) - php
preg_quote(3) - php
swf_closefile(3) - php
swf_lookat(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update