cafe-rr-output: CAFE Desktop Library Reference Manual

## cafe-rr-output cafe-rr-output |

## Functions

guint32 | cafe_rr_output_get_id ()
const char * | cafe_rr_output_get_name ()
gboolean | cafe_rr_output_is_connected ()
int | cafe_rr_output_get_size_inches ()
int | cafe_rr_output_get_width_mm ()
int | cafe_rr_output_get_height_mm ()
const guint8 * | cafe_rr_output_get_edid_data ()
CafeRRCrtc ** | cafe_rr_output_get_possible_crtcs ()
CafeRRMode ** | cafe_rr_output_list_modes ()
CafeRRMode * | cafe_rr_output_get_current_mode ()
CafeRRMode * | cafe_rr_output_get_preferred_mode ()
gboolean | cafe_rr_output_supports_mode ()
CafeRRCrtc * | cafe_rr_output_get_crtc ()
void | cafe_rr_output_get_position ()
gboolean | cafe_rr_output_can_clone ()

## Types and Values

typedef | CafeRROutput

## Includes

    #include <cafe-rr.h>

## Description

## Functions

### cafe_rr_output_get_id ()

    guint32
    cafe_rr_output_get_id (CafeRROutput *output);

### cafe_rr_output_get_name ()

    const char *
    cafe_rr_output_get_name (CafeRROutput *output);

### cafe_rr_output_is_connected ()

    gboolean
    cafe_rr_output_is_connected (CafeRROutput *output);

### cafe_rr_output_get_size_inches ()

    int
    cafe_rr_output_get_size_inches (CafeRROutput *output);

### cafe_rr_output_get_width_mm ()

    int
    cafe_rr_output_get_width_mm (CafeRROutput *outout);

### cafe_rr_output_get_height_mm ()

    int
    cafe_rr_output_get_height_mm (CafeRROutput *output);

### cafe_rr_output_get_edid_data ()

    const guint8 *
    cafe_rr_output_get_edid_data (CafeRROutput *output);

### cafe_rr_output_get_possible_crtcs ()

    CafeRRCrtc **
    cafe_rr_output_get_possible_crtcs (CafeRROutput *output);

#### Parameters

output | a CafeRROutput |

#### Returns

.

[array zero-terminated=1][transfer none]

### cafe_rr_output_list_modes ()

    CafeRRMode **
    cafe_rr_output_list_modes (CafeRROutput *output);

#### Parameters

output | a CafeRROutput |

#### Returns

.

[array zero-terminated=1][transfer none]

### cafe_rr_output_get_current_mode ()

    CafeRRMode *
    cafe_rr_output_get_current_mode (CafeRROutput *output);

#### Parameters

output | a CafeRROutput |

#### Returns

the current mode of this output.

[transfer none]

### cafe_rr_output_get_preferred_mode ()

    CafeRRMode *
    cafe_rr_output_get_preferred_mode (CafeRROutput *output);

#### Parameters

output | a CafeRROutput |

#### Returns

.

[transfer none]

### cafe_rr_output_supports_mode ()

    gboolean
    cafe_rr_output_supports_mode (CafeRROutput *output,
                                  CafeRRMode *mode);

### cafe_rr_output_get_crtc ()

    CafeRRCrtc *
    cafe_rr_output_get_crtc (CafeRROutput *output);

#### Parameters

output | a CafeRROutput |

#### Returns

.

[transfer none]

### cafe_rr_output_get_position ()

    void
    cafe_rr_output_get_position (CafeRROutput *output,
                                 int *x,
                                 int *y);

#### Parameters

output | a CafeRROutput |
x | . | [out][allow-none]
y | . | [out][allow-none]

### cafe_rr_output_can_clone ()

    gboolean
    cafe_rr_output_can_clone (CafeRROutput *output,
                              CafeRROutput *clone);

## Types and Values

### CafeRROutput

    typedef struct CafeRROutput CafeRROutput;