Font.sdf

Wraps TTF_SetFontSDF (from SDL_ttf 2.0.18) to set signed distance field

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

Parameters

newSDF bool

true to set SDF, otherwise false

Throws

dsdl.SDLException if unable to set SDF

Meta