User contributions for TFv10
Jump to navigation
Jump to search
26 February 2022
- 13:5413:54, 26 February 2022 diff hist +1,360 N DgsSVGNodeGetAttributes Created page with "{{Client function}} __NOTOC__ This function gets xmlnode attributes value. ==Syntax== <syntaxhighlight lang="lua"> table dgsSVGNodeSetAttributes( xmlnode xmlNode) </syntaxhighlight> ===Required Arguments=== *'''xmlNode:''' xmlnode That you want to get its attributes and value . ===Optional Arguments=== ===Returns=== * Returns ''true'' if succeed, ''false'' otherwise. ==Example== <section name="Client" class="client" show="true"> <syntaxhighlight lang="lua">..."
- 13:4513:45, 26 February 2022 diff hist −6 DgsSVGNodeSetAttributes →Example
- 13:4413:44, 26 February 2022 diff hist +1 DgsSVGNodeSetAttributes →Required Arguments
- 13:4413:44, 26 February 2022 diff hist +6 DgsSVGNodeSetAttributes No edit summary
- 13:4313:43, 26 February 2022 diff hist +1,256 N DgsSVGNodeSetAttributes Created page with "{{Client function}} __NOTOC__ This function change xmlnode attributes value. ==Syntax== <syntaxhighlight lang="lua"> bool dgsSVGNodeSetAttributes( xmlnode xmlNode, table attributesANDValue) </syntaxhighlight> ===Required Arguments=== *'''xmlNode:''' xmlnode that you want to change its attributes . *'''attributesANDValue:''' Table that contain attributes and its new value . ===Optional Arguments=== ===Returns=== * Returns ''true'' if succeed, ''false'' otherwi..."
- 13:3113:31, 26 February 2022 diff hist +1,547 N DgsSVGNodeGetAttribute Created page with "{{Client function}} __NOTOC__ This function change single node attribute in svg document . ==Syntax== <syntaxhighlight lang="lua"> string dgsSVGNodeGetAttribute( xmlnode xmlNode, string attributeName) </syntaxhighlight> ===Required Arguments=== *'''xmlNode:''' The xmlnode you want to change their attribute value. *'''attributeName:''' The attribute name that you want change its value . ===Returns=== * Returns ''string attribute value'' if succeed, ''false'' otherwi..."
- 13:1913:19, 26 February 2022 diff hist +4 DgsSVGCreateNode →Syntax
- 13:1913:19, 26 February 2022 diff hist +1 DgsSVGCreateNode →Required Arguments
- 13:1813:18, 26 February 2022 diff hist −12 DgsSVGCreateNode →Required Arguments
- 13:1513:15, 26 February 2022 diff hist +1,425 N DgsSVGNodeSetAttribute Created page with "{{Client function}} __NOTOC__ This function change single node attribute in svg document . ==Syntax== <syntaxhighlight lang="lua"> bool dgsSVGNodeSetAttribute( xmlnode xmlNode, string attributeName, string value) </syntaxhighlight> ===Required Arguments=== *'''xmlNode:''' The xmlnode you want to change their attribute value. *'''attributeName:''' The attribute name that you want change its value . *'''value:''' The new value for the attribute. ===Returns=== * Retur..."
- 12:4212:42, 26 February 2022 diff hist +1 DgsCreateSVG →Example
- 12:4112:41, 26 February 2022 diff hist +1 DgsSVGCreateNode →Example
- 12:4112:41, 26 February 2022 diff hist +4 DgsSVGCreateNode →Returns
- 12:4012:40, 26 February 2022 diff hist +1 DgsSVGGetDocument →Example
- 12:3912:39, 26 February 2022 diff hist +4 DgsSVGDestroyNode →Example
- 12:3712:37, 26 February 2022 diff hist −1 DgsCreateSVG →Example
- 12:3512:35, 26 February 2022 diff hist −7 DgsSVGGetDocument →Example
- 12:3512:35, 26 February 2022 diff hist −9 DgsSVGCreateNode →Example
- 12:3412:34, 26 February 2022 diff hist −6 DgsSVGDestroyNode →Example
- 12:3312:33, 26 February 2022 diff hist −27 DgsSVGDestroyNode →Example
- 12:3112:31, 26 February 2022 diff hist −76 DgsSVGDestroyNode →Example
- 12:2212:22, 26 February 2022 diff hist +1 DgsSVGDestroyNode →Example
- 12:2212:22, 26 February 2022 diff hist +3 DgsSVGDestroyNode →Example
- 12:1912:19, 26 February 2022 diff hist −282 DgsSVGDestroyNode No edit summary
- 12:1112:11, 26 February 2022 diff hist 0 DgsSVGDestroyNode →Example
- 12:1012:10, 26 February 2022 diff hist −2 DgsSVGDestroyNode →Example
- 12:1012:10, 26 February 2022 diff hist −54 DgsSVGDestroyNode →Requirements
- 12:1012:10, 26 February 2022 diff hist +6 DgsSVGDestroyNode →Example
- 12:0912:09, 26 February 2022 diff hist +1,894 N DgsSVGDestroyNode Created page with "{{Client function}} __NOTOC__ This function create a node in svg document . ==Syntax== <syntaxhighlight lang="lua"> boolean dgsSVGDestroyNode ( svg svgElement, string nodeType, int width, int height) </syntaxhighlight> ===Required Arguments=== *'''svgElement:''' The svg element you want to get the XML document of. *'''nodeType :''' Node type Available types : '''"rect"''' '''"circle"''' '''"line"''' '''"polygon"''' '''"polyline"''' '''"path"''' '''"ellipse"''' . *..."
- 11:5911:59, 26 February 2022 diff hist +16 DgsSVGCreateNode No edit summary
- 11:5411:54, 26 February 2022 diff hist −151 DgsSVGCreateNode No edit summary
- 11:5111:51, 26 February 2022 diff hist +1 DgsSVGCreateNode No edit summary
- 11:5011:50, 26 February 2022 diff hist −17 DgsSVGCreateNode No edit summary
- 11:4811:48, 26 February 2022 diff hist −20 DgsSVGCreateNode No edit summary
- 11:4511:45, 26 February 2022 diff hist +72 DgsSVGCreateNode No edit summary
- 11:3911:39, 26 February 2022 diff hist −11 DgsSVGCreateNode No edit summary
- 11:3811:38, 26 February 2022 diff hist −17 DgsSVGCreateNode No edit summary
- 11:3711:37, 26 February 2022 diff hist +1,640 N DgsSVGCreateNode Created page with "{{Client function}} __NOTOC__ This function create a node in svg document . ==Syntax== <syntaxhighlight lang="lua"> boolean dgsSVGCreateNode ( svg svgElement, string nodeType, int width, int height) </syntaxhighlight> ===Required Arguments=== *'''svgElement:''' Desired width, preferably power of two (16, 32, 64 etc.), maximum is 4096 *'''nodeType :''' Node type Types : * rect * circle * line * polygon * polyline * path * ellipse *'''widt..."
- 11:0911:09, 26 February 2022 diff hist +1,139 N DgsSVGGetDocument Created page with "{{Client function}} __NOTOC__ Gets the underlying XML document from an SVG element. ==Syntax== <syntaxhighlight lang="lua"> xmlnode dgsSVGGetDocument( svg svgElement ) </syntaxhighlight> ===Required Arguments=== *'''svgElement:''' The svg element you want to get the XML document of. ===Returns=== * Returns an xmlnode if successful, false otherwise ==Example== <section name="Client" class="client" show="true"> <syntaxhighlight lang="lua"> loadstring(exports.d..."
25 February 2022
- 18:1418:14, 25 February 2022 diff hist +30 DgsCreateSVG No edit summary
- 18:1318:13, 25 February 2022 diff hist −25 DgsCreateSVG →See Also
- 18:1118:11, 25 February 2022 diff hist −12 DgsCreateSVG →Example
- 18:1018:10, 25 February 2022 diff hist +110 DgsCreateSVG No edit summary
- 18:0518:05, 25 February 2022 diff hist −46 DgsCreateSVG →Example
- 17:4417:44, 25 February 2022 diff hist +13 DgsCreateSVG →Example
- 17:4217:42, 25 February 2022 diff hist +24 DgsCreateSVG →Example
- 17:4117:41, 25 February 2022 diff hist +79 DgsCreateSVG →Example
- 17:4017:40, 25 February 2022 diff hist +584 m DgsCreateSVG →Example
- 17:3217:32, 25 February 2022 diff hist +632 N DgsCreateSVG →Syntax
- 17:1117:11, 25 February 2022 diff hist 0 DgsGetPosition →Required Arguments