diff options
| author | Mike Wey | 2011-10-15 16:36:36 +0200 |
|---|---|---|
| committer | Mike Wey | 2011-10-15 16:36:36 +0200 |
| commit | a9a3d1e6e9922efa1559a775f8c0cd9adc7f199b (patch) | |
| tree | 432919fc54de1625df69f0573aeb55abd3766e1a | |
| parent | 5295b1cf202de8b29bf5b3f609ed4b75c3a18c7a (diff) | |
Gradient units arn't implemented in ImageMagick.
| -rw-r--r-- | dmagick/DrawingContext.d | 11 | ||||
| -rw-r--r-- | dmagick/c/utility.d | 1 |
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; |
