Lines Matching refs:point_array
79 UINT _gx_canvas_polygon_draw(GX_POINT *point_array, INT number_of_points) in _gx_canvas_polygon_draw() argument
87 GX_VALUE left = point_array[0].gx_point_x; in _gx_canvas_polygon_draw()
88 GX_VALUE right = point_array[0].gx_point_x; in _gx_canvas_polygon_draw()
89 GX_VALUE top = point_array[0].gx_point_y; in _gx_canvas_polygon_draw()
90 GX_VALUE bottom = point_array[0].gx_point_y; in _gx_canvas_polygon_draw()
96 if (point_array[i].gx_point_x < left) in _gx_canvas_polygon_draw()
98 left = point_array[i].gx_point_x; in _gx_canvas_polygon_draw()
100 if (point_array[i].gx_point_x > right) in _gx_canvas_polygon_draw()
102 right = point_array[i].gx_point_x; in _gx_canvas_polygon_draw()
104 if (point_array[i].gx_point_y < top) in _gx_canvas_polygon_draw()
106 top = point_array[i].gx_point_y; in _gx_canvas_polygon_draw()
108 if (point_array[i].gx_point_y > bottom) in _gx_canvas_polygon_draw()
110 bottom = point_array[i].gx_point_y; in _gx_canvas_polygon_draw()
149 display -> gx_display_driver_polygon_fill(context, point_array, number_of_points); in _gx_canvas_polygon_draw()
155 display -> gx_display_driver_polygon_draw(context, point_array, number_of_points); in _gx_canvas_polygon_draw()