diff --git a/docs/html/index.html b/docs/html/index.html index c0699183..49f0d9e1 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -40,6 +40,7 @@ + diff --git a/src/vector/defs/gradient.cpp b/src/vector/defs/gradient.cpp index d597992c..cb722481 100644 --- a/src/vector/defs/gradient.cpp +++ b/src/vector/defs/gradient.cpp @@ -140,8 +140,6 @@ GradientColours::GradientColours(const std::vector &Stops, VCS Col GradientColours::GradientColours(const std::array &Map, double Resolution) { - resolution = Resolution; - for (LONG i=0; i < std::ssize(Map); i++) { table[i] = agg::rgba8(Map[i]); } diff --git a/src/vector/scene/scene_fill.cpp b/src/vector/scene/scene_fill.cpp index 40b8e62d..7bcc78b1 100644 --- a/src/vector/scene/scene_fill.cpp +++ b/src/vector/scene/scene_fill.cpp @@ -494,6 +494,9 @@ static void fill_pattern(VectorState &State, const TClipRectangle &Bound else if (dmf::hasY(Pattern.Dimensions)) dy = y_offset + Pattern.Y; else dy = y_offset; + //target_width *= Transform.sx; + //target_height *= Transform.sy; + LONG page_width = F2T(target_width); LONG page_height = F2T(target_height);