boost::gil::midpoint_ellipse_rasterizer::draw_curve

Fills pixels returned by function 'obtain_trajectory' as well as pixels obtained from their reflection along major axis, minor axis and line passing through center with slope ‐1 using colours provided by user.

Synopsis

template<
    typename View,
    typename Pixel>
void
draw_curve(
    View& view,
    Pixel const& pixel,
    std::vector<point_t> const& trajectory_points) const;

Template Parameters

Name

Description

View

‐ Type of input image view.

Pixel

‐ Type of pixel. Must be compatible to the pixel type of the image view

Parameters

Name

Description

view

‐ Gil view of image on which the elliptical curve is to be drawn.

pixel

‐ Pixel value for the elliptical curve to be drawn.

trajectory_points

‐ Constant vector specifying pixel co‐ordinates of points lying on rasterizer trajectory.

Created with MrDocs