Font.sdf - multiple declarations
Function Font.sdf
Wraps TTF_GetFontSDF (from SDL_ttf 2.0.18) to get whether the Font has signed distance field
bool sdf() @property @trusted const;
Returns
true if the Font has SDF, otherwise false
Function Font.sdf
Wraps TTF_SetFontSDF (from SDL_ttf 2.0.18) to set signed distance field
void sdf
(
bool newSDF
) @property @trusted;
Parameters
| Name | Description |
|---|---|
| newSDF | true to set SDF, otherwise false |
Throws
dsdl if unable to set SDF