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

SDL_RendererLogicalPresentation - How the logical size is mapped to the output.

Availability

       This enum is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10             SDL_RendererLogicalPresentation(3type)

Header File

       Defined in SDL3/SDL_render.h

Name

       SDL_RendererLogicalPresentation - How the logical size is mapped to the output.

Synopsis

#include"SDL3/SDL.h"typedefenumSDL_RendererLogicalPresentation{SDL_LOGICAL_PRESENTATION_DISABLED,/**<Thereisnologicalsizeineffect*/SDL_LOGICAL_PRESENTATION_STRETCH,/**<Therenderedcontentisstretchedtotheoutputresolution*/SDL_LOGICAL_PRESENTATION_LETTERBOX,/**<Therenderedcontentisfittothelargestdimensionandtheotherdimensionisletterboxedwithblackbars*/SDL_LOGICAL_PRESENTATION_OVERSCAN,/**<Therenderedcontentisfittothesmallestdimensionandtheotherdimensionextendsbeyondtheoutputbounds*/SDL_LOGICAL_PRESENTATION_INTEGER_SCALE/**<Therenderedcontentisscaledupbyintegermultiplestofittheoutputresolution*/}SDL_RendererLogicalPresentation;

See Also