diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_svg_aa.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_svg_aa.htm new file mode 100644 index 000000000..860df94cf --- /dev/null +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_svg_aa.htm @@ -0,0 +1,66 @@ + + + +
+ +With this function you can enable or disable anti-aliasing (AA) for SVG format vector sprites. AA simply smooths the edges of vector images to give them a nicer look. The amount of AA used will depend on the value set using the function draw_set_svg_aa_level. By default this is disabled.
++
draw_enable_svg_aa(enable);
+Argument | +Type | +Description | +
---|---|---|
enable | +Boolean | +Enable (true) or disable (false) AA for all SVG sprites. | +
+
N/A
++
if (draw_get_svg_aa_level() == 0)
+ {
+ draw_enable_svg_aa(true);
+ draw_set_svg_aa_level(0.5);
+ }
The above code will check the AA value for SVG format sprites, and if it is 0 it enables AA and sets the value to 0.5.
++
+
+ + + + + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_swf_aa.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_swf_aa.htm index 9e89d16a8..04fa278ef 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_swf_aa.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_swf_aa.htm @@ -4,7 +4,7 @@
This function can be used to get the anti-aliasing (AA) level for SVG format vector sprites. The return value will between 0 and 1 and shows how "smooth" the edges of these sprites will be drawn. You can set the AA level using the function draw_set_svg_aa_level.
++
draw_get_svg_aa_level();
++
+
if (draw_get_svg_aa_level() == 0)
+ {
+ draw_enable_svg_aa(true);
+ draw_set_svg_aa_level(0.5);
+ }
The above code will check the AA value for SVG format sprites, and if it is 0 it enables AA and sets the value to 0.5.
++
+
+ + + + + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_get_swf_aa_level.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_get_swf_aa_level.htm index a9428e1fb..c772a3099 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_get_swf_aa_level.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_get_swf_aa_level.htm @@ -4,7 +4,7 @@
This function can be used to set the anti-aliasing (AA) level for SVG format vector sprites. This can be a real value from 0 to 1 and will "smooth" the edges of these sprites. Note that to see this effect, you must first have enabled AA using the function draw_enable_svg_aa.
++
draw_set_svg_aa_level(AA);
+Argument | +Type | +Description | +
---|---|---|
AA | +Real | +The anti-aliasing value to use from 0 to 1. | +
+
N/A
++
if (draw_get_svg_aa_level() == 0)
+ {
+ draw_enable_svg_aa(true);
+ draw_set_svg_aa_level(0.5);
+ }
The above code will check the AA value for SVG format sprites, and if it is 0 it enables AA and sets the value to 0.5.
++
+
+ + + + + \ No newline at end of file diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_set_swf_aa_level.htm b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_set_swf_aa_level.htm index 144d9fcc9..0899b25b9 100644 --- a/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_set_swf_aa_level.htm +++ b/Manual/contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_set_swf_aa_level.htm @@ -4,7 +4,7 @@
The top-right section of the GameMaker IDE contains details about the current version, a menu for account details and a notifications button.
This shows you the current IDE and Runtime versions. The Runtime version can be changed from the Runtime Feeds Preferences.
+This shows you the current IDE and Runtime versions. The IDE can be updated through The Help Menu and the Runtime version can be changed from the Runtime Feeds Preferences.
This menu contains the following options: