Modules/Texturizer
Jump to navigation
Jump to search
Module info | |
Name | Texturizer |
Version | 0.91 |
Author | Jyrno |
Module website | Not available |
Download link | N/A |
License | GNU LPGL 1.0 |
Written in | {{{written_in}}} |
Operating system | {{{operating_system}}} |
Compatible with | {{{compatible_with}}} |
Texturizer is a module which provides TXD libary writing and GD functions to MTASA server. It will be available Windows only, however since the build system is CMake it should be pretty simple to use it on another platforms.
Installation
Windows
- Uncompress the file Texturizer.dll into your %PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\modules\ directory.
- Uncompress the GD libary binary bgd.dll and libpng14.dll into your %PROGRAMFILES%\MTA San Andreas\server\ directory.
- Restart server.
- Then, add the following line in mtaserver.conf:
<module src="Texturizer.dll" />
- Restart server.
Functions
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