BSP
anime_draw_object() is only used within BSP.
 
Symbols
loading...
Files
loading...

anime_draw_object() function

Blend Foreground object 'object', with background object 'buffer' shifted by position (pos_x, pos_y) @ destination address in 'buffer' + (pos_x, pos_y)

Syntax

static void anime_draw_object(anime_object_t object,     uint16_t pos_x,     uint16_t pos_y,     uint8_t transparency,     anime_object_t buffer);
Implemented in animation.c:92

Arguments

object

Source object

pos_x

Position of offset X drawing in the destination buffer

pos_y

Position of offset Y drawing in the destination buffer

transparency

Draw object 'object' in destination buffer 'buffer' shifted by pos_x, pos_y with this opacity parameter.

buffer

Destination buffer of the drawing.

Return value

None

References

LocationReferrerText
animation.c:92
static void anime_draw_object(anime_object_t object,
animation.c:76
static void anime_draw_object(anime_object_t object, uint16_t pos_x, uint16_t pos_y, uint8_t transparency, anime_object_t buffer);
animation.c:175anime_draw_scene()
anime_draw_object(battery_20x35, 50, 50, 0xFF, object);
animation.c:176anime_draw_scene()
anime_draw_object(logo_compo_134x124, 666, 356, 0xFF, object);
animation.c:177anime_draw_scene()
anime_draw_object(icon_camera_60x60, 209, 159, 0xFF, object);
animation.c:183anime_draw_scene()
anime_draw_object(gauge1_128x126, 336, 177, 0xFF, object);
animation.c:186anime_draw_scene()
anime_draw_object(gauge2_128x126, 336, 177, 0xFF, object);
animation.c:189anime_draw_scene()
anime_draw_object(gauge3_128x126, 336, 177, 0xFF, object);
animation.c:198anime_draw_scene()
anime_draw_object(clouds1_124x44, 600, 50, 0xFF, object);
animation.c:201anime_draw_scene()
anime_draw_object(clouds2_124x44, 600, 50, 0xFF, object);
animation.c:204anime_draw_scene()
anime_draw_object(clouds3_124x44, 600, 50, 0xFF, object);
animation.c:209anime_draw_scene()
anime_draw_object(drop_29x35, 300, 400, 0xFF, object);
animation.c:210anime_draw_scene()
anime_draw_object(thermo_25x35, 340, 400, 0xFF, object);
animation.c:211anime_draw_scene()
anime_draw_object(gyro_36x36, 370, 400, 0xFF, object);
animation.c:212anime_draw_scene()
anime_draw_object(bluetooth_30x35, 415, 400, 0xFF, object);