al_get_display_orientation(3)

al_get_display_orientation3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
int al_get_display_orientation(ALLEGRO_DISPLAY* display)

Overview

Return the display orientation, which can be one of the following:

•

ALLEGRO_DISPLAY_ORIENTATION_UNKNOWN

•

ALLEGRO_DISPLAY_ORIENTATION_0_DEGREES

•

ALLEGRO_DISPLAY_ORIENTATION_90_DEGREES

•

ALLEGRO_DISPLAY_ORIENTATION_180_DEGREES

•

ALLEGRO_DISPLAY_ORIENTATION_270_DEGREES

•

ALLEGRO_DISPLAY_ORIENTATION_FACE_UP

•

ALLEGRO_DISPLAY_ORIENTATION_FACE_DOWN

Since

5.1.0

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.