Font.sdf

Wraps TTF_GetFontSDF (from SDL_ttf 2.0.18) to get whether the dsdl2.ttf.Font has signed distance field

  1. bool sdf()
    class Font
    const @property @trusted
    static if(sdlTTFSupport >= SDLTTFSupport.v2_0_18)
    bool
    sdf
    ()
  2. void sdf(bool newSDF)

Return Value

Type: bool

true if the dsdl2.ttf.Font has SDF, otherwise false

Meta