cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 16af1cb | 2009-12-11 21:38:29 +0000 | [diff] [blame] | 2 | Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 3 | dedicated to making software imaging solutions freely available. |
| 4 | |
| 5 | You may not use this file except in compliance with the License. |
| 6 | obtain a copy of the License at |
| 7 | |
| 8 | http://www.imagemagick.org/script/license.php |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | |
| 16 | MagickCore image composite methods. |
| 17 | */ |
| 18 | #ifndef _MAGICKCORE_COMPOSITE_H |
| 19 | #define _MAGICKCORE_COMPOSITE_H |
| 20 | |
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | typedef enum |
| 26 | { |
| 27 | UndefinedCompositeOp, |
| 28 | NoCompositeOp, |
anthony | c5d68fe | 2010-05-05 05:27:54 +0000 | [diff] [blame] | 29 | ModulusAddCompositeOp, |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 30 | AtopCompositeOp, |
| 31 | BlendCompositeOp, |
| 32 | BumpmapCompositeOp, |
| 33 | ChangeMaskCompositeOp, |
| 34 | ClearCompositeOp, |
| 35 | ColorBurnCompositeOp, |
| 36 | ColorDodgeCompositeOp, |
| 37 | ColorizeCompositeOp, |
| 38 | CopyBlackCompositeOp, |
| 39 | CopyBlueCompositeOp, |
| 40 | CopyCompositeOp, |
| 41 | CopyCyanCompositeOp, |
| 42 | CopyGreenCompositeOp, |
| 43 | CopyMagentaCompositeOp, |
| 44 | CopyOpacityCompositeOp, |
| 45 | CopyRedCompositeOp, |
| 46 | CopyYellowCompositeOp, |
| 47 | DarkenCompositeOp, |
| 48 | DstAtopCompositeOp, |
| 49 | DstCompositeOp, |
| 50 | DstInCompositeOp, |
| 51 | DstOutCompositeOp, |
| 52 | DstOverCompositeOp, |
| 53 | DifferenceCompositeOp, |
| 54 | DisplaceCompositeOp, |
| 55 | DissolveCompositeOp, |
| 56 | ExclusionCompositeOp, |
| 57 | HardLightCompositeOp, |
| 58 | HueCompositeOp, |
| 59 | InCompositeOp, |
| 60 | LightenCompositeOp, |
| 61 | LinearLightCompositeOp, |
| 62 | LuminizeCompositeOp, |
| 63 | MinusCompositeOp, |
| 64 | ModulateCompositeOp, |
| 65 | MultiplyCompositeOp, |
| 66 | OutCompositeOp, |
| 67 | OverCompositeOp, |
| 68 | OverlayCompositeOp, |
| 69 | PlusCompositeOp, |
| 70 | ReplaceCompositeOp, |
| 71 | SaturateCompositeOp, |
| 72 | ScreenCompositeOp, |
| 73 | SoftLightCompositeOp, |
| 74 | SrcAtopCompositeOp, |
| 75 | SrcCompositeOp, |
| 76 | SrcInCompositeOp, |
| 77 | SrcOutCompositeOp, |
| 78 | SrcOverCompositeOp, |
anthony | c5d68fe | 2010-05-05 05:27:54 +0000 | [diff] [blame] | 79 | ModulusSubtractCompositeOp, |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 80 | ThresholdCompositeOp, |
| 81 | XorCompositeOp, |
| 82 | DivideCompositeOp, |
| 83 | DistortCompositeOp, |
| 84 | BlurCompositeOp, |
| 85 | PegtopLightCompositeOp, |
| 86 | VividLightCompositeOp, |
| 87 | PinLightCompositeOp, |
| 88 | LinearDodgeCompositeOp, |
| 89 | LinearBurnCompositeOp, |
| 90 | MathematicsCompositeOp |
| 91 | } CompositeOperator; |
| 92 | |
anthony | c5d68fe | 2010-05-05 05:27:54 +0000 | [diff] [blame] | 93 | /* Depreciated Method Names for backward compatibility */ |
| 94 | #define AddCompositeOp ModulusAddCompositeOp |
| 95 | #define SubtractCompositeOp ModulusSubtractCompositeOp |
| 96 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 97 | extern MagickExport MagickBooleanType |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame^] | 98 | CompositeImage(Image *,const CompositeOperator,const Image *,const ssize_t, |
| 99 | const ssize_t), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 100 | CompositeImageChannel(Image *,const ChannelType,const CompositeOperator, |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame^] | 101 | const Image *,const ssize_t,const ssize_t), |
cristy | 316d517 | 2009-09-17 19:31:25 +0000 | [diff] [blame] | 102 | TextureImage(Image *,const Image *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 103 | |
| 104 | #if defined(__cplusplus) || defined(c_plusplus) |
| 105 | } |
| 106 | #endif |
| 107 | |
| 108 | #endif |