-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into develop
- Loading branch information
Showing
19 changed files
with
208 additions
and
14 deletions.
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
...ontents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_svg_aa.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>draw_enable_svg_aa</title> | ||
<meta name="generator" content="Adobe RoboHelp 2022" /> | ||
<link rel="stylesheet" href="../../../../assets/css/default.css" type="text/css" /> | ||
<script src="../../../../assets/scripts/main_script.js" type="module"></script> | ||
<meta name="rh-authors" content="Mark Alexander" /> | ||
<meta name="topic-comment" content="Reference page for draw_enable_svg_aa" /> | ||
<meta name="rh-index-keywords" content="draw_enable_svg_aa" /> | ||
<meta name="search-keywords" content="draw_enable_svg_aa" /> | ||
</head> | ||
<body> | ||
<!--<div class="body-scroll" style="top: 150px;">--> | ||
<h1><span data-field="title" data-format="default">draw_enable_svg_aa</span></h1> | ||
<p>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 <span class="inline3_func"><a data-xref="{title}" href="draw_set_svg_aa_level.htm">draw_set_svg_aa_level</a></span>. By default this is disabled.</p> | ||
<p> </p> | ||
<h4>Syntax:</h4> | ||
<p class="code"><span data-field="title" data-format="default">draw_enable_svg_aa</span>(enable);</p> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<th>Argument</th> | ||
<th>Type</th> | ||
<th>Description</th> | ||
</tr> | ||
<tr> | ||
<td>enable</td> | ||
<td><span data-keyref="Type_Bool"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Boolean</a></span></td> | ||
<td>Enable (<span class="inline">true</span>) or disable (<span class="inline">false</span>) AA for all SVG sprites.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<p> </p> | ||
<h4>Returns:</h4> | ||
<p class="code"><span data-keyref="Type_Void">N/A</span></p> | ||
<p> </p> | ||
<h4>Example:</h4> | ||
<p class="code">if (draw_get_svg_aa_level() == 0)<br /> | ||
{<br /> | ||
draw_enable_svg_aa(true);<br /> | ||
draw_set_svg_aa_level(0.5);<br /> | ||
}</p> | ||
<p>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.</p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<div class="footer"> | ||
<div class="buttons"> | ||
<div class="clear"> | ||
<div style="float:left">Back: <a href="Sprites_And_Tiles.htm">Sprites And Tiles</a></div> | ||
<div style="float:right">Next: <a data-xref="{title}" href="draw_set_svg_aa_level.htm">draw_set_svg_aa_level</a></div> | ||
</div> | ||
</div> | ||
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5> | ||
</div> | ||
<!-- KEYWORDS | ||
draw_enable_svg_aa | ||
--> | ||
<!-- TAGS | ||
draw_enable_svg_aa | ||
--> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
...ents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_get_svg_aa_level.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>draw_get_svg_aa_level</title> | ||
<meta name="generator" content="Adobe RoboHelp 2022" /> | ||
<link rel="stylesheet" href="../../../../assets/css/default.css" type="text/css" /> | ||
<script src="../../../../assets/scripts/main_script.js" type="module"></script> | ||
<meta name="rh-authors" content="Mark Alexander" /> | ||
<meta name="topic-comment" content="Reference page for draw_get_svg_aa_level" /> | ||
<meta name="rh-index-keywords" content="draw_get_svg_aa_level" /> | ||
<meta name="search-keywords" content="draw_get_svg_aa_level" /> | ||
<meta name="is_pure" content="true" /> | ||
</head> | ||
<body> | ||
<!--<div class="body-scroll" style="top: 150px;">--> | ||
<h1><span data-field="title" data-format="default">draw_get_svg_aa_level</span></h1> | ||
<p>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 <span class="inline3_func"><a data-xref="{title}" href="draw_set_svg_aa_level.htm">draw_set_svg_aa_level</a></span>.</p> | ||
<p> </p> | ||
<h4>Syntax:</h4> | ||
<p class="code"><span data-field="title" data-format="default">draw_get_svg_aa_level</span>();</p> | ||
<p> </p> | ||
<h4>Returns:</h4> | ||
<p class="code"><span data-keyref="Type_Real"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Real</a></span></p> | ||
<p> </p> | ||
<h4>Example:</h4> | ||
<p class="code">if (draw_get_svg_aa_level() == 0)<br /> | ||
{<br /> | ||
draw_enable_svg_aa(true);<br /> | ||
draw_set_svg_aa_level(0.5);<br /> | ||
}</p> | ||
<p>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.</p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<div class="footer"> | ||
<div class="buttons"> | ||
<div class="clear"> | ||
<div style="float:left">Back: <a href="Sprites_And_Tiles.htm">Sprites And Tiles</a></div> | ||
<div style="float:right">Next: <a href="draw_tile.htm">draw_tile</a></div> | ||
</div> | ||
</div> | ||
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5> | ||
</div> | ||
<!-- KEYWORDS | ||
draw_get_svg_aa_level | ||
--> | ||
<!-- TAGS | ||
draw_get_svg_aa_level | ||
--> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
...ents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_set_svg_aa_level.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>draw_set_svg_aa_level</title> | ||
<meta name="generator" content="Adobe RoboHelp 2022" /> | ||
<link rel="stylesheet" href="../../../../assets/css/default.css" type="text/css" /> | ||
<script src="../../../../assets/scripts/main_script.js" type="module"></script> | ||
<meta name="rh-authors" content="Mark Alexander" /> | ||
<meta name="topic-comment" content="Reference page for draw_set_svg_aa_level" /> | ||
<meta name="rh-index-keywords" content="draw_set_svg_aa_level" /> | ||
<meta name="search-keywords" content="draw_set_svg_aa_level" /> | ||
</head> | ||
<body> | ||
<!--<div class="body-scroll" style="top: 150px;">--> | ||
<h1><span data-field="title" data-format="default">draw_set_svg_aa_level</span></h1> | ||
<p>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 <span class="inline3_func"><a data-xref="{title}" href="draw_enable_svg_aa.htm">draw_enable_svg_aa</a></span>.</p> | ||
<p> </p> | ||
<h4>Syntax:</h4> | ||
<p class="code"><span data-field="title" data-format="default">draw_set_svg_aa_level</span>(AA);</p> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<th>Argument</th> | ||
<th>Type</th> | ||
<th>Description</th> | ||
</tr> | ||
<tr> | ||
<td>AA</td> | ||
<td><span data-keyref="Type_Real"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Real</a></span></td> | ||
<td>The anti-aliasing value to use from 0 to 1.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<p> </p> | ||
<h4>Returns:</h4> | ||
<p class="code"><span data-keyref="Type_Void">N/A</span></p> | ||
<p> </p> | ||
<h4>Example:</h4> | ||
<p class="code">if (draw_get_svg_aa_level() == 0)<br /> | ||
{<br /> | ||
draw_enable_svg_aa(true);<br /> | ||
draw_set_svg_aa_level(0.5);<br /> | ||
}</p> | ||
<p>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.</p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<div class="footer"> | ||
<div class="buttons"> | ||
<div class="clear"> | ||
<div style="float:left">Back: <a href="Sprites_And_Tiles.htm">Sprites And Tiles</a></div> | ||
<div style="float:right">Next: <a data-xref="{title}" href="draw_get_svg_aa_level.htm">draw_get_svg_aa_level</a></div> | ||
</div> | ||
</div> | ||
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5> | ||
</div> | ||
<!-- KEYWORDS | ||
draw_set_svg_aa_level | ||
--> | ||
<!-- TAGS | ||
draw_set_svg_aa_level | ||
--> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+277 KB
Manual/contents/assets/Images/Asset_Editors/Editor_Sprites_VectorWireframe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.83 KB
(110%)
Manual/contents/assets/Images/Introduction/QS_GX.Games_Compile_Options.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-86.7 KB
Manual/contents/assets/Images/Scripting_Reference/GML/Overview/scopes.png
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+4.82 KB
(150%)
Manual/contents/assets/Images/Setup_And_Version/Getting_Started_New_Version.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+15.9 KB
...tents/assets/Images/Setup_And_Version/Getting_Started_New_Version_Installed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+11.6 KB
(140%)
...nts/assets/Images/Setup_And_Version/Preferences/Sprite_Editor_Confirm_Prefs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters