boostorg / gil

Boost.GIL - Generic Image Library | Requires C++14 since Boost 1.80
https://boostorg.github.io/gil
Boost Software License 1.0
178 stars 164 forks source link

fix: broken build for midpoint_ellipse_rasterizer::draw_curve #705

Closed marco-langer closed 2 years ago

marco-langer commented 2 years ago

Description

This PR fixes a bug in midpoint_ellipse_rasterizer::draw_curve(), which I have introduced in my other PR while working on the apply_rasterizer function. I have also added missing test cases to cover these invocations.

Tasklist

codecov[bot] commented 2 years ago

Codecov Report

Merging #705 (ce61114) into develop (233dc53) will increase coverage by 0.13%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #705      +/-   ##
===========================================
+ Coverage    80.97%   81.10%   +0.13%     
===========================================
  Files          116      117       +1     
  Lines         5130     5171      +41     
===========================================
+ Hits          4154     4194      +40     
- Misses         976      977       +1