/GUIX-v6.4.1/test/guix_test/regression_test/tests/ |
D | validation_guix_all_widgets_16bpp_rotated_pixelmap_draw.c | 99 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 108 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 115 if(map) in pixelmap_window_draw() 122 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 126 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 127 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 130 xpos = (size->gx_rectangle_left + size->gx_rectangle_right - map->gx_pixelmap_width) >> 1; in pixelmap_window_draw() 131 ypos = size->gx_rectangle_top - (map->gx_pixelmap_height >> 1); in pixelmap_window_draw() 132 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 135 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_32argb_pixelmap_draw.c | 91 GX_PIXELMAP *map = GX_NULL; in test_canvas_pixelmap_get() local 114 gx_context_pixelmap_get(test_map_id, &map); in test_canvas_pixelmap_get() 123 map = &test_map; in test_canvas_pixelmap_get() 125 _gx_display_driver_32argb_pixelmap_blend(GX_NULL, 0, 0, map, 128); in test_canvas_pixelmap_get() 128 _gx_display_driver_32argb_pixelmap_blend(GX_NULL, 0, 0, map, 128); in test_canvas_pixelmap_get() 136 map = &test_map; in test_canvas_pixelmap_get() 138 _gx_display_driver_32argb_pixelmap_blend(GX_NULL, 0, 0, map, 128); in test_canvas_pixelmap_get() 142 if(map) in test_canvas_pixelmap_get() 146 gx_canvas_pixelmap_draw(xpos, ypos, map); in test_canvas_pixelmap_get() 149 ypos = TEST_CANVAS_HEIGHT - map->gx_pixelmap_height + 10; in test_canvas_pixelmap_get() [all …]
|
D | validation_guix_all_widgets_8bpp_rotated_cw_pixelmap_draw.c | 79 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 88 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 94 if(map) in pixelmap_window_draw() 101 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 105 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 106 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 109 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 111 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 114 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 115 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_16bpp_rotated_ccw_binary_pixelmap_draw.c | 86 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 95 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 102 if(map) in pixelmap_window_draw() 109 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 113 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 114 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 117 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 119 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 122 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 123 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_16bpp_rotated_cw_binary_pixelmap_draw.c | 86 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 95 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 102 if(map) in pixelmap_window_draw() 109 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 113 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 114 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 117 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 119 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 122 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 123 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_8bpp_rotated_ccw_pixelmap_draw.c | 79 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 88 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 94 if(map) in pixelmap_window_draw() 101 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 105 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 106 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 109 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 111 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 114 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 115 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_synergy_16bpp_rotated_ccw_binary_pixelmap_draw.c | 78 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 87 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 94 if(map) in pixelmap_window_draw() 101 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 105 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 106 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 109 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 111 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 114 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 115 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_synergy_16bpp_rotated_ccw_pixelmap_draw.c | 78 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 87 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 94 if(map) in pixelmap_window_draw() 101 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 105 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 106 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 109 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 111 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 114 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 115 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_synergy_16bpp_rotated_cw_binary_pixelmap_draw.c | 78 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 87 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 94 if(map) in pixelmap_window_draw() 101 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 105 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 106 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 109 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 111 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 114 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 115 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_synergy_16bpp_rotated_cw_pixelmap_draw.c | 78 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 87 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 94 if(map) in pixelmap_window_draw() 101 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 105 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 106 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 109 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 111 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 114 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 115 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_synergy_24xrgb_rotated_cw_pixelmap_draw.c | 86 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 95 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 102 if(map) in pixelmap_window_draw() 109 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 113 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 114 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 117 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 119 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 122 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 123 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_partial_frame_buffer_16bpp_pixelmap_draw.c | 91 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 100 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 107 if(map) in pixelmap_window_draw() 114 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 118 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 119 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 122 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 124 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 127 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 128 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_16bpp_rotated_270_pixelmap_draw.c | 97 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 106 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 113 if(map) in pixelmap_window_draw() 120 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 124 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 125 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 128 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 130 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 133 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 134 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_24xrgb_rotated_ccw_pixelmap_draw.c | 102 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 111 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 118 if(map) in pixelmap_window_draw() 125 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 129 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 130 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 133 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 135 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 138 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 139 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_32argb_rotated_cw_pixelmap_draw.c | 99 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 108 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 115 if(map) in pixelmap_window_draw() 122 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 126 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 127 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 130 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 132 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 135 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 136 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_all_widgets_24xrgb_rotated_cw_pixelmap_draw.c | 103 GX_PIXELMAP *map = GX_NULL; in pixelmap_window_draw() local 112 gx_context_pixelmap_get(test_map_id, &map); in pixelmap_window_draw() 119 if(map) in pixelmap_window_draw() 126 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 130 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() 131 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 134 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 136 gx_canvas_pixelmap_draw(xpos, ypos, map); in pixelmap_window_draw() 139 xpos = size->gx_rectangle_right - map->gx_pixelmap_width + 10; in pixelmap_window_draw() 140 ypos = size->gx_rectangle_bottom - map->gx_pixelmap_height + 10; in pixelmap_window_draw() [all …]
|
D | validation_guix_utility_no_output.c | 60 GX_PIXELMAP map; in control_thread_entry() local 83 root->gx_window_root_canvas->gx_canvas_display->gx_display_palette = (GX_COLOR *)↦ in control_thread_entry() 100 status = _gx_utility_alphamap_create(100, 0, &map); in control_thread_entry() 104 memset(&map, 0, sizeof(GX_PIXELMAP)); in control_thread_entry() 105 map.gx_pixelmap_width = 50; in control_thread_entry() 106 map.gx_pixelmap_height = 50; in control_thread_entry() 107 status = gx_utility_pixelmap_resize(&map, &destination, 100, 100); in control_thread_entry() 111 status = gx_utility_pixelmap_rotate(&map, 30, &destination, GX_NULL, GX_NULL); in control_thread_entry() 114 map.gx_pixelmap_format = GX_COLOR_FORMAT_32ARGB; in control_thread_entry() 115 map.gx_pixelmap_flags = GX_PIXELMAP_COMPRESSED; in control_thread_entry() [all …]
|
/GUIX-v6.4.1/common/src/ |
D | gx_scrollbar_draw.c | 92 GX_PIXELMAP *map; in _gx_scrollbar_draw() local 140 _gx_context_pixelmap_get(scrollbar -> gx_scrollbar_appearance.gx_scroll_up_pixelmap, &map); in _gx_scrollbar_draw() 142 if (map) in _gx_scrollbar_draw() 149 xpos = (GX_VALUE)(xpos + (widget_width - map -> gx_pixelmap_width) / 2); in _gx_scrollbar_draw() 153 … size.gx_rectangle_top = (GX_VALUE)(size.gx_rectangle_top + map -> gx_pixelmap_height); in _gx_scrollbar_draw() 162 ypos = (GX_VALUE)(ypos + (widget_height - map -> gx_pixelmap_height) / 2); in _gx_scrollbar_draw() 164 … size.gx_rectangle_left = (GX_VALUE)(size.gx_rectangle_left + map -> gx_pixelmap_width); in _gx_scrollbar_draw() 167 _gx_canvas_pixelmap_draw(xpos, ypos, map); in _gx_scrollbar_draw() 170 … _gx_context_pixelmap_get(scrollbar -> gx_scrollbar_appearance.gx_scroll_down_pixelmap, &map); in _gx_scrollbar_draw() 172 if (map) in _gx_scrollbar_draw() [all …]
|
D | gx_utility_string_to_alphamap.c | 304 VOID _gx_utility_glyph_8bpp_to_alphamap_draw(GX_PIXELMAP *map, INT xpos, INT ypos, GX_CONST GX_GLYP… in _gx_utility_glyph_8bpp_to_alphamap_draw() argument 316 if (map -> gx_pixelmap_flags & (GX_PIXELMAP_ROTATED_90 | GX_PIXELMAP_ROTATED_270)) in _gx_utility_glyph_8bpp_to_alphamap_draw() 318 write_stride = (USHORT)map -> gx_pixelmap_height; in _gx_utility_glyph_8bpp_to_alphamap_draw() 323 if (map -> gx_pixelmap_flags & GX_PIXELMAP_ROTATED_90) in _gx_utility_glyph_8bpp_to_alphamap_draw() 325 ypos = (map -> gx_pixelmap_width - ypos - glyph -> gx_glyph_width); in _gx_utility_glyph_8bpp_to_alphamap_draw() 329 xpos = (map -> gx_pixelmap_height - xpos - glyph -> gx_glyph_height); in _gx_utility_glyph_8bpp_to_alphamap_draw() 334 write_stride = (USHORT)map -> gx_pixelmap_width; in _gx_utility_glyph_8bpp_to_alphamap_draw() 341 write_row = (GX_UBYTE *)map -> gx_pixelmap_data; in _gx_utility_glyph_8bpp_to_alphamap_draw() 408 VOID _gx_utility_glyph_4bpp_to_alphamap_draw(GX_PIXELMAP *map, INT xpos, INT ypos, GX_CONST GX_GLYP… in _gx_utility_glyph_4bpp_to_alphamap_draw() argument 422 if (map -> gx_pixelmap_flags & (GX_PIXELMAP_ROTATED_90 | GX_PIXELMAP_ROTATED_270)) in _gx_utility_glyph_4bpp_to_alphamap_draw() [all …]
|
D | gx_utility_alphamap_create.c | 72 UINT _gx_utility_alphamap_create(INT width, INT height, GX_PIXELMAP *map) in _gx_utility_alphamap_create() argument 97 map -> gx_pixelmap_data = GX_NULL; in _gx_utility_alphamap_create() 101 map -> gx_pixelmap_aux_data = GX_NULL; in _gx_utility_alphamap_create() 102 map -> gx_pixelmap_aux_data_size = 0; in _gx_utility_alphamap_create() 103 map -> gx_pixelmap_data = memptr; in _gx_utility_alphamap_create() 104 map -> gx_pixelmap_data_size = memsize; in _gx_utility_alphamap_create() 105 map -> gx_pixelmap_flags = GX_PIXELMAP_TRANSPARENT; in _gx_utility_alphamap_create() 106 map -> gx_pixelmap_transparent_color = 0; in _gx_utility_alphamap_create() 107 map -> gx_pixelmap_format = GX_COLOR_FORMAT_8BIT_ALPHAMAP; in _gx_utility_alphamap_create() 108 map -> gx_pixelmap_height = (GX_VALUE)height; in _gx_utility_alphamap_create() [all …]
|
D | gx_pixelmap_prompt_background_draw.c | 82 GX_PIXELMAP *map; in _gx_pixelmap_prompt_background_draw() local 119 _gx_context_pixelmap_get(left_id, &map); in _gx_pixelmap_prompt_background_draw() 120 if (map) in _gx_pixelmap_prompt_background_draw() 124 fill_rect.gx_rectangle_top, map); in _gx_pixelmap_prompt_background_draw() 125 … fill_rect.gx_rectangle_left = (GX_VALUE)(fill_rect.gx_rectangle_left + map -> gx_pixelmap_width); in _gx_pixelmap_prompt_background_draw() 132 _gx_context_pixelmap_get(right_id, &map); in _gx_pixelmap_prompt_background_draw() 133 if (map) in _gx_pixelmap_prompt_background_draw() 136 … _gx_canvas_pixelmap_draw((GX_VALUE)(fill_rect.gx_rectangle_right - map -> gx_pixelmap_width + 1), in _gx_pixelmap_prompt_background_draw() 137 fill_rect.gx_rectangle_top, map); in _gx_pixelmap_prompt_background_draw() 138 …fill_rect.gx_rectangle_right = (GX_VALUE)(fill_rect.gx_rectangle_right - map -> gx_pixelmap_width); in _gx_pixelmap_prompt_background_draw() [all …]
|
D | gx_pixelmap_slider_draw.c | 83 GX_PIXELMAP *map; in _gx_pixelmap_slider_draw() local 94 _gx_context_pixelmap_get(pixinfo -> gx_pixelmap_slider_info_lower_background_pixelmap, &map); in _gx_pixelmap_slider_draw() 99 if ((slider -> gx_widget_style & GX_STYLE_TILE_BACKGROUND) && map && uppermap) in _gx_pixelmap_slider_draw() 104 space = (GX_VALUE)(space - map -> gx_pixelmap_width); in _gx_pixelmap_slider_draw() 108 …fillrect.gx_rectangle_right = (GX_VALUE)(fillrect.gx_rectangle_left + map -> gx_pixelmap_width - 1… in _gx_pixelmap_slider_draw() 114 _gx_canvas_pixelmap_tile(&fillrect, map); in _gx_pixelmap_slider_draw() 119 space = (GX_VALUE)(space - map -> gx_pixelmap_height); in _gx_pixelmap_slider_draw() 124 …fillrect.gx_rectangle_bottom = (GX_VALUE)(fillrect.gx_rectangle_top + map -> gx_pixelmap_height - … in _gx_pixelmap_slider_draw() 125 _gx_canvas_pixelmap_tile(&fillrect, map); in _gx_pixelmap_slider_draw() 134 if (map) in _gx_pixelmap_slider_draw() [all …]
|
D | gx_circular_gauge_background_draw.c | 91 GX_PIXELMAP *map; in _gx_circular_gauge_background_draw() local 125 map = &gauge -> gx_circular_gauge_needle_rotated; in _gx_circular_gauge_background_draw() 130 map = gauge -> gx_circular_gauge_needle_source; in _gx_circular_gauge_background_draw() 142 if ((map != GX_NULL) && (map -> gx_pixelmap_data != GX_NULL)) in _gx_circular_gauge_background_draw() 147 map); in _gx_circular_gauge_background_draw() 152 if (map -> gx_pixelmap_aux_data) in _gx_circular_gauge_background_draw() 154 _gx_system_memory_free((VOID *)map -> gx_pixelmap_aux_data); in _gx_circular_gauge_background_draw() 155 map -> gx_pixelmap_aux_data = GX_NULL; in _gx_circular_gauge_background_draw() 157 _gx_system_memory_free((VOID *)map -> gx_pixelmap_data); in _gx_circular_gauge_background_draw() 158 map -> gx_pixelmap_data = GX_NULL; in _gx_circular_gauge_background_draw()
|
/GUIX-v6.4.1/samples/demo_guix_widget_types/ |
D | demo_guix_widget_types.c | 445 GX_PIXELMAP *map; in custom_icon_button_draw() local 453 gx_context_pixelmap_get(GX_PIXELMAP_ID_BUTTON_SM_ACTIVE, &map); in custom_icon_button_draw() 458 gx_context_pixelmap_get(GX_PIXELMAP_ID_BUTTON_SM, &map); in custom_icon_button_draw() 463 map); in custom_icon_button_draw() 469 gx_context_pixelmap_get(GX_PIXELMAP_ID_ICON_DISC, &map); in custom_icon_button_draw() 473 gx_context_pixelmap_get(GX_PIXELMAP_ID_ICON_USER, &map); in custom_icon_button_draw() 477 gx_context_pixelmap_get(GX_PIXELMAP_ID_ICON_PEN, &map); in custom_icon_button_draw() 481 gx_context_pixelmap_get(GX_PIXELMAP_ID_ICON_TRASH, &map); in custom_icon_button_draw() 485 gx_context_pixelmap_get(GX_PIXELMAP_ID_ICON_COG, &map); in custom_icon_button_draw() 493 xpos -= map->gx_pixelmap_width; in custom_icon_button_draw() [all …]
|
/GUIX-v6.4.1/samples/demo_guix_smart_watch/ |
D | page_2_clock_screen_template.c | 46 static VOID draw_needle(GX_PIXELMAP *map, INT angle, INT xcenter, INT ycenter) in draw_needle() argument 52 xcor = (map->gx_pixelmap_width >> 1); in draw_needle() 53 ycor = map->gx_pixelmap_height - xcor; in draw_needle() 56 if (gx_utility_pixelmap_rotate(map, angle, &needle_rotated, &xcor, &ycor) == GX_SUCCESS) in draw_needle() 74 gx_canvas_pixelmap_draw((GX_VALUE)(xcenter - xcor), (GX_VALUE)(ycenter - ycor), map); in draw_needle() 86 GX_PIXELMAP *map; in clock_gauge_draw() local 100 gx_context_pixelmap_get(GX_PIXELMAP_ID_WATCH_HAND_HOUR, &map); in clock_gauge_draw() 102 if (map) in clock_gauge_draw() 104 draw_needle(map, hour_needle_angle, xcenter, ycenter); in clock_gauge_draw() 108 gx_context_pixelmap_get(GX_PIXELMAP_ID_WATCH_HAND_MINUTE, &map); in clock_gauge_draw() [all …]
|