D bindings to the GraphicsMagick library.
Revisión | 7f1738e08f7753e6c021c531a36f15b8357e203d (tree) |
---|---|
Tiempo | 2023-06-25 13:58:54 |
Autor | Mio <stigma@disr...> |
Commiter | Mio |
[graphicsmagick] transform 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 Transform Methods. |
10 | 10 | */ |
11 | 11 | // Complete graphicsmagick_c wrapper for version 1.3. |
@@ -20,35 +20,35 @@ version (GMagick_Static) | ||
20 | 20 | { |
21 | 21 | @system @nogc nothrow extern (C): |
22 | 22 | |
23 | - Image* ChopImage(in Image*, in RectangleInfo*, ExceptionInfo*); | |
24 | - Image* CoalesceImages(in Image*, ExceptionInfo*); | |
25 | - Image* CropImage(in Image*, in RectangleInfo*, ExceptionInfo*); | |
26 | - Image* DeconstructImages(in Image*, ExceptionInfo*); | |
27 | - Image* FlattenImages(in Image*, ExceptionInfo*); | |
28 | - Image* FlipImage(in Image*, ExceptionInfo*); | |
29 | - Image* FlopImage(in Image*, ExceptionInfo*); | |
30 | - Image* MosaicImages(in Image*, ExceptionInfo*); | |
31 | - Image* RollImage(in Image*, in c_long, in c_long, ExceptionInfo*); | |
32 | - Image* ShaveImage(in Image*, in RectangleInfo*, ExceptionInfo*); | |
23 | + Image* ChopImage(const scope Image*, const scope RectangleInfo*, ExceptionInfo*); | |
24 | + Image* CoalesceImages(const scope Image*, ExceptionInfo*); | |
25 | + Image* CropImage(const scope Image*, const scope RectangleInfo*, ExceptionInfo*); | |
26 | + Image* DeconstructImages(const scope Image*, ExceptionInfo*); | |
27 | + Image* FlattenImages(const scope Image*, ExceptionInfo*); | |
28 | + Image* FlipImage(const scope Image*, ExceptionInfo*); | |
29 | + Image* FlopImage(const scope Image*, ExceptionInfo*); | |
30 | + Image* MosaicImages(const scope Image*, ExceptionInfo*); | |
31 | + Image* RollImage(const scope Image*, const scope c_long, const scope c_long, ExceptionInfo*); | |
32 | + Image* ShaveImage(const scope Image*, const scope RectangleInfo*, ExceptionInfo*); | |
33 | 33 | |
34 | - void TransformImage(Image**, in RectangleInfo*, ExceptionInfo*); | |
34 | + void TransformImage(Image**, const scope RectangleInfo*, ExceptionInfo*); | |
35 | 35 | } |
36 | 36 | else |
37 | 37 | { |
38 | 38 | @system @nogc nothrow extern (C) |
39 | 39 | { |
40 | - alias mChopImage = Image* function(in Image*, in RectangleInfo*, ExceptionInfo*); | |
41 | - alias mCoalesceImages = Image* function(in Image*, ExceptionInfo*); | |
42 | - alias mCropImage = Image* function(in Image*, in RectangleInfo*, ExceptionInfo*); | |
43 | - alias mDeconstructImages = Image* function(in Image*, ExceptionInfo*); | |
44 | - alias mFlattenImages = Image* function(in Image*, ExceptionInfo*); | |
45 | - alias mFlipImage = Image* function(in Image*, ExceptionInfo*); | |
46 | - alias mFlopImage = Image* function(in Image*, ExceptionInfo*); | |
47 | - alias mMosaicImages = Image* function(in Image*, ExceptionInfo*); | |
48 | - alias mRollImage = Image* function(in Image*, in c_long, in c_long, ExceptionInfo*); | |
49 | - alias mShaveImage = Image* function(in Image*, in RectangleInfo*, ExceptionInfo*); | |
40 | + alias mChopImage = Image* function(const scope Image*, const scope RectangleInfo*, ExceptionInfo*); | |
41 | + alias mCoalesceImages = Image* function(const scope Image*, ExceptionInfo*); | |
42 | + alias mCropImage = Image* function(const scope Image*, const scope RectangleInfo*, ExceptionInfo*); | |
43 | + alias mDeconstructImages = Image* function(const scope Image*, ExceptionInfo*); | |
44 | + alias mFlattenImages = Image* function(const scope Image*, ExceptionInfo*); | |
45 | + alias mFlipImage = Image* function(const scope Image*, ExceptionInfo*); | |
46 | + alias mFlopImage = Image* function(const scope Image*, ExceptionInfo*); | |
47 | + alias mMosaicImages = Image* function(const scope Image*, ExceptionInfo*); | |
48 | + alias mRollImage = Image* function(const scope Image*, const scope c_long, const scope c_long, ExceptionInfo*); | |
49 | + alias mShaveImage = Image* function(const scope Image*, const scope RectangleInfo*, ExceptionInfo*); | |
50 | 50 | |
51 | - alias mTransformImage = void function(Image**, in RectangleInfo*, ExceptionInfo*); | |
51 | + alias mTransformImage = void function(Image**, const scope RectangleInfo*, ExceptionInfo*); | |
52 | 52 | } |
53 | 53 | |
54 | 54 | __gshared |