D bindings to the GraphicsMagick library.
Revision | be246d0517c6110f84a9b815c12661be6239c3fc (tree) |
---|---|
Time | 2023-06-25 13:58:36 |
Author | Mio <stigma@disr...> |
Commiter | Mio |
[graphicsmagick] shear in -> const scope
@@ -1,11 +1,11 @@ | ||
1 | 1 | /* |
2 | 2 | Copyright (C) 2003 GraphicsMagick Group |
3 | 3 | Copyright (C) 2002 ImageMagick Studio |
4 | - | |
4 | + | |
5 | 5 | This program is covered by multiple licenses, which are described in |
6 | 6 | Copyright.txt. You should have received a copy of Copyright.txt with this |
7 | 7 | package; otherwise see http://www.graphicsmagick.org/www/Copyright.html. |
8 | - | |
8 | + | |
9 | 9 | ImageMagick Image Shear Methods. |
10 | 10 | */ |
11 | 11 | // Complete graphicsmagick_c wrapper for version 1.3. |
@@ -18,17 +18,17 @@ version (GMagick_Static) | ||
18 | 18 | { |
19 | 19 | @system @nogc nothrow extern(C): |
20 | 20 | |
21 | - Image* AffineTransformImage(in Image*, in AffineMatrix*, ExceptionInfo*); | |
22 | - Image* RotateImage(in Image*, in double, ExceptionInfo*); | |
23 | - Image* ShearImage(in Image*, in double, in double, ExceptionInfo*); | |
21 | + Image* AffineTransformImage(const scope Image*, const scope AffineMatrix*, ExceptionInfo*); | |
22 | + Image* RotateImage(const scope Image*, const scope double, ExceptionInfo*); | |
23 | + Image* ShearImage(const scope Image*, const scope double, const scope double, ExceptionInfo*); | |
24 | 24 | } |
25 | 25 | else |
26 | 26 | { |
27 | 27 | @system @nogc nothrow extern(C) |
28 | 28 | { |
29 | - alias mAffineTransformImage = Image* function(in Image*, in AffineMatrix*, ExceptionInfo*); | |
30 | - alias mRotateImage = Image* function(in Image*, in double, ExceptionInfo*); | |
31 | - alias mShearImage = Image* function(in Image*, in double, in double, ExceptionInfo*); | |
29 | + alias mAffineTransformImage = Image* function(const scope Image*, const scope AffineMatrix*, ExceptionInfo*); | |
30 | + alias mRotateImage = Image* function(const scope Image*, const scope double, ExceptionInfo*); | |
31 | + alias mShearImage = Image* function(const scope Image*, const scope double, const scope double, ExceptionInfo*); | |
32 | 32 | } |
33 | 33 | |
34 | 34 | __gshared |