Optimized and improved rectilinear fill.

This commit is contained in:
bubnikv 2016-04-13 20:45:44 +02:00
parent 3b81bf0e33
commit f767ce816b
11 changed files with 62 additions and 6 deletions

View file

@ -34,7 +34,7 @@ Polylines FillRectilinear::fill_surface(const Surface *surface, const FillParams
bounding_box.min.x - (bounding_box.min.x % this->_line_spacing),
bounding_box.min.y - (bounding_box.min.y % this->_line_spacing)));
}
// generate the basic pattern
coord_t x_max = bounding_box.max.x + SCALED_EPSILON;
Lines lines;