Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 12, 2024
2 parents 85cd1e7 + d36c8b5 commit e6f8e4e
Show file tree
Hide file tree
Showing 19 changed files with 208 additions and 14 deletions.
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>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>draw_enable_swf_aa</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand Down
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 &quot;smooth&quot; 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>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>draw_get_swf_aa_level</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand Down
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 &quot;smooth&quot; 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>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>draw_set_swf_aa_level</title>
<meta name="generator" content="Adobe RoboHelp 2020" />
<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"></script>
<meta name="rh-authors" content="Mark Alexander" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Expand All @@ -17,7 +17,9 @@
</div>
<!-- KEYWORDS
draw_sprite_part
--><!-- TAGS
-->
<!-- TAGS
draw_sprite_part
--></body>
-->
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Expand All @@ -17,7 +17,9 @@
</div>
<!-- KEYWORDS
draw_sprite_part_ext
--><!-- TAGS
-->
<!-- TAGS
draw_sprite_part_ext
--></body>
-->
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Expand All @@ -17,7 +17,9 @@
</div>
<!-- KEYWORDS
draw_sprite_pos
--><!-- TAGS
-->
<!-- TAGS
draw_sprite_pos
--></body>
-->
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<h1><span data-field="title" data-format="default">Version &amp; Account Details</span></h1>
<p>The top-right section of the <span data-keyref="GameMaker Name">GameMaker</span> IDE contains details about the current version, a menu for account details and a notifications button.</p>
<p><img class="center" src="../../assets/Images/IDE_Input/Version_Menu.png" /></p>
<p>This shows you the current IDE and Runtime versions. The Runtime version can be changed from the <a data-xref="{title}" href="../../Setting_Up_And_Version_Information/IDE_Preferences/Runtime_Feed_Preferences.htm">Runtime Feeds Preferences</a>.</p>
<p>This shows you the current IDE and Runtime versions. The IDE can be updated through <a data-xref="{title}" href="The_Help_Menu.htm">The Help Menu</a> and the Runtime version can be changed from the <a data-xref="{title}" href="../../Setting_Up_And_Version_Information/IDE_Preferences/Runtime_Feed_Preferences.htm">Runtime Feeds Preferences</a>.</p>
<h2 id="account_menu">Account Menu</h2>
<p><img class="center" src="../../assets/Images/IDE_Input/Account_Menu.png" />This menu contains the following options:</p>
<ul class="colour">
Expand All @@ -40,7 +40,7 @@ <h2>Notifications</h2>
<div style="float:right">Next: <a href="The_File_Menu.htm">The File Menu</a></div>
</div>
</div>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All Rights Reserved</span></h5>
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5>
</div>
<!-- KEYWORDS
The Help Menu
Expand Down
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Manual/toc/Default.toc
Original file line number Diff line number Diff line change
Expand Up @@ -1676,6 +1676,9 @@
<page href="../contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_swf_aa.htm" format="html" processing-role="normal"></page>
<page href="../contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_set_swf_aa_level.htm" format="html" processing-role="normal"></page>
<page href="../contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_get_swf_aa_level.htm" format="html" processing-role="normal"></page>
<page href="../contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_svg_aa.htm" format="html" processing-role="normal"></page>
<page href="../contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_set_svg_aa_level.htm" format="html" processing-role="normal"></page>
<page href="../contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_get_svg_aa_level.htm" format="html" processing-role="normal"></page>
<page href="../contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_tile.htm" format="html" processing-role="normal"></page>
<page href="../contents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_tilemap.htm" format="html" processing-role="normal"></page>
</book>
Expand Down

0 comments on commit e6f8e4e

Please sign in to comment.