.\" 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_SetTextPosition: .\" https://wiki.libsdl.org/SDL_ttf/TTF_SetTextPosition .\" Generated with SDL/build-scripts/wikiheaders.pl .\" revision 3.2.0-no-vcs .\" 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_SetTextPosition .\" 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_SetTextPosition 3 "SDL_ttf 3.2.0" "SDL_ttf" "SDL_ttf3 FUNCTIONS" .SH NAME TTF_SetTextPosition \- Set the position of a text object\[char46] .SH HEADER FILE Defined in SDL3_ttf/SDL_ttf\[char46]h .SH SYNOPSIS .nf .B #include \(dqSDL3_ttf/SDL_ttf.h\(dq .PP .BI "bool TTF_SetTextPosition(TTF_Text *text, int x, int y); .fi .SH DESCRIPTION This can be used to position multiple text objects within a single wrapping text area\[char46] This function may cause the internal text representation to be rebuilt\[char46] .SH FUNCTION PARAMETERS .TP .I text the .BR TTF_Text to modify\[char46] .TP .I x the x offset of the upper left corner of this text in pixels\[char46] .TP .I y the y offset of the upper left corner of this text in pixels\[char46] .SH THREAD SAFETY This function should be called on the thread that created the text\[char46] .SH AVAILABILITY This function is available since SDL_ttf 3\[char46]0\[char46]0\[char46] .SH SEE ALSO .BR \(bu (3), .BR TTF_GetTextPosition (3)