summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmagick/DrawingContext.d11
-rw-r--r--dmagick/c/utility.d1
2 files changed, 11 insertions, 1 deletions
diff --git a/dmagick/DrawingContext.d b/dmagick/DrawingContext.d
index 477c390..ddd7333 100644
--- a/dmagick/DrawingContext.d
+++ b/dmagick/DrawingContext.d
@@ -1017,7 +1017,7 @@ struct Gradient
private bool isDefined = false;
GradientType type;
- GradientUnits units;
+ //GradientUnits units;
double x1, y1, x2, y2, radius;
StopColor[] stopColors;
@@ -1090,6 +1090,8 @@ struct Gradient
return radial(xCenter, yCenter, xCenter, yCenter, radius);
}
+ /+
+ + gradient units arn't implemented in imageMagick.
/**
* Defines the coordinate system to use.
*/
@@ -1099,6 +1101,7 @@ struct Gradient
return this;
}
+ +/
/**
* Define the color to use, and there offsets in the gradient.
@@ -1139,8 +1142,10 @@ struct Gradient
currentCount, x1, y1, x2, y2, radius);
}
+ /+
if ( units != GradientUnits.Undefined )
operations ~= format(" gradient-units %s", units);
+ +/
foreach ( stop; stopColors )
{
@@ -1202,6 +1207,9 @@ enum FontWeight : string
Lighter = "lighter", /// Decreases weight by 100.
}
+
+/+
+ + gradient units arn't implemented in imageMagick.
/**
* Defines the coordinate system to use for Gradients.
*/
@@ -1239,3 +1247,4 @@ enum GradientUnits : string
*/
ObjectBoundingBox = "objectBoundingBox",
}
++/
diff --git a/dmagick/c/utility.d b/dmagick/c/utility.d
index 5efd1c8..b3ef1c2 100644
--- a/dmagick/c/utility.d
+++ b/dmagick/c/utility.d
@@ -4,6 +4,7 @@ import core.stdc.stdio;
import dmagick.c.exception;
import dmagick.c.magickType;
+import dmagick.c.magickVersion;
alias ptrdiff_t ssize_t;