Constants

Details

Cogl.AFIRST_BIT = 64
Cogl.A_BIT = 16
Cogl.BGR_BIT = 32
Cogl.DEPTH_BIT = 256
Cogl.FIXED_0_5 = 32768

The number 0.5 expressed as a Cogl.Fixed number.

New in version 1.0.

Cogl.FIXED_1 = 1

The number 1 expressed as a Cogl.Fixed number.

New in version 1.0.

Cogl.FIXED_2_PI = 411775

Two times pi, expressed as a Cogl.Fixed number.

New in version 1.0.

Cogl.FIXED_BITS = 32

Evaluates to the number of bits used by the Cogl.Fixed type.

New in version 1.0.

Cogl.FIXED_EPSILON = 1

A very small number expressed as a Cogl.Fixed number.

New in version 1.0.

Cogl.FIXED_MAX = 2147483647

The biggest number representable using Cogl.Fixed

New in version 1.0.

Cogl.FIXED_MIN = -2147483648

The smallest number representable using Cogl.Fixed

New in version 1.0.

Cogl.FIXED_PI = 205887

The number pi, expressed as a Cogl.Fixed number.

New in version 1.0.

Cogl.FIXED_PI_2 = 102944

Half pi, expressed as a Cogl.Fixed number.

New in version 1.0.

Cogl.FIXED_PI_4 = 51472

pi / 4, expressed as Cogl.Fixed number.

New in version 1.0.

Cogl.FIXED_Q = -16

Evaluates to the number of bits used for the non-integer part of the Cogl.Fixed type.

New in version 1.0.

Cogl.PREMULT_BIT = 128
Cogl.RADIANS_TO_DEGREES = 3754936

Evaluates to 180 / pi in fixed point notation.

New in version 1.0.

Cogl.SQRTI_ARG_10_PERCENT = 5590

Maximum argument that can be passed to Cogl.sqrti() for which the resulting error is < 10%

New in version 1.0.

Cogl.SQRTI_ARG_5_PERCENT = 210

Maximum argument that can be passed to Cogl.sqrti() for which the resulting error is < 5%

New in version 1.0.

Cogl.SQRTI_ARG_MAX = 4194303

Maximum argument that can be passed to Cogl.sqrti() function.

New in version 1.0.

Cogl.STENCIL_BIT = 512
Cogl.TEXTURE_MAX_WASTE = 127