mate-rr-crtc

mate-rr-crtc

Synopsis

#include <libmateui/mate-rr.h>

typedef             MateRRCrtc;
enum                MateRRRotation;
guint32             mate_rr_crtc_get_id                 (MateRRCrtc *crtc);
gboolean            mate_rr_crtc_set_config             (MateRRCrtc *crtc,
                                                         int x,
                                                         int y,
                                                         MateRRMode *mode,
                                                         MateRRRotation rotation,
                                                         MateRROutput **outputs,
                                                         int n_outputs,
                                                         GError **error);
gboolean            mate_rr_crtc_can_drive_output       (MateRRCrtc *crtc,
                                                         MateRROutput *output);
MateRRMode *        mate_rr_crtc_get_current_mode       (MateRRCrtc *crtc);
void                mate_rr_crtc_get_position           (MateRRCrtc *crtc,
                                                         int *x,
                                                         int *y);
gboolean            mate_rr_crtc_supports_rotation      (MateRRCrtc *crtc,
                                                         MateRRRotation rotation);
MateRRRotation      mate_rr_crtc_get_current_rotation   (MateRRCrtc *crtc);
MateRRRotation      mate_rr_crtc_get_rotations          (MateRRCrtc *crtc);

Description

Details

MateRRCrtc

typedef struct MateRRCrtc MateRRCrtc;


enum MateRRRotation

typedef enum {
    MATE_RR_ROTATION_0 = (1 << 0),
    MATE_RR_ROTATION_90 = (1 << 1),
    MATE_RR_ROTATION_180 = (1 << 2),
    MATE_RR_ROTATION_270 = (1 << 3),
    MATE_RR_REFLECT_X = (1 << 4),
    MATE_RR_REFLECT_Y = (1 << 5)
} MateRRRotation;

MATE_RR_ROTATION_0

MATE_RR_ROTATION_90

MATE_RR_ROTATION_180

MATE_RR_ROTATION_270

MATE_RR_REFLECT_X

MATE_RR_REFLECT_Y


mate_rr_crtc_get_id ()

guint32             mate_rr_crtc_get_id                 (MateRRCrtc *crtc);


mate_rr_crtc_set_config ()

gboolean            mate_rr_crtc_set_config             (MateRRCrtc *crtc,
                                                         int x,
                                                         int y,
                                                         MateRRMode *mode,
                                                         MateRRRotation rotation,
                                                         MateRROutput **outputs,
                                                         int n_outputs,
                                                         GError **error);

Warning

mate_rr_crtc_set_config is deprecated and should not be used in newly-written code.


mate_rr_crtc_can_drive_output ()

gboolean            mate_rr_crtc_can_drive_output       (MateRRCrtc *crtc,
                                                         MateRROutput *output);


mate_rr_crtc_get_current_mode ()

MateRRMode *        mate_rr_crtc_get_current_mode       (MateRRCrtc *crtc);


mate_rr_crtc_get_position ()

void                mate_rr_crtc_get_position           (MateRRCrtc *crtc,
                                                         int *x,
                                                         int *y);


mate_rr_crtc_supports_rotation ()

gboolean            mate_rr_crtc_supports_rotation      (MateRRCrtc *crtc,
                                                         MateRRRotation rotation);


mate_rr_crtc_get_current_rotation ()

MateRRRotation      mate_rr_crtc_get_current_rotation   (MateRRCrtc *crtc);


mate_rr_crtc_get_rotations ()

MateRRRotation      mate_rr_crtc_get_rotations          (MateRRCrtc *crtc);