diff options
| author | Mike Wey | 2011-10-23 21:04:08 +0200 |
|---|---|---|
| committer | Mike Wey | 2011-10-23 21:04:08 +0200 |
| commit | cef335019bf361676c82606d407b2947ad44e156 (patch) | |
| tree | f9f7d8fdee9f425ffb5b78943f5de3c51f9e51a4 /dmagick/DrawingContext.d | |
| parent | a9ef6c0b46ba044feb4b38d8faef6b75a49e91b5 (diff) | |
Alias the symbols from the headers that are used in DMagick, so the user doesn't have to import them separately.
Diffstat (limited to 'dmagick/DrawingContext.d')
| -rw-r--r-- | dmagick/DrawingContext.d | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/dmagick/DrawingContext.d b/dmagick/DrawingContext.d index 24d1f3d..e4e8c9b 100644 --- a/dmagick/DrawingContext.d +++ b/dmagick/DrawingContext.d @@ -24,6 +24,16 @@ import dmagick.c.draw; import dmagick.c.geometry; import dmagick.c.type; +private alias dmagick.c.draw.AlignType AlignType; +private alias dmagick.c.draw.ClipPathUnits ClipPathUnits; +private alias dmagick.c.draw.DecorationType DecorationType; +private alias dmagick.c.draw.FillRule FillRule; +private alias dmagick.c.draw.LineCap LineCap; +private alias dmagick.c.draw.LineJoin LineJoin; +private alias dmagick.c.draw.PaintMethod PaintMethod; +private alias dmagick.c.type.StretchType StretchType; +private alias dmagick.c.type.StyleType StyleType; + alias ptrdiff_t ssize_t; /** @@ -898,7 +908,7 @@ class DrawingContext } /** - * Generate to operations for the profide pattern. + * Generate to operations to define the pattern. */ private string definePattern(size_t x, size_t y, size_t width, size_t height, void delegate(DrawingContext path) pattern) { |
