Create an RTF display context, with the given font engine.
Defined in <SDL3_rtf/SDL_rtf.h>
RTF_Context * RTF_CreateContext(SDL_Renderer *renderer, RTF_FontEngine *fontEngine);
SDL_Renderer * | renderer | an SDL renderer to use for drawing. |
RTF_FontEngine * | fontEngine | the font engine to use for rendering text. |
(RTF_Context *) Returns a new RTF display context, or NULL on error.
Once a context is created, it can be used to load and display text in Microsoft RTF format.
This function is available since SDL_rtf 3.0.0.