DVUI

sizeM

Parameters

#
self:Font
Font
wide:f32
f32
tall:f32
f32

Source

Implementation

#
pub fn sizeM(self: Font, wide: f32, tall: f32) Size {
    const msize: Size = self.textSize("M");
    return .{ .w = msize.w * wide, .h = msize.h * tall };
}