.\" This manpage content is licensed under Creative Commons .\" Attribution 4.0 International (CC BY 4.0) .\" https://creativecommons.org/licenses/by/4.0/ .\" This manpage was generated from SDL_ttf's wiki page for TTF_RenderGlyph32_LCD: .\" https://wiki.libsdl.org/SDL_ttf/TTF_RenderGlyph32_LCD .\" Generated with SDL/build-scripts/wikiheaders.pl .\" revision 3~git20240320~6e260a2+ds-1 .\" Please report issues in this manpage's content at: .\" https://github.com/libsdl-org/sdlwiki/issues/new .\" Please report issues in the generation of this manpage from the wiki at: .\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20TTF_RenderGlyph32_LCD .\" SDL_ttf can be found at https://libsdl.org/projects/SDL_ttf .de URL \$2 \(laURL: \$1 \(ra\$3 .. .if \n[.g] .mso www.tmac .TH TTF_RenderGlyph32_LCD 3 "SDL_ttf 3.0.0" "SDL_ttf" "SDL_ttf3 FUNCTIONS" .SH NAME TTF_RenderGlyph32_LCD \- Render a single 32-bit glyph at LCD subpixel quality to a new ARGB surface\[char46] .SH SYNOPSIS .nf .B #include \(dqSDL3_ttf/SDL_ttf.h\(dq .PP .BI "SDL_Surface * TTF_RenderGlyph32_LCD(TTF_Font *font, .BI " Uint32 ch, SDL_Color fg, SDL_Color bg); .fi .SH DESCRIPTION This function will allocate a new 32-bit, ARGB surface, and render alpha-blended text using FreeType's LCD subpixel rendering\[char46] This function returns the new surface, or NULL if there was an error\[char46] The glyph is rendered without any padding or centering in the X direction, and aligned normally in the Y direction\[char46] This is the same as .BR TTF_RenderGlyph_LCD (), but takes a 32-bit character instead of 16-bit, and thus can render a larger range\[char46] Between the two, you should always use this function\[char46] You can render at other quality levels with .BR TTF_RenderGlyph32_Solid , .BR TTF_RenderGlyph32_Shaded , and .BR TTF_RenderGlyph32_Blended \[char46] .SH FUNCTION PARAMETERS .TP .I font the font to render with\[char46] .TP .I ch the character to render\[char46] .TP .I fg the foreground color for the text\[char46] .TP .I bg the background color for the text\[char46] .SH RETURN VALUE Returns a new 32-bit, ARGB surface, or NULL if there was an error\[char46] .SH AVAILABILITY This function is available since SDL_ttf 3\[char46]0\[char46]0\[char46] .SH SEE ALSO .BR TTF_RenderGlyph32_Solid (3), .BR TTF_RenderGlyph32_Shaded (3), .BR TTF_RenderGlyph32_Blended (3)