Lines Matching refs:scale
28 .. image:: /misc/scale.png
41 :cpp:enumerator:`LV_SCALE_MODE_HORIZONTAL_BOTTOM`. This makes the scale horizontal
43 or tick position, use :cpp:expr:`lv_scale_set_mode(scale, mode)`, where ``mode`` can
60 - :cpp:expr:`lv_scale_set_range(scale, min, max)`, and
61 - :cpp:expr:`lv_scale_set_angle_range(scale, angle_range)`
74 :cpp:expr:`lv_scale_set_draw_ticks_on_top(scale, true)`. (This effect can be
91 - :cpp:expr:`lv_scale_set_total_tick_count(scale, total_tick_count)`, and
92 - :cpp:expr:`lv_scale_set_major_tick_every(scale, nth_tick)`.
95 :cpp:expr:`lv_scale_set_label_show(scale, true)`. (Pass ``false`` to hide them again.)
97 By default, the labels shown are the numeric values of the scale at the major tick
99 :cpp:expr:`lv_scale_set_text_src(scale, custom_labels)` where ``custom_labels`` is an
112 :cpp:expr:`lv_obj_set_style_transform_rotation(scale, LV_SCALE_LABEL_ROTATE_MATCH_TICKS, LV_PART_IN…
116 :cpp:expr:`lv_obj_set_style_transform_rotation(scale, 200, LV_PART_INDICATOR)`.
119 :cpp:expr:`lv_obj_set_style_transform_rotation(scale, LV_SCALE_LABEL_ROTATE_MATCH_TICKS + 200, LV_P…
124 :cpp:expr:`lv_obj_set_style_transform_rotation(scale, LV_SCALE_LABEL_ROTATE_MATCH_TICKS | LV_SCALE_…
126 :cpp:expr:`lv_obj_set_style_translate_x(scale, 10, LV_PART_INDICATOR)`.
138 :cpp:expr:`lv_obj_set_style_length(scale, 5, LV_PART_INDICATOR)` for major ticks
139 and :cpp:expr:`lv_obj_set_style_length(scale, 5, LV_PART_ITEMS)` for minor ticks. The ticks can be
141 :cpp:expr:`lv_obj_set_style_radial_offset(scale, 5, LV_PART_INDICATOR)` for major ticks and
142 :cpp:expr:`lv_obj_set_style_radial_offset(scale, 5, LV_PART_ITEMS)` for minor.
146 :cpp:expr:`lv_obj_set_style_pad_radial(scale, 5, LV_PART_INDICATOR)`
172 A Section is created using :cpp:expr:`lv_scale_add_section(scale)`, which returns a
301 .. include:: ../../examples/widgets/scale/index.rst