Matrix control structures

This section provides an overview of the graphic transformation matrix control structures.

vg_lite_matrix_t structure

This structure defines a 3x3 floating point matrix.

Used in structures: vg_lite_linear_gradient_t, vg_lite_radial_gradient_t.

Used in blit functions: vg_lite_blit, vg_lite_blit_rect.

Used in draw functions: vg_lite_draw, vg_lite_draw_gradient, vg_lite_draw_radial_gradient, vg_lite_draw_pattern, vg_lite_identity, vg_lite_scale, vg_lite_translate.

vg_lite_matrix_t member

Type

Description

m[3][3]

vg_lite_float_t

3x3 matrix, in [row] [column] order

Parent topic:Matrix control structures

vg_lite_pixel_channel_enable_t structure

This structure provides enable disable flags for hardware pixel channels A,R,G,B.

Used in function: vg_lite_set_pixel_matrix_t.

vg_lite_pixel_channel_enable_t members

Type

Description

enable_a

vg_lite_uint8_t

Enable A channel

enable_b

vg_lite_uint8_t

Enable B channel

enable_g

vg_lite_uint8_t

Enable G channel

enable_r

vg_lite_uint8_t

Enable R channel

Parent topic:Matrix control structures

Parent topic:Matrices