mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
Merge 0947c05a52
into 0fa5d41c8d
This commit is contained in:
commit
448b8a773d
1 changed files with 4 additions and 4 deletions
|
@ -113,8 +113,8 @@ static void _rasterBlendingPolygonImageSegment(SwSurface* surface, const SwImage
|
||||||
y = yStart;
|
y = yStart;
|
||||||
|
|
||||||
while (y < yEnd) {
|
while (y < yEnd) {
|
||||||
x1 = (int32_t)_xa;
|
x1 = nearbyint(_xa);
|
||||||
x2 = (int32_t)_xb;
|
x2 = nearbyint(_xb);
|
||||||
|
|
||||||
if (!bbox) {
|
if (!bbox) {
|
||||||
minx = INT32_MAX;
|
minx = INT32_MAX;
|
||||||
|
@ -246,8 +246,8 @@ static void _rasterPolygonImageSegment(SwSurface* surface, const SwImage* image,
|
||||||
y = yStart;
|
y = yStart;
|
||||||
|
|
||||||
while (y < yEnd) {
|
while (y < yEnd) {
|
||||||
x1 = (int32_t)_xa;
|
x1 = nearbyint(_xa);
|
||||||
x2 = (int32_t)_xb;
|
x2 = nearbyint(_xb);
|
||||||
|
|
||||||
if (!bbox) {
|
if (!bbox) {
|
||||||
minx = INT32_MAX;
|
minx = INT32_MAX;
|
||||||
|
|
Loading…
Add table
Reference in a new issue