Difference between revisions of "love.graphics.getMaxPointSize"

m (Improve example and add links.)
(Added oldin)
Line 1: Line 1:
{{deprecatedin|[[0.9.1]]|091|type=function|text=This function will be removed in a future version. Use [[love.graphics.getSystemLimit]] instead}}
+
{{oldin|[[0.10.0]]|100|type=function|text=Use [[love.graphics.getSystemLimits]] instead}}
 
Gets the max supported [[love.graphics.point|point]] size.
 
Gets the max supported [[love.graphics.point|point]] size.
 
== Function ==
 
== Function ==

Revision as of 03:00, 17 December 2015

Removed in LÖVE 0.10.0
Use love.graphics.getSystemLimits instead.

Gets the max supported point size.

Function

Synopsis

size = love.graphics.getMaxPointSize( )

Arguments

None.

Returns

number size
The max supported point size.

Examples

Draws a point at the maximum supported size.

function love.draw()
    local max = love.graphics.getMaxPointSize();
    love.graphics.setPointSize(max);
    love.graphics.point(100, 100);
end

See Also


Other Languages