Modules/Functions/gd info: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<pageclass class="#AA7592" subcaption="Texturizer Module"></pageclass> __NOTOC__ {{ModuleFunction|Texturizer}} Gets a table of the GD libary info which the module is compiled ag...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
{{ModuleFunction|Texturizer}} | {{ModuleFunction|Texturizer}} | ||
Gets a table of the GD libary | Gets a table of the info about the GD libary which the module is compiled against. | ||
==Syntax== | ==Syntax== | ||
Line 14: | Line 14: | ||
The following table of gd info: | The following table of gd info: | ||
string '''GD Version''': The version string of the GD libary the module is compiled against. | |||
==Example== | ==Example== |
Latest revision as of 05:53, 24 January 2011
This function is provided by the external module Texturizer. You must install this module to use this function. | |
Gets a table of the info about the GD libary which the module is compiled against.
Syntax
table gd_info ( )
Required arguments
Returns
The following table of gd info:
string GD Version: The version string of the GD libary the module is compiled against.
Example
Example 1: This example displays the gd version to joining players
gdInfo = gd_info(); function gdVersion ( ) outputDebugString(gdInfo["GD Version"], source); end addEventHandler("onPlayerJoin", getRootElement(), gdVersion)
See also
Texture Functions
GD Functions
Create
Info
Save
Cleanup
Alter
- imageGetAlphaBlending
- imageSetAlphaBlending
- imageGetAntiAlias
- imageSetAntiAlias
- imageGetInterlace
- imageSetInterlace
- imageGetSaveAlpha
- imageSetSaveAlpha
Color
- imageColorAllocate
- imageColorAllocateAlpha
- imageColorClosest
- imageColorClosestAlpha
- imageColorExact
- imageColorExactAlpha
- imageColorResolve
- imageColorResolveAlpha
- imageGetColorAt
- imageSetColorAt
- imageColorDeallocate
- imageColorsTotal
- imageColorSpecial
Text
- imageFontHeight
- imageFontWidth
- imageChar
- imageCharUp
- imageString
- imageStringUp
- imageTtfText
- imageTtfBBox
Draw