W3cubDocs

/LÖVE

love.graphics.getMaxPointSize

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


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.getMaxPointSize