Enable or disable anti-aliasing for SWF format vector sprites.


GML Code Example


Argument Description
enable Enable (true) or disable (false) AA for all SWF sprites.

Returns: N/A


With this function you can enable or disable anti-aliasing (AA) for SWF 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_swf_aa_level(). By default this is disabled.


GML Code Example

if draw_get_swf_aa_level() == 0

The above code will check the AA value for SWF format sprites, and if it is 0 it enables AA and sets the value to 0.5.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here