Function Font.sizeDPI

Wraps TTF_SetFontSizeDPI (from SDL_ttf 2.0.18) to set the Font's size in DPI

void sizeDPI (
  std.typecons.Tuple!(uint,uint,uint) newSizeDPI
) @property @trusted;

Parameters

NameDescription
newSizeDPI new DPI size tuple of the font size, hdpi, and vdpi

Throws

dsdl.SDLException if unable to set size