/lvgl-latest/tests/src/test_cases/draw/ |
D | test_draw_letter.c | 65 letter_dsc.rotation = lv_atan2(y - pre_y, x - pre_x); in test_draw_sin_wave() 66 …letter_dsc.rotation = (letter_dsc.rotation > 180 ? letter_dsc.rotation - 360 : letter_dsc.rotation… in test_draw_sin_wave() 87 letter_dsc.rotation = lv_atan2(y - pre_y, x - pre_x) * 10; in test_draw_sin_wave()
|
/lvgl-latest/src/draw/sw/arm2d/ |
D | lv_draw_sw_arm2d.h | 340 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() 354 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() 387 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() 399 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() 417 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() 426 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() 441 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() 467 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() 479 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() 496 ARM_2D_ANGLE((draw_dsc->rotation / 10.0f)), in lv_draw_sw_image_helium() [all …]
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_letter.c | 64 glyph_dsc.rotation = dsc->rotation; in lv_draw_sw_letter() 120 … if(glyph_draw_dsc->rotation % 3600 == 0 && glyph_draw_dsc->format != LV_FONT_GLYPH_FORMAT_IMAGE) { in draw_letter_cb() 140 img_dsc.rotation = glyph_draw_dsc->rotation; in draw_letter_cb()
|
D | lv_draw_sw_utils.h | 95 … int32_t dest_stride, lv_display_rotation_t rotation, lv_color_format_t color_format);
|
/lvgl-latest/src/draw/vg_lite/ |
D | lv_draw_vg_lite_label.c | 94 glyph_dsc.rotation = dsc->rotation; in lv_draw_vg_lite_letter() 158 image_dsc.rotation = glyph_draw_dsc->rotation; in draw_letter_cb() 205 const bool is_rotated = dsc->rotation % 3600 != 0; in draw_letter_bitmap() 212 vg_lite_rotate(dsc->rotation / 10.0f, &matrix); in draw_letter_bitmap() 260 if(is_rotated) vg_lite_rotate(dsc->rotation / 10.0f, &path_matrix); in draw_letter_bitmap() 309 const bool is_rotated = dsc->rotation % 3600 != 0; in draw_letter_outline() 321 vg_lite_rotate(dsc->rotation / 10.0f, &matrix); in draw_letter_outline()
|
/lvgl-latest/src/drivers/display/fb/ |
D | lv_linux_fbdev.c | 268 lv_display_rotation_t rotation = lv_display_get_rotation(disp); in flush_cb() local 271 …if(rotation != LV_DISPLAY_ROTATION_0 && LV_LINUX_FBDEV_RENDER_MODE == LV_DISPLAY_RENDER_MODE_PARTI… in flush_cb() 283 switch(rotation) { in flush_cb() 287 … lv_draw_sw_rotate(color_p, dsc->rotated_buf, w, h, w_stride, h_stride, rotation, cf); in flush_cb() 290 … lv_draw_sw_rotate(color_p, dsc->rotated_buf, w, h, w_stride, w_stride, rotation, cf); in flush_cb() 293 … lv_draw_sw_rotate(color_p, dsc->rotated_buf, w, h, w_stride, h_stride, rotation, cf); in flush_cb() 303 if(rotation != LV_DISPLAY_ROTATION_180) { in flush_cb()
|
/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_vglite_matrix.c | 62 bool has_rotation = (dsc->rotation != 0); in vglite_set_transformation_matrix() 67 vg_lite_rotate(dsc->rotation / 10.0f, &_vgmatrix); /* angle is 1/10 degree */ in vglite_set_transformation_matrix()
|
D | lv_draw_vglite_layer.c | 78 bool has_transform = (draw_dsc->rotation != 0 || draw_dsc->scale_x != LV_SCALE_NONE || in lv_draw_vglite_layer() 85 …lv_image_buf_get_transformed_area(&area_rot, w, h, draw_dsc->rotation, draw_dsc->scale_x, draw_dsc… in lv_draw_vglite_layer()
|
/lvgl-latest/src/widgets/image/ |
D | lv_image.c | 243 if(img->rotation || img->scale_x != LV_SCALE_NONE || img->scale_y != LV_SCALE_NONE) { in lv_image_set_src() 283 if((uint32_t)angle == img->rotation) return; in lv_image_set_rotation() 291 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in lv_image_set_rotation() 298 img->rotation = angle; in lv_image_set_rotation() 307 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in lv_image_set_rotation() 333 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in lv_image_set_pivot() 350 … lv_image_buf_get_transformed_area(&a, w, h, img->rotation, img->scale_x, img->scale_y, &pivot_px); in lv_image_set_pivot() 494 return img->rotation; in lv_image_get_rotation() 586 img->rotation = 0; in lv_image_constructor() 641 if(img->rotation || img->scale_x != LV_SCALE_NONE || img->scale_y != LV_SCALE_NONE) { in lv_image_event() [all …]
|
D | lv_image_private.h | 40 uint32_t rotation; /**< Rotation angle of the image*/ member
|
/lvgl-latest/src/drivers/display/renesas_glcdc/ |
D | lv_renesas_glcdc.c | 289 lv_display_rotation_t rotation = lv_display_get_rotation(display); in flush_partial() local 291 if(rotation != LV_DISPLAY_ROTATION_0) { in flush_partial() 303 if(rotation == LV_DISPLAY_ROTATION_180) in flush_partial() 304 lv_draw_sw_rotate(img, rotation_buffer, w, h, w_stride, w_stride, rotation, cf); in flush_partial() 306 lv_draw_sw_rotate(img, rotation_buffer, w, h, w_stride, h_stride, rotation, cf); in flush_partial()
|
/lvgl-latest/docs/details/integration/driver/display/ |
D | st_ltdc.rst | 89 The driver supports display rotation with 90 :cpp:expr:`lv_display_set_rotation(disp, rotation)` where rotation is one of 92 or :cpp:enumerator:`LV_DISP_ROTATION_270`. The rotation is initially 95 The rotation is done in software and only works if the display was 97 :c:macro:`LV_ST_LTDC_USE_DMA2D_FLUSH` will be have no effect if rotation
|
/lvgl-latest/src/widgets/arc/ |
D | lv_arc.c | 197 void lv_arc_set_rotation(lv_obj_t * obj, int32_t rotation) in lv_arc_set_rotation() argument 203 while(rotation < 0) rotation += 360; in lv_arc_set_rotation() 204 while(rotation >= 360) rotation -= 360; in lv_arc_set_rotation() 205 arc->rotation = rotation; in lv_arc_set_rotation() 347 return ((lv_arc_t *)obj)->rotation; in lv_arc_get_rotation() 420 arc->rotation = 0; in lv_arc_constructor() 509 angle -= arc->rotation; in lv_arc_event() 664 angle -= arc->rotation; in lv_arc_event() 727 arc_dsc.start_angle = arc->bg_angle_start + arc->rotation; in lv_arc_draw() 728 arc_dsc.end_angle = arc->bg_angle_end + arc->rotation; in lv_arc_draw() [all …]
|
D | lv_arc_private.h | 31 int32_t rotation; member
|
/lvgl-latest/src/draw/ |
D | lv_draw_label.h | 47 int32_t rotation; member 73 int32_t rotation; member
|
D | lv_draw_label_private.h | 53 int32_t rotation; member
|
D | lv_draw_image.c | 84 dsc->rotation, dsc->scale_x, dsc->scale_y, &dsc->pivot); in lv_draw_layer() 126 dsc->rotation, dsc->scale_x, dsc->scale_y, &dsc->pivot); in lv_draw_image() 160 …if(draw_dsc->rotation || draw_dsc->scale_x != LV_SCALE_NONE || draw_dsc->scale_y != LV_SCALE_NONE)… in lv_draw_image_normal_helper() 164 …lv_image_buf_get_transformed_area(&draw_area, w, h, draw_dsc->rotation, draw_dsc->scale_x, draw_ds… in lv_draw_image_normal_helper()
|
/lvgl-latest/src/draw/renesas/dave2d/ |
D | lv_draw_dave2d_image.c | 66 bool transformed = draw_dsc->rotation != 0 || draw_dsc->scale_x != LV_SCALE_NONE || in img_draw_core() 254 …lv_point_transform(&p[0], draw_dsc->rotation, draw_dsc->scale_x, draw_dsc->scale_y, &draw_dsc->piv… in img_draw_core() 255 …lv_point_transform(&p[1], draw_dsc->rotation, draw_dsc->scale_x, draw_dsc->scale_y, &draw_dsc->piv… in img_draw_core() 256 …lv_point_transform(&p[2], draw_dsc->rotation, draw_dsc->scale_x, draw_dsc->scale_y, &draw_dsc->piv… in img_draw_core() 257 …lv_point_transform(&p[3], draw_dsc->rotation, draw_dsc->scale_x, draw_dsc->scale_y, &draw_dsc->piv… in img_draw_core() 259 int32_t angle_limited = draw_dsc->rotation; in img_draw_core()
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgLottieModel.h | 194 LottieFloat rotation = 0.0f; member 408 if (rotation.ix == ix) return &rotation; in property() 418 LottieFloat rotation = 0.0f; member 477 if (rotation.ix == ix) return &rotation; in property() 491 LottieFloat rotation = 0.0f; //z rotation member 677 if (rotation.ix == ix) return &rotation; in property() 690 LottieFloat rotation = 0.0f; member
|
/lvgl-latest/src/widgets/scale/ |
D | lv_scale.c | 173 void lv_scale_set_rotation(lv_obj_t * obj, int32_t rotation) in lv_scale_set_rotation() argument 177 int32_t normalized_angle = rotation; in lv_scale_set_rotation() 180 normalized_angle = rotation % 360; in lv_scale_set_rotation() 187 scale->rotation = normalized_angle; in lv_scale_set_rotation() 239 …needle_length_x = (actual_needle_length * lv_trigo_cos(scale->rotation + angle)) >> LV_TRIGO_SHIFT; in lv_scale_set_line_needle_value() 240 …needle_length_y = (actual_needle_length * lv_trigo_sin(scale->rotation + angle)) >> LV_TRIGO_SHIFT; in lv_scale_set_line_needle_value() 293 lv_image_set_rotation(needle_img, (scale->rotation + angle) * 10); in lv_scale_set_image_needle_value() 406 return scale->rotation; in lv_scale_get_rotation() 455 scale->rotation = LV_SCALE_DEFAULT_ROTATION; in lv_scale_constructor() 686 angle_upscale += scale->rotation * 10; in scale_draw_label() [all …]
|
/lvgl-latest/src/indev/ |
D | lv_indev_gesture_private.h | 66 float rotation; /* Rotation & previous rotation*/ member
|
/lvgl-latest/src/draw/nxp/pxp/ |
D | lv_draw_pxp_layer.c | 81 …if(draw_dsc->rotation || draw_dsc->scale_x != LV_SCALE_NONE || draw_dsc->scale_y != LV_SCALE_NONE)… in lv_draw_pxp_layer() 85 …lv_image_buf_get_transformed_area(&area_rot, w, h, draw_dsc->rotation, draw_dsc->scale_x, draw_dsc… in lv_draw_pxp_layer()
|
D | lv_draw_pxp.c | 109 int32_t src_stride, int32_t dest_stride, lv_display_rotation_t rotation, in lv_draw_pxp_rotate() argument 116 switch(rotation) { in lv_draw_pxp_rotate() 207 bool has_transform = (draw_dsc->rotation != 0 || draw_dsc->scale_x != LV_SCALE_NONE || in _pxp_draw_img_supported() 225 if(draw_dsc->rotation % 900) in _pxp_draw_img_supported()
|
D | lv_draw_pxp.h | 59 int32_t src_stride, int32_t dest_stride, lv_display_rotation_t rotation,
|
/lvgl-latest/src/display/ |
D | lv_display.c | 297 switch(disp->rotation) { in lv_display_get_horizontal_resolution() 315 switch(disp->rotation) { in lv_display_get_vertical_resolution() 333 switch(disp->rotation) { in lv_display_get_physical_horizontal_resolution() 351 switch(disp->rotation) { in lv_display_get_physical_vertical_resolution() 369 switch(disp->rotation) { in lv_display_get_offset_x() 390 switch(disp->rotation) { in lv_display_get_offset_y() 861 void lv_display_set_rotation(lv_display_t * disp, lv_display_rotation_t rotation) in lv_display_set_rotation() argument 866 disp->rotation = rotation; in lv_display_set_rotation() 874 return disp->rotation; in lv_display_get_rotation() 1006 lv_display_rotation_t rotation = lv_display_get_rotation(disp); in lv_display_rotate_area() local [all …]
|