Module: Gdk::MemoryFormat

Defined in:
(unknown)

Constant Summary collapse

B8G8R8A8_PREMULTIPLIED =

4 bytes; for blue, green, red, alpha. The color values are premultiplied with the alpha value.

0 or :b8g8r8a8_premultiplied
A8R8G8B8_PREMULTIPLIED =

4 bytes; for alpha, red, green, blue. The color values are premultiplied with the alpha value.

1 or :a8r8g8b8_premultiplied
R8G8B8A8_PREMULTIPLIED =

4 bytes; for red, green, blue, alpha The color values are premultiplied with the alpha value.

2 or :r8g8b8a8_premultiplied
B8G8R8A8 =

4 bytes; for blue, green, red, alpha.

3 or :b8g8r8a8
A8R8G8B8 =

4 bytes; for alpha, red, green, blue.

4 or :a8r8g8b8
R8G8B8A8 =

4 bytes; for red, green, blue, alpha.

5 or :r8g8b8a8
A8B8G8R8 =

4 bytes; for alpha, blue, green, red.

6 or :a8b8g8r8
R8G8B8 =

3 bytes; for red, green, blue. The data is opaque.

7 or :r8g8b8
B8G8R8 =

3 bytes; for blue, green, red. The data is opaque.

8 or :b8g8r8
R16G16B16 =

3 guint16 values; for red, green, blue.

9 or :r16g16b16
R16G16B16A16_PREMULTIPLIED =

4 guint16 values; for red, green, blue, alpha. The color values are premultiplied with the alpha value.

10 or :r16g16b16a16_premultiplied
R16G16B16A16 =

4 guint16 values; for red, green, blue, alpha.

11 or :r16g16b16a16
R16G16B16_FLOAT =

3 half-float values; for red, green, blue. The data is opaque.

12 or :r16g16b16_float
R16G16B16A16_FLOAT_PREMULTIPLIED =

4 half-float values; for red, green, blue and alpha. The color values are premultiplied with the alpha value.

13 or :r16g16b16a16_float_premultiplied
R16G16B16A16_FLOAT =

4 half-float values; for red, green, blue and alpha.

14 or :r16g16b16a16_float
R32G32B32_FLOAT =

3 float values; for red, green, blue.

15 or :r32g32b32_float
R32G32B32A32_FLOAT_PREMULTIPLIED =

4 float values; for red, green, blue and alpha. The color values are premultiplied with the alpha value.

16 or :r32g32b32a32_float_premultiplied
R32G32B32A32_FLOAT =

4 float values; for red, green, blue and alpha.

17 or :r32g32b32a32_float
G8A8_PREMULTIPLIED =

2 bytes; for grayscale, alpha. The color values are premultiplied with the alpha value.

18 or :g8a8_premultiplied
G8A8 =

2 bytes; for grayscale, alpha.

19 or :g8a8
G8 =

One byte; for grayscale. The data is opaque.

20 or :g8
G16A16_PREMULTIPLIED =

2 guint16 values; for grayscale, alpha. The color values are premultiplied with the alpha value.

21 or :g16a16_premultiplied
G16A16 =

2 guint16 values; for grayscale, alpha.

22 or :g16a16
G16 =

One guint16 value; for grayscale. The data is opaque.

23 or :g16
A8 =

One byte; for alpha.

24 or :a8
A16 =

One guint16 value; for alpha.

25 or :a16
A16_FLOAT =

One half-float value; for alpha.

26 or :a16_float
A32_FLOAT =

One float value; for alpha.

27 or :a32_float
A8B8G8R8_PREMULTIPLIED =

4 bytes; for alpha, blue, green, red, The color values are premultiplied with the alpha value.

28 or :a8b8g8r8_premultiplied
B8G8R8X8 =

4 bytes; for blue, green, red, unused.

29 or :b8g8r8x8
X8R8G8B8 =

4 bytes; for unused, red, green, blue.

30 or :x8r8g8b8
R8G8B8X8 =

4 bytes; for red, green, blue, unused.

31 or :r8g8b8x8
X8B8G8R8 =

4 bytes; for unused, blue, green, red.

32 or :x8b8g8r8
N_FORMATS =

The number of formats. This value will change as more formats get added, so do not rely on its concrete integer.

33 or :n_formats