|
@@ -5888,6 +5888,29 @@ return {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ name = "getRasterizer",
|
|
|
+ summary = "Get the underlying Rasterizer.",
|
|
|
+ description = "Returns the underyling `Rasterizer` object for a Font.",
|
|
|
+ key = "Font:getRasterizer",
|
|
|
+ module = "lovr.graphics",
|
|
|
+ related = {
|
|
|
+ "Rasterizer",
|
|
|
+ "lovr.data.newRasterizer"
|
|
|
+ },
|
|
|
+ variants = {
|
|
|
+ {
|
|
|
+ arguments = {},
|
|
|
+ returns = {
|
|
|
+ {
|
|
|
+ name = "rasterizer",
|
|
|
+ type = "Rasterizer",
|
|
|
+ description = "The rasterizer."
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
name = "getWidth",
|
|
|
summary = "Get the width of a line of text.",
|