Screen mirror types

Types of mirrors

Synopsis:

#include <screen/screen.h>
enum {
    SCREEN_MIRROR_DISABLED = 0,
    SCREEN_MIRROR_NORMAL = 1,
    SCREEN_MIRROR_STRETCH = 2,
    SCREEN_MIRROR_ZOOM = 3,
    SCREEN_MIRROR_FILL = 4
};

Data:

SCREEN_MIRROR_DISABLED
Mirroring is disabled.
SCREEN_MIRROR_NORMAL
Mirroring is enabled, and the aspect-ratio of the image is 1:1.
SCREEN_MIRROR_STRETCH
Mirroring is enabled, and the image fills the display while preserving the aspect-ratio.

Image may be shown with black bars where applicable.

SCREEN_MIRROR_ZOOM
Mirroring is enabled, and the image fills the display while preserving the aspect-ratio.

Image content may be clipped.

SCREEN_MIRROR_FILL
Mirroring is enabled, and the image fills the display while not preserving the aspect-ratio.

Library:

libscreen