enum Gdk::SubpixelLayout

Overview

This enumeration describes how the red, green and blue components of physical pixels on an output device are laid out.

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/gdk.cr

Enum Members

Unknown = 0_u32

The layout is not known

None = 1_u32

Not organized in this way

HorizontalRgb = 2_u32

The layout is horizontal, the order is RGB

HorizontalBgr = 3_u32

The layout is horizontal, the order is BGR

VerticalRgb = 4_u32

The layout is vertical, the order is RGB

VerticalBgr = 5_u32

The layout is vertical, the order is BGR

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def horizontal_bgr? #

[View source]
def horizontal_rgb? #

[View source]
def none? #

[View source]
def unknown? #

[View source]
def vertical_bgr? #

[View source]
def vertical_rgb? #

[View source]