Home
last modified time | relevance | path

Searched refs:xdist (Results 1 – 2 of 2) sorted by relevance

/GUIX-v6.2.1/samples/demo_guix_smart_watch/
Dpage_2_clock_5_screen.c146 INT xdist; in clock_5_screen_draw() local
167 xdist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * LINE_LENGTH); in clock_5_screen_draw()
173 gx_canvas_pixelmap_draw(xcenter + xdist - width, ycenter + ydist - height, map); in clock_5_screen_draw()
176 xdist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * LINE_LENGTH); in clock_5_screen_draw()
179 gx_canvas_pixelmap_draw(xcenter + xdist - width, ycenter + ydist - height, map); in clock_5_screen_draw()
182 xdist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * LINE_LENGTH); in clock_5_screen_draw()
185 gx_canvas_pixelmap_draw(xcenter + xdist - width, ycenter + ydist - height, map); in clock_5_screen_draw()
/GUIX-v6.2.1/samples/demo_guix_washing_machine/
Ddemo_guix_washing_machine.c359 INT xdist; in animation_wave_draw() local
378 xdist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * ROTATION_DISTANCE); in animation_wave_draw()
384 gx_canvas_pixelmap_draw(xcenter + xdist - width, ycenter + ydist - height, map); in animation_wave_draw()
387 xdist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * ROTATION_DISTANCE); in animation_wave_draw()
390 gx_canvas_pixelmap_draw(xcenter + xdist - width, ycenter + ydist - height, map); in animation_wave_draw()
393 xdist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * ROTATION_DISTANCE); in animation_wave_draw()
396 gx_canvas_pixelmap_draw(xcenter + xdist - width, ycenter + ydist - height, map); in animation_wave_draw()