Difference between revisions of "love.graphics.reset"
(add missing func) |
m (changed word reset to resets in descr) |
||
Line 1: | Line 1: | ||
− | + | Resets the current graphics settings. | |
Calling reset makes the current drawing color white, the current background color black, and removes any scissor settings. It sets the [[BlendMode]] to <tt>alpha</tt> and [[ColorMode]] to <tt>modulate.</tt> It also sets both the point and line drawing modes to <tt>smooth</tt> and their sizes to <tt>1.0</tt> . Finally, it removes any stipple settings. | Calling reset makes the current drawing color white, the current background color black, and removes any scissor settings. It sets the [[BlendMode]] to <tt>alpha</tt> and [[ColorMode]] to <tt>modulate.</tt> It also sets both the point and line drawing modes to <tt>smooth</tt> and their sizes to <tt>1.0</tt> . Finally, it removes any stipple settings. | ||
Line 19: | Line 19: | ||
* [[love.graphics.setPointStyle]] | * [[love.graphics.setPointStyle]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Resets the current graphics settings.}} |
Revision as of 15:40, 31 March 2010
Resets the current graphics settings.
Calling reset makes the current drawing color white, the current background color black, and removes any scissor settings. It sets the BlendMode to alpha and ColorMode to modulate. It also sets both the point and line drawing modes to smooth and their sizes to 1.0 . Finally, it removes any stipple settings.
Function
Synopsis
love.graphics.reset( )
Arguments
None
Returns
Nothing