Cogl.Output

g Cogl.Object Cogl.Object Cogl.Output Cogl.Output Cogl.Object->Cogl.Output

Subclasses:

None

Methods

Inherited:

Cogl.Object (2)

get_height ()

get_mm_height ()

get_mm_width ()

get_refresh_rate ()

get_subpixel_order ()

get_width ()

get_x ()

get_y ()

Virtual Methods

None

Fields

None

Class Details

class Cogl.Output
Bases:

Cogl.Object

Abstract:

No

get_height()
Returns:

the height of the output in pixels

Return type:

int

Gets the height of the output in pixels.

New in version 1.14.

get_mm_height()
Returns:

the height of the output in millimeters. A value of 0 indicates that the height is unknown

Return type:

int

Gets the physical height of the output. In some cases (such as as a projector), the value returned here might correspond to nominal resolution rather than the actual physical size of the output device.

New in version 1.14.

get_mm_width()
Returns:

the height of the output in millimeters. A value of 0 indicates the width is unknown

Return type:

int

Gets the physical width of the output. In some cases (such as as a projector), the value returned here might correspond to nominal resolution rather than the actual physical size of the output device.

New in version 1.14.

get_refresh_rate()
Returns:

the refresh rate of the output device. A value of zero indicates that the refresh rate is unknown.

Return type:

float

Gets the number of times per second that the output device refreshes the display contents.

New in version 1.14.

get_subpixel_order()
Returns:

the order of subpixel components for the output device

Return type:

Cogl.SubpixelOrder

For an output device where each pixel is made up of smaller components with different colors, returns the layout of the subpixel components.

New in version 1.14.

get_width()
Returns:

the width of the output in pixels

Return type:

int

Gets the width of the output in pixels.

New in version 1.14.

get_x()
Returns:

the X position of the output as a pixel offset from the left side of the screen coordinate space

Return type:

int

Gets the X position of the output with respect to the coordinate system of the screen.

New in version 1.14.

get_y()
Returns:

the Y position of the output as a pixel offset from the top side of the screen coordinate space

Return type:

int

Gets the Y position of the output with respect to the coordinate system of the screen.

New in version 1.14.