/GUIX-v6.2.1/common/src/ |
D | gx_utility_math_sin.c | 101 INT _gx_utility_math_sin_5_4_0(INT angle) in _gx_utility_math_sin_5_4_0() argument 107 while (angle < 0) in _gx_utility_math_sin_5_4_0() 109 angle += (256 * 360); in _gx_utility_math_sin_5_4_0() 111 while (angle > (256 * 360)) in _gx_utility_math_sin_5_4_0() 113 angle -= (256 * 360); in _gx_utility_math_sin_5_4_0() 116 if ((angle >= 0) && (angle <= 23040)) in _gx_utility_math_sin_5_4_0() 120 else if ((angle > 23040) && (angle <= 46080)) in _gx_utility_math_sin_5_4_0() 122 angle = 46080 - angle; in _gx_utility_math_sin_5_4_0() 125 else if ((angle > 46080) && (angle <= 69120)) in _gx_utility_math_sin_5_4_0() 127 angle -= 46080; in _gx_utility_math_sin_5_4_0() [all …]
|
D | gx_utility_circle_point_get.c | 77 UINT _gx_utility_circle_point_get(INT xcenter, INT ycenter, UINT r, INT angle, GX_POINT *point) in _gx_utility_circle_point_get() argument 87 angle %= 360; in _gx_utility_circle_point_get() 89 if (angle < 0) in _gx_utility_circle_point_get() 91 angle += 360; in _gx_utility_circle_point_get() 94 if (angle == 0) in _gx_utility_circle_point_get() 99 else if (angle == 90) in _gx_utility_circle_point_get() 104 else if (angle == 180) in _gx_utility_circle_point_get() 109 else if (angle == 270) in _gx_utility_circle_point_get() 116 …> gx_point_x = (GX_VALUE)(GX_FIXED_VAL_TO_INT(r * _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)))); in _gx_utility_circle_point_get() 117 …> gx_point_y = (GX_VALUE)(GX_FIXED_VAL_TO_INT(r * _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)))); in _gx_utility_circle_point_get() [all …]
|
D | gx_utility_pixelmap_simple_rotate.c | 99 UINT _gx_utility_pixelmap_simple_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination, INT … in _gx_utility_pixelmap_simple_rotate() argument 101 angle = angle % 360; in _gx_utility_pixelmap_simple_rotate() 103 if ((angle == 0) || (angle % 90)) in _gx_utility_pixelmap_simple_rotate() 107 else if (angle < 0) in _gx_utility_pixelmap_simple_rotate() 109 angle += 360; in _gx_utility_pixelmap_simple_rotate() 133 _gx_utility_32argb_pixelmap_simple_rotate(src, angle, destination, rot_cx, rot_cy); in _gx_utility_pixelmap_simple_rotate() 140 _gx_utility_565rgb_pixelmap_simple_rotate(src, angle, destination, rot_cx, rot_cy); in _gx_utility_pixelmap_simple_rotate() 144 _gx_utility_4444argb_pixelmap_simple_rotate(src, angle, destination, rot_cx, rot_cy); in _gx_utility_pixelmap_simple_rotate() 149 _gx_utility_332rgb_pixelmap_simple_rotate(src, angle, destination, rot_cx, rot_cy); in _gx_utility_pixelmap_simple_rotate() 155 _gx_utility_8bpp_pixelmap_simple_rotate(src, angle, destination, rot_cx, rot_cy); in _gx_utility_pixelmap_simple_rotate() [all …]
|
D | gx_utility_math_asin.c | 95 INT angle = 0; in _gx_utility_math_asin_5_4_0() local 99 angle = 90; in _gx_utility_math_asin_5_4_0() 103 angle = asin_angle_value_table[x]; in _gx_utility_math_asin_5_4_0() 107 angle = 0 - asin_angle_value_table[x * -1]; in _gx_utility_math_asin_5_4_0() 111 angle = -90; in _gx_utility_math_asin_5_4_0() 114 return angle; in _gx_utility_math_asin_5_4_0() 163 INT angle = 0; in _gx_utility_math_asin() local 169 angle = 90; in _gx_utility_math_asin() 173 angle = asin_angle_value_table[x]; in _gx_utility_math_asin() 177 angle = 0 - asin_angle_value_table[x * -1]; in _gx_utility_math_asin() [all …]
|
D | gx_utility_pixelmap_rotate.c | 88 UINT _gx_utility_pixelmap_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination, INT *rot_cx… in _gx_utility_pixelmap_rotate() argument 127 angle = angle % 360; in _gx_utility_pixelmap_rotate() 129 if (angle == 0) in _gx_utility_pixelmap_rotate() 133 else if (angle < 0) in _gx_utility_pixelmap_rotate() 135 angle += 360; in _gx_utility_pixelmap_rotate() 148 if ((angle % 90) == 0) in _gx_utility_pixelmap_rotate() 150 _gx_utility_pixelmap_simple_rotate(src, angle, destination, rot_cx, rot_cy); in _gx_utility_pixelmap_rotate() 165 status = _gx_utility_32argb_pixelmap_rotate(src, angle, destination, rot_cx, rot_cy); in _gx_utility_pixelmap_rotate() 171 status = _gx_utility_565rgb_pixelmap_rotate(src, angle, destination, rot_cx, rot_cy); in _gx_utility_pixelmap_rotate() 175 status = _gx_utility_1555xrgb_pixelmap_rotate(src, angle, destination, rot_cx, rot_cy); in _gx_utility_pixelmap_rotate() [all …]
|
D | gx_canvas_pixelmap_rotate.c | 75 static UINT _gx_canvas_rotated_pixelmap_bound_calculate(GX_RECTANGLE *rect, INT angle, INT rot_cx,… in _gx_canvas_rotated_pixelmap_bound_calculate() argument 93 angle %= 360; in _gx_canvas_rotated_pixelmap_bound_calculate() 95 if (angle < 0) in _gx_canvas_rotated_pixelmap_bound_calculate() 97 angle += 360; in _gx_canvas_rotated_pixelmap_bound_calculate() 104 if (angle == 0) in _gx_canvas_rotated_pixelmap_bound_calculate() 108 if (angle == 90) in _gx_canvas_rotated_pixelmap_bound_calculate() 115 else if (angle == 180) in _gx_canvas_rotated_pixelmap_bound_calculate() 120 else if (angle == 270) in _gx_canvas_rotated_pixelmap_bound_calculate() 128 idxminx = (angle / 90) & 0x3; in _gx_canvas_rotated_pixelmap_bound_calculate() 136 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_canvas_rotated_pixelmap_bound_calculate() [all …]
|
D | gx_utility_math_acos.c | 73 INT angle = 0; in _gx_utility_math_acos_5_4_0() local 75 angle = _gx_utility_math_asin_5_4_0(x); in _gx_utility_math_acos_5_4_0() 76 angle = 90 - angle; in _gx_utility_math_acos_5_4_0() 78 return angle; in _gx_utility_math_acos_5_4_0() 128 INT angle = 0; in _gx_utility_math_acos() local 130 angle = _gx_utility_math_asin(x); in _gx_utility_math_acos() 131 angle = 90 - angle; in _gx_utility_math_acos() 133 return angle; in _gx_utility_math_acos()
|
D | gx_canvas_rotated_text_draw.c | 78 INT angle) in _gx_canvas_rotated_text_draw() argument 92 status = _gx_canvas_rotated_text_draw_ext(&string, xcenter, ycenter, angle); in _gx_canvas_rotated_text_draw() 155 INT angle) in _gx_canvas_rotated_text_draw_ext() argument 180 while (angle >= 360) in _gx_canvas_rotated_text_draw_ext() 182 angle -= 360; in _gx_canvas_rotated_text_draw_ext() 184 while (angle <= -360) in _gx_canvas_rotated_text_draw_ext() 186 angle += 360; in _gx_canvas_rotated_text_draw_ext() 189 if (!angle) in _gx_canvas_rotated_text_draw_ext() 204 … if (_gx_utility_pixelmap_rotate(&textmap, angle, &rotated_map, &x_pos, &y_pos) == GX_SUCCESS) in _gx_canvas_rotated_text_draw_ext()
|
D | gx_display_driver_8bpp_pixelmap_rotate.c | 81 INT angle, INT cx, INT cy) in _gx_display_driver_8bpp_pixelmap_raw_rotate() argument 108 idxminx = (angle / 90) & 0x3; in _gx_display_driver_8bpp_pixelmap_raw_rotate() 116 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_pixelmap_raw_rotate() 117 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_pixelmap_raw_rotate() 211 INT angle, INT cx, INT cy) in _gx_display_driver_8bpp_pixelmap_transparent_rotate() argument 238 idxminx = (angle / 90) & 0x3; in _gx_display_driver_8bpp_pixelmap_transparent_rotate() 246 cosv = _gx_utility_math_cos(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_pixelmap_transparent_rotate() 247 sinv = _gx_utility_math_sin(GX_FIXED_VAL_MAKE(angle)); in _gx_display_driver_8bpp_pixelmap_transparent_rotate() 346 INT angle, INT cx, INT cy) in _gx_display_driver_8bpp_pixelmap_simple_rotate() argument 361 if (angle == 90) in _gx_display_driver_8bpp_pixelmap_simple_rotate() [all …]
|
/GUIX-v6.2.1/test/guix_test/regression_test/tests/ |
D | validation_guix_all_widgets_332rgb_rotate_screen.c | 64 extern INT angle; 84 for(angle = 0; angle < 360; angle++) in control_thread_entry() 96 …test_comment, "canvas rotate = %d, angle = %d, pixelmap id = %d", direct, angle, (int)pixelmap_id); in control_thread_entry() 123 angle = 30; in control_thread_entry() 130 angle = 90; in control_thread_entry() 132 …end = GX_NULL, canvas rotate = %d, angle = %d, pixelmap_id = %d", direct, angle, (int)pixelmap_id); in control_thread_entry() 136 angle = 30; in control_thread_entry() 138 …end = GX_NULL, canvas rotate = %d, angle = %d, pixelmap_id = %d", direct, angle, (int)pixelmap_id); in control_thread_entry() 142 angle = 30; in control_thread_entry() 144 …end = GX_NULL, canvas rotate = %d, angle = %d, pixelmap_id = %d", direct, angle, (int)pixelmap_id); in control_thread_entry()
|
D | validation_guix_all_widgets_32argb_rotated_cw_rotate_screen.c | 66 extern INT angle; 85 for(angle = 1; angle < 360; angle++) in control_thread_entry() 102 …(test_comment, "canvas rotate: %d, angle: %d, pixelmap_id: %d. ", direct, angle, rotate_pixelmap_i… in control_thread_entry() 115 angle = 90; in control_thread_entry() 118 …sprintf(test_comment, "Set wrong display color format, angle: %d, map id: %d", angle, rotate_pixel… in control_thread_entry() 122 angle = 30; in control_thread_entry() 127 …sprintf(test_comment, "Set wrong display color format, angle: %d, map id: %d", angle, rotate_pixel… in control_thread_entry()
|
D | validation_guix_all_widgets_rotate_screen.c | 79 int angle; in control_thread_entry() local 86 for(angle = 1; angle < 360; angle++) in control_thread_entry() 92 if(angle < 180) in control_thread_entry() 94 rotate_angle = angle - 360; in control_thread_entry() 98 rotate_angle = angle + 360; in control_thread_entry() 123 angle = 30; in control_thread_entry()
|
D | validation_guix_text_rotation.c | 73 int angle; in control_thread_entry() local 80 for(angle = 0; angle < 360; angle++) in control_thread_entry() 82 if(angle < 180) in control_thread_entry() 85 if(angle == 0) in control_thread_entry() 91 text_angle = angle - 720; in control_thread_entry() 97 text_angle = angle + 360; in control_thread_entry()
|
D | validation_guix_all_widgets_565rgb_pixelmap_rotate.c | 63 extern INT angle; 83 gx_canvas_pixelmap_rotate(xpos, ypos, pixelmap, angle, -1, -1); in test_draw() 98 angle = 30; in control_thread_entry() 103 for(angle = 30; angle <= 90; angle += 60) in control_thread_entry() 110 … "driver_pixel_blend = GX_NULL, angle = %d, rotate_pixelmap_index: %d. ", angle, rotate_pixelmap_i… in control_thread_entry()
|
D | validation_guix_4bpp_pixelmap_rotate.c | 62 static int angle = 90; variable 85 gx_canvas_pixelmap_rotate(xpos, 161, pixelmap, angle, -1, -1); in test_pixelmap_draw() 113 for(angle = 90; angle <= 270; angle += 90) in control_thread_entry() 115 sprintf(test_comment, "map_id = %d, xpos = %d, angle = %d", map_id, xpos, angle); in control_thread_entry() 124 angle = 90; in control_thread_entry()
|
D | validation_guix_all_widgets_565rgb_rotate_screen.c | 62 extern INT angle; 84 for(angle = 0; angle < 360; angle++) in control_thread_entry() 98 …ent, "canvas rotate: %d, angle: %d, rotate_pixelmap_index: %d. ", direct, angle, rotate_pixelmap_i… in control_thread_entry() 111 angle = 30; in control_thread_entry()
|
D | validation_guix_circular_gauge_angle_set.c | 68 INT angle; in control_thread_entry() local 85 for(angle = 0; angle < 360; angle++) in control_thread_entry() 87 gx_circular_gauge_angle_set(gauge, angle); in control_thread_entry() 88 sprintf(test_comment, "angle = %d", angle); in control_thread_entry()
|
D | validation_guix_canvas_pixelmap_rotate.c | 69 INT angle; in test_pixelmap_draw() local 90 angle = 30; in test_pixelmap_draw() 91 gx_canvas_pixelmap_rotate(xpos, ypos, pixelmap, angle, -1, -1); in test_pixelmap_draw() 96 status = gx_canvas_pixelmap_rotate(xpos, ypos, pixelmap, angle, -1, -1); in test_pixelmap_draw() 105 angle = 0; in test_pixelmap_draw() 109 status = gx_canvas_pixelmap_rotate(xpos, ypos, pixelmap, angle, -1, -1); in test_pixelmap_draw() 119 angle = 30; in test_pixelmap_draw() 122 status = gx_canvas_pixelmap_rotate(xpos, ypos, pixelmap, angle, -1, -1); in test_pixelmap_draw()
|
D | validation_guix_all_widgets_4444argb_rotate_screen.c | 67 extern INT angle; 86 for(angle = 0; angle < 360; angle++) in control_thread_entry() 103 …(test_comment, "canvas rotate: %d, angle: %d, pixelmap_id: %d. ", direct, angle, rotate_pixelmap_i… in control_thread_entry() 115 angle = 30; in control_thread_entry()
|
D | validation_guix_display_driver_1555xrgb_pixelmap_rotate.c | 70 static int angle; variable 88 …gx_canvas_pixelmap_rotate(xpos, ypos, map, angle, map->gx_pixelmap_width - 1, map->gx_pixelmap_hei… in test_pixelmap_draw() 105 for(angle = 0; angle < 360; angle ++) in control_thread_entry() 109 sprintf(test_comment, "pixelmap_id = %d, angle = %d", map_id, angle); in control_thread_entry()
|
D | validation_guix_display_driver_4444argb_pixelmap_rotate.c | 69 static int angle; variable 87 …gx_canvas_pixelmap_rotate(xpos, ypos, map, angle, map->gx_pixelmap_width - 1, map->gx_pixelmap_hei… in test_pixelmap_draw() 104 for(angle = 0; angle < 360; angle ++) in control_thread_entry() 108 sprintf(test_comment, "pixelmap_id = %d, angle = %d", map_id, angle); in control_thread_entry()
|
/GUIX-v6.2.1/common/inc/ |
D | gx_utility.h | 243 UINT _gx_utility_1bpp_pixelmap_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination, INT *r… 244 UINT _gx_utility_1bpp_pixelmap_simple_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination,… 246 UINT _gx_utility_4bpp_pixelmap_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination, INT *r… 247 UINT _gx_utility_4bpp_pixelmap_simple_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination,… 250 UINT _gx_utility_8bpp_pixelmap_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination, INT *r… 251 UINT _gx_utility_8bpp_pixelmap_simple_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination,… 252 UINT _gx_utility_8bit_alphamap_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination, INT *r… 255 UINT _gx_utility_32argb_pixelmap_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination, INT … 256 UINT _gx_utility_32argb_pixelmap_simple_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destinatio… 257 UINT _gx_utility_332rgb_pixelmap_rotate(GX_PIXELMAP *src, INT angle, GX_PIXELMAP *destination, INT … [all …]
|
/GUIX-v6.2.1/guix_studio/libs/freetype/include/freetype/ |
D | fttrigon.h | 124 FT_Sin( FT_Angle angle ); 148 FT_Cos( FT_Angle angle ); 168 FT_Tan( FT_Angle angle ); 245 FT_Angle angle ); 267 FT_Angle angle ); 314 FT_Angle *angle ); 340 FT_Angle angle );
|
/GUIX-v6.2.1/test/example_internal/all_widgets_332rgb/ |
D | rotate_screen.c | 16 INT angle = 30; variable 30 gx_utility_ltoa(angle, angle_text_buffer, 10); in update_angle_prompt() 44 angle = myevent->gx_event_payload.gx_event_longdata; in rotate_event_handler() 105 gx_canvas_pixelmap_rotate(xpos, ypos, pixelmap, angle, -1, -1); in pixelmap_draw() 114 if (angle == 0) in pixelmap_draw() 121 else if (angle % 90 == 0) in pixelmap_draw() 123 … status = gx_utility_pixelmap_simple_rotate(pixelmap, angle, &destination, &x_axis, &y_axis); in pixelmap_draw() 127 status = gx_utility_pixelmap_rotate(pixelmap, angle, &destination, &x_axis, &y_axis); in pixelmap_draw()
|
/GUIX-v6.2.1/samples/demo_guix_thermostat/ |
D | demo_guix_thermostat.c | 133 INT angle; in thermo_screen_event_handler() local 140 gx_circular_gauge_angle_get(gauge, &angle); in thermo_screen_event_handler() 141 if (angle < 90) in thermo_screen_event_handler() 143 gx_circular_gauge_angle_set(gauge, angle + 5); in thermo_screen_event_handler() 150 gx_circular_gauge_angle_get(gauge, &angle); in thermo_screen_event_handler() 152 if (angle > -185) in thermo_screen_event_handler() 154 gx_circular_gauge_angle_set(gauge, angle - 5); in thermo_screen_event_handler()
|