logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TTF_SubString - The representation of a substring within text.

Availability

       This struct is available since SDL_ttf 3.0.0.

Header File

       Defined in SDL3_ttf/SDL_ttf.h

Name

       TTF_SubString - The representation of a substring within text.

See Also

(3),  TTF_GetNextTextSubString(3), (3), TTF_GetPreviousTextSubString(3), (3), TTF_GetTextSubString(3),
       (3),      TTF_GetTextSubStringForLine(3),       (3),       TTF_GetTextSubStringForPoint(3),       (3),
       TTF_GetTextSubStringsForRange(3)

SDL_ttf                                           SDL_ttf 3.2.2                             TTF_SubString(3type)

Synopsis

#include"SDL3_ttf/SDL_ttf.h"typedefstructTTF_SubString{TTF_SubStringFlagsflags;/**<Theflagsforthissubstring*/intoffset;/**<Thebyteoffsetfromthebeginningofthetext*/intlength;/**<Thebytelengthstartingattheoffset*/intline_index;/**<Theindexofthelinethatcontainsthissubstring*/intcluster_index;/**<Theinternalclusterindex,usedforquicklyiterating*/SDL_Rectrect;/**<Therectangle,relativetothetopleftofthetext,containingthesubstring*/}TTF_SubString;

See Also