Home
last modified time | relevance | path

Searched +full:- +full:q (Results 1 – 25 of 51) sorted by relevance

123

/lvgl-latest/src/draw/sw/
Dlv_draw_sw_arc.c41 static void draw_quarter_0(quarter_draw_dsc_t * q);
42 static void draw_quarter_1(quarter_draw_dsc_t * q);
43 static void draw_quarter_2(quarter_draw_dsc_t * q);
44 static void draw_quarter_3(quarter_draw_dsc_t * q);
64 if(dsc->opa <= LV_OPA_MIN) return; in lv_draw_sw_arc()
65 if(dsc->width == 0) return; in lv_draw_sw_arc()
68 lv_coord_t width = dsc->width; in lv_draw_sw_arc()
73 cir_dsc.blend_mode = dsc->blend_mode; in lv_draw_sw_arc()
74 if(dsc->img_src) { in lv_draw_sw_arc()
76 cir_dsc.bg_img_src = dsc->img_src; in lv_draw_sw_arc()
[all …]
Dlv_draw_sw_dither.c23 if(grad == NULL || grad->filled) return; in lv_dither_none()
25 grad->map[i] = lv_color_hex(grad->hmap[i].full); in lv_dither_none()
27 grad->filled = 1; in lv_dither_none()
49 …3. It means that a pixel i,j only depends on the value of a pixel i-7, j-7 to i,j and no other one. in lv_dither_ordered_hor()
54 int8_t factor = dither_ordered_threshold_matrix[(y & 7) * 8 + ((j) & 7)] - 32; in lv_dither_ordered_hor()
55 lv_color32_t tmp = grad->hmap[LV_CLAMP(0, j - 4, grad->size)]; in lv_dither_ordered_hor()
61 grad->map[j] = lv_color_hex(t.full); in lv_dither_ordered_hor()
72 …3. It means that a pixel i,j only depends on the value of a pixel i-7, j-7 to i,j and no other one. in lv_dither_ordered_ver()
76 lv_color32_t tmp = grad->hmap[LV_CLAMP(0, y - 4, grad->size)]; in lv_dither_ordered_ver()
80 int8_t factor = dither_ordered_threshold_matrix[(y & 7) * 8 + ((j + x) & 7)] - 32; in lv_dither_ordered_ver()
[all …]
/lvgl-latest/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h1 // stb_truetype.h - v1.26htcw (fork to enable streaming and low memory environments)
2 // stb_truetype.h - v1.26 - public domain
3 // authored from 2009-2021 by Sean Barrett / RAD Game Tools
7 // NO SECURITY GUARANTEE -- DO NOT USE THIS ON UNTRUSTED FONT FILES
18 // render glyphs to one-channel bitmaps with antialiasing (box filter)
19 // render glyphs to one-channel SDF bitmaps (signed-distance field/function)
22 // non-MS cmaps
25 // cleartype-style AA?
27 // optimize: build edge-list directly from curves
35 // Daniel Ribeiro Maciel: basic GPOS-based kerning
[all …]
Dstb_rect_pack.h1 // stb_rect_pack.h - v1.01 - public domain - rectangle packing
24 // This library currently uses the Skyline Bottom-Left algorithm.
44 // 1.01 (2021-07-11) always use large rect mode, expose STBRP__MAXVAL in public section
45 // 1.00 (2019-02-25) avoid small space waste; gracefully fail too-wide rectangles
46 // 0.99 (2019-02-07) warning fixes
47 // 0.11 (2017-03-03) return packing success/fail result
48 // 0.10 (2016-10-25) remove cast-away-const to avoid warnings
49 // 0.09 (2016-08-27) fix compiler warnings
50 // 0.08 (2015-09-13) really fix bug with empty rects (w=0 or h=0)
51 // 0.07 (2015-09-13) fix bug with empty rects (w=0 or h=0)
[all …]
/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite_arc.c9 * Copyright 2021-2023 NXP
67 int32_t quarter; /* 0-3 counter-clockwise */
110 lv_color32_t col32 = {.full = lv_color_to32(dsc->color)}; /*Convert color to RGBA8888*/ in lv_gpu_nxp_vglite_draw_arc()
113 bool donut = ((end_angle - start_angle) % 360 == 0) ? true : false; in lv_gpu_nxp_vglite_draw_arc()
121 lv_coord_t width = dsc->width; /* inner arc radius = outer arc radius - width */ in lv_gpu_nxp_vglite_draw_arc()
133 arc_path[pidx++] = center->x + cp_x; in lv_gpu_nxp_vglite_draw_arc()
134 arc_path[pidx++] = center->y + cp_y; in lv_gpu_nxp_vglite_draw_arc()
136 /* draw 1-5 outer quarters */ in lv_gpu_nxp_vglite_draw_arc()
145 arc_path[pidx++] = center->x + cp_x; in lv_gpu_nxp_vglite_draw_arc()
146 arc_path[pidx++] = center->y + cp_y; in lv_gpu_nxp_vglite_draw_arc()
[all …]
/lvgl-latest/src/misc/
Dlv_math.c46 * @return sinus of 'angle'. sin(-90) = -32767, sin(90) = 32767
59 angle = 180 - angle; in lv_trigo_sin()
63 angle = angle - 180; in lv_trigo_sin()
64 ret = -sin0_90_table[angle]; in lv_trigo_sin()
67 angle = 360 - angle; in lv_trigo_sin()
68 ret = -sin0_90_table[angle]; in lv_trigo_sin()
85 uint32_t t_rem = 1024 - t; in lv_bezier3()
102 * @param q store the result here. q->i: integer part, q->f: fractional part in 1/256 unit
109 void LV_ATTRIBUTE_FAST_MEM lv_sqrt(uint32_t x, lv_sqrt_res_t * q, uint32_t mask) in lv_sqrt() argument
122 q->i = root >> 4; in lv_sqrt()
[all …]
Dlv_color.c43 px_num--; in lv_color_fill()
68 px_num -= 16; in lv_color_fill()
76 px_num--; in lv_color_fill()
116 px_num -= 16; in lv_color_fill()
121 px_num--; in lv_color_fill()
140 else if(lvl < LV_OPA_50) return lv_color_darken(c, (LV_OPA_50 - lvl) * 2); in lv_color_change_lightness()
141 else return lv_color_lighten(c, (lvl - LV_OPA_50) * 2); in lv_color_change_lightness()
159 uint8_t region, remainder, p, q, t; in lv_color_hsv_to_rgb() local
166 remainder = (h - (region * 43)) * 6; in lv_color_hsv_to_rgb()
168 p = (v * (255 - s)) >> 8; in lv_color_hsv_to_rgb()
[all …]
Dlv_math.h45 * @return sinus of 'angle'. sin(-90) = -32767, sin(90) = 32767
80 * @param q store the result here. q->i: integer part, q->f: fractional part in 1/256 unit
87 void /* LV_ATTRIBUTE_FAST_MEM */ lv_sqrt(uint32_t x, lv_sqrt_res_t * q, uint32_t mask);
131 #define LV_ABS(x) ((x) > 0 ? (x) : (-(x)))
134 #define LV_IS_SIGNED(t) (((t)(-1)) < ((t)0))
135 …ine LV_UMAX_OF(t) (((0x1ULL << ((sizeof(t) * 8ULL) - 1ULL)) - 1ULL) | (0xFULL << ((sizeof(t) * 8UL…
136 …ine LV_SMAX_OF(t) (((0x1ULL << ((sizeof(t) * 8ULL) - 1ULL)) - 1ULL) | (0x7ULL << ((sizeof(t) * 8UL…
/lvgl-latest/docs/intro/
Dindex.md4 …s Library) is a free and open-source graphics library providing everything you need to create an e…
8 - Powerful building blocks such as buttons, charts, lists, sliders, images, etc.
9 - Advanced graphics with animations, anti-aliasing, opacity, smooth scrolling
10 - Various input devices such as touchpad, mouse, keyboard, encoder, etc.
11 - Multi-language support with UTF-8 encoding
12 - Multi-display support, i.e. use multiple TFT, monochrome displays simultaneously
13 - Fully customizable graphic elements with CSS-like styles
14 - Hardware independent: use with any microcontroller or display
15 - Scalable: able to operate with little memory (64 kB Flash, 16 kB RAM)
16 - OS, external memory and GPU are supported but not required
[all …]
/lvgl-latest/src/extra/widgets/keyboard/
Dlv_keyboard.c49 static const char * const default_kb_map_lc[] = {"1#", "q", "w", "e", "r", "t", "y", "u", "i", "o",…
51 … "_", "-", "z", "x", "c", "v", "b", "n", "m", ".", ",", ":", "\n",
62 static const char * const default_kb_map_uc[] = {"1#", "Q", "W", "E", "R", "T", "Y", "U", "I", "O",…
64 … "_", "-", "Z", "X", "C", "V", "B", "N", "M", ".", ",", ":", "\n",
91 … "+/-", "0", ".", LV_SYMBOL_LEFT, LV_SYMBOL_RIGHT, ""
164 if(keyboard->ta) { in lv_keyboard_set_textarea()
168 keyboard->ta = ta; in lv_keyboard_set_textarea()
171 if(keyboard->ta) { in lv_keyboard_set_textarea()
185 if(keyboard->mode == mode) return; in lv_keyboard_set_mode()
187 keyboard->mode = mode; in lv_keyboard_set_mode()
[all …]
/lvgl-latest/src/font/
Dlv_font_unscii_8.c4 …* Opts: --no-compress --no-prefilter --bpp 1 --size 8 --font unscii-8.ttf -r 0x20-0x7F --format lv…
19 /*-----------------
21 *----------------*/
64 /* U+002D "-" */
172 /* U+0051 "Q" */
268 /* U+0071 "q" */
314 /*---------------------
316 *--------------------*/
418 /*---------------------
420 *--------------------*/
[all …]
Dlv_font_unscii_16.c4 …* Opts: --no-compress --no-prefilter --bpp 1 --size 16 --font unscii-8.ttf -r 0x20-0x7F --format l…
19 /*-----------------
21 *----------------*/
80 /* U+002D "-" */
258 /* U+0051 "Q" */
410 /* U+0071 "q" */
478 /*---------------------
480 *--------------------*/
582 /*---------------------
584 *--------------------*/
[all …]
Dlv_font_montserrat_8.c4--no-compress --no-prefilter --bpp 4 --size 8 --font Montserrat-Medium.ttf -r 0x20-0x7F,0xB0,0x202…
19 /*-----------------
21 *----------------*/
72 /* U+002D "-" */
215 /* U+0051 "Q" */
343 /* U+0071 "q" */
762 /*---------------------
764 *--------------------*/
772 {.bitmap_index = 25, .adv_w = 79, .box_w = 5, .box_h = 7, .ofs_x = 0, .ofs_y = -1},
774 {.bitmap_index = 61, .adv_w = 88, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = -1},
[all …]
/lvgl-latest/src/extra/
DREADME.md9 - Create a [Pull request](https://docs.lvgl.io/8.0/CONTRIBUTING.html#pull-request) with your new co…
10 - Please and follow the [Coding style](https://github.com/lvgl/lvgl/blob/master/docs/CODING_STYLE.m…
11 - Add setter/getter functions in pair
12 - Update [lv_conf_template.h](https://github.com/lvgl/lvgl/blob/master/lv_conf_template.h)
13 - Add description in the [docs](https://github.com/lvgl/lvgl/tree/master/docs)
14 - Add [examples](https://github.com/lvgl/lvgl/tree/master/examples)
15 - Update the [changelog](https://github.com/lvgl/lvgl/tree/master/docs/CHANGELOG.md)
16 - Add yourself to the [Contributors](#contributors) section below.
20 - New [Calendar headers](https://github.com/lvgl/lvgl/tree/master/src/extra/widgets/calendar)
21 - Color picker with RGB and or HSV bars
[all …]
/lvgl-latest/.github/workflows/
Dccpp.yml12 runs-on: ubuntu-latest
24 - uses: actions/checkout@v2
25 - uses: ammaraskar/gcc-problem-matcher@master
26 - name: Install prerequisites
27 run: scripts/install-prerequisites.sh
28 - name: Building ${{ matrix.build_option }}
29 run: python tests/main.py --build-option=${{ matrix.build_option }} build
31 test-native:
32 runs-on: ubuntu-latest
35 - uses: actions/checkout@v2
[all …]
/lvgl-latest/docs/get-started/
Dindex.md6 3. Read the [Quick overview](https://docs.lvgl.io/master/get-started/quick-overview.html) page of t…
7 4. Set up a [Simulator](https://docs.lvgl.io/master/get-started/platforms/pc-simulator.html) (10 mi…
9 6. Check out the Platform-specific tutorials. (in this section below). (10 minutes)
10 …ex.html) guide or check the ready to use [Projects](https://github.com/lvgl?q=lv_port_&type=&langu…
11 ….lvgl.io/master/overview/index.html) page to get a better understanding of the library. (2-3 hours)
22 quick-overview
/lvgl-latest/
DREADME_zh.md1 <h1 align="center"> LVGL - Light and Versatile Graphics Library</h1>
2 <h2 align="center"> LVGL - 轻量级通用型图形库</h2>
26 ---
29 - [概况与总览](#概况与总览)
30 - [如何入门](#如何入门)
31 - [例程](#例程)
32 - [服务](#服务)
33 - [如何向社区贡献](#如何向社区贡献)
43 * 基于UTF-8的多语种支持,例如中文、日文、韩文、阿拉伯文等
48 * 支持Micropython编程,参见:[LVGL API in Micropython](https://blog.lvgl.io/2019-02-20/micropython-bindings)
[all …]
DREADME_pt_BR.md1 <h1 align="center"> LVGL - Biblioteca gráfica leve e versátil</h1>
18 ---
22 - [Visão Geral](#visão-geral)
23 - [Iniciando](#iniciando)
24 - [Exemplos](#exemplos)
25 - [Serviços](#serviços)
26 - [Contribuindo](#contribuindo)
32 * Mecanismo gráfico avançado: animações, anti-aliasing, opacidade, rolagem suave, modos de mesclage…
37 * Suporte multilíngue com manipulação UTF-8, suporte ao alfabeto bidirecional, árabe e CJK (Chinês,…
43 …on simplificado com [LVGL API in Micropython](https://blog.lvgl.io/2019-02-20/micropython-bindings)
[all …]
DREADME.md1 <h1 align="center"> LVGL - Light and Versatile Graphics Library</h1>
8 LVGL provides everything you need to create an embedded GUI with easy-to-use graphical elements, be…
23 ---
26 - [Overview](#overview)
27 - [Get started](#get-started)
28 - [Examples](#examples)
29 - [Services](#services)
30 - [Contributing](#contributing)
35 * Advanced graphics engine: animations, anti-aliasing, opacity, smooth scrolling, blending modes, e…
40 * Multi-language support with UTF-8 handling, CJK, Bidirectional and Arabic script support
[all …]
/lvgl-latest/tests/src/test_fonts/
Dfont_3.c7 …* Opts: --bpp 4 --size 20 --font ../RobotoMono-Regular.ttf -r 0x20-0x7f --format lvgl -o ..\genera…
16 /*-----------------
18 *----------------*/
123 /* U+2D "-" */
425 /* U+51 "Q" */
685 /* U+71 "q" */
798 /*---------------------
800 *--------------------*/
808 {.bitmap_index = 110, .adv_w = 192, .box_w = 10, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
812 {.bitmap_index = 353, .adv_w = 192, .box_w = 6, .box_h = 22, .ofs_x = 3, .ofs_y = -5},
[all …]
Dfont_1.c7--bpp 4 --size 8 --font ../Montserrat-Medium.ttf -r 0x20-0x7F,0xB0,0x2022 --font ../FontAwesome5-S…
16 /*-----------------
18 *----------------*/
69 /* U+2D "-" */
211 /* U+51 "Q" */
335 /* U+71 "q" */
713 /*---------------------
715 *--------------------*/
723 {.bitmap_index = 26, .adv_w = 79, .box_w = 5, .box_h = 7, .ofs_x = 0, .ofs_y = -1},
725 {.bitmap_index = 62, .adv_w = 88, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = -1},
[all …]
Dfont_2.c7--bpp 4 --size 8 --font ../Montserrat-Medium.ttf -r 0x20-0x7F,0xB0,0x2022 --font ../FontAwesome5-S…
16 /*-----------------
18 *----------------*/
69 /* U+2D "-" */
212 /* U+51 "Q" */
340 /* U+71 "q" */
743 /*---------------------
745 *--------------------*/
753 {.bitmap_index = 25, .adv_w = 79, .box_w = 5, .box_h = 7, .ofs_x = 0, .ofs_y = -1},
755 {.bitmap_index = 61, .adv_w = 88, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = -1},
[all …]
/lvgl-latest/demos/benchmark/assets/
Dlv_font_bechmark_montserrat_12_compr_az.c.c17 /*-----------------
19 *----------------*/
110 /* U+71 "q" */
169 /*---------------------
171 *--------------------*/
182 {.bitmap_index = 150, .adv_w = 132, .box_w = 8, .box_h = 10, .ofs_x = 0, .ofs_y = -3},
185 {.bitmap_index = 224, .adv_w = 55, .box_w = 5, .box_h = 13, .ofs_x = -2, .ofs_y = -3},
191 {.bitmap_index = 344, .adv_w = 131, .box_w = 7, .box_h = 10, .ofs_x = 1, .ofs_y = -3},
192 {.bitmap_index = 375, .adv_w = 131, .box_w = 8, .box_h = 10, .ofs_x = 0, .ofs_y = -3},
197 {.bitmap_index = 478, .adv_w = 107, .box_w = 8, .box_h = 7, .ofs_x = -1, .ofs_y = 0},
[all …]
Dlv_font_bechmark_montserrat_16_compr_az.c.c17 /*-----------------
19 *----------------*/
133 /* U+71 "q" */
207 /*---------------------
209 *--------------------*/
220 {.bitmap_index = 238, .adv_w = 177, .box_w = 10, .box_h = 12, .ofs_x = 0, .ofs_y = -3},
223 {.bitmap_index = 336, .adv_w = 73, .box_w = 6, .box_h = 15, .ofs_x = -2, .ofs_y = -3},
229 {.bitmap_index = 509, .adv_w = 175, .box_w = 10, .box_h = 12, .ofs_x = 1, .ofs_y = -3},
230 {.bitmap_index = 559, .adv_w = 175, .box_w = 10, .box_h = 12, .ofs_x = 0, .ofs_y = -3},
235 {.bitmap_index = 714, .adv_w = 143, .box_w = 10, .box_h = 9, .ofs_x = -1, .ofs_y = 0},
[all …]
Dlv_font_bechmark_montserrat_28_compr_az.c.c18 /*-----------------
20 *----------------*/
221 /* U+71 "q" */
358 /*---------------------
360 *--------------------*/
371 {.bitmap_index = 545, .adv_w = 309, .box_w = 16, .box_h = 20, .ofs_x = 1, .ofs_y = -5},
374 {.bitmap_index = 764, .adv_w = 127, .box_w = 9, .box_h = 26, .ofs_x = -3, .ofs_y = -5},
380 {.bitmap_index = 1160, .adv_w = 306, .box_w = 16, .box_h = 20, .ofs_x = 2, .ofs_y = -5},
381 {.bitmap_index = 1266, .adv_w = 306, .box_w = 16, .box_h = 20, .ofs_x = 1, .ofs_y = -5},
386 {.bitmap_index = 1602, .adv_w = 250, .box_w = 17, .box_h = 15, .ofs_x = -1, .ofs_y = 0},
[all …]

123