rmagick 5.4.4 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/.devcontainer/ImageMagick6/devcontainer.json +1 -1
  3. data/.devcontainer/devcontainer.json +1 -1
  4. data/.github/workflows/ci.yml +41 -31
  5. data/.gitignore +1 -0
  6. data/.rubocop.yml +36 -9
  7. data/.rubocop_todo.yml +369 -187
  8. data/CHANGELOG.md +77 -0
  9. data/Gemfile +14 -0
  10. data/README.md +3 -3
  11. data/Rakefile +12 -1
  12. data/before_install_linux.sh +1 -11
  13. data/before_install_osx.sh +5 -7
  14. data/ext/RMagick/extconf.rb +58 -68
  15. data/ext/RMagick/rmagick.h +7 -12
  16. data/ext/RMagick/rmdraw.cpp +10 -20
  17. data/ext/RMagick/rmfill.cpp +4 -4
  18. data/ext/RMagick/rmilist.cpp +10 -2
  19. data/ext/RMagick/rmimage.cpp +342 -344
  20. data/ext/RMagick/rminfo.cpp +22 -21
  21. data/ext/RMagick/rmkinfo.cpp +5 -18
  22. data/ext/RMagick/rmmain.cpp +42 -91
  23. data/ext/RMagick/rmmontage.cpp +5 -5
  24. data/ext/RMagick/rmpixel.cpp +3 -3
  25. data/ext/RMagick/rmutil.cpp +58 -89
  26. data/lib/rmagick/version.rb +3 -3
  27. data/lib/rmagick.rb +1 -1
  28. data/lib/rmagick_internal.rb +111 -103
  29. data/lib/rvg/container.rb +3 -3
  30. data/lib/rvg/embellishable.rb +7 -3
  31. data/lib/rvg/misc.rb +15 -15
  32. data/lib/rvg/rvg.rb +6 -6
  33. data/lib/rvg/stretchable.rb +2 -2
  34. data/lib/rvg/stylable.rb +2 -2
  35. data/lib/rvg/transformable.rb +1 -1
  36. data/lib/rvg/units.rb +1 -0
  37. data/rmagick.gemspec +2 -15
  38. data/sig/rmagick/_draw_common_methods.rbs +64 -0
  39. data/sig/rmagick/_image_common_methods.rbs +387 -0
  40. data/sig/rmagick/draw.rbs +38 -0
  41. data/sig/rmagick/draw_attribute.rbs +28 -0
  42. data/sig/rmagick/enum.rbs +820 -0
  43. data/sig/rmagick/error.rbs +11 -0
  44. data/sig/rmagick/fill.rbs +21 -0
  45. data/sig/rmagick/geometry.rbs +14 -0
  46. data/sig/rmagick/image.rbs +196 -0
  47. data/sig/rmagick/image_list.rbs +183 -0
  48. data/sig/rmagick/iptc.rbs +101 -0
  49. data/sig/rmagick/kernel_info.rbs +12 -0
  50. data/sig/rmagick/optional_method_arguments.rbs +10 -0
  51. data/sig/rmagick/pixel.rbs +46 -0
  52. data/sig/rmagick/struct.rbs +90 -0
  53. data/sig/rmagick.rbs +43 -0
  54. data/sig/rvg/clippath.rbs +34 -0
  55. data/sig/rvg/container.rbs +78 -0
  56. data/sig/rvg/deep_equal.rbs +48 -0
  57. data/sig/rvg/describable.rbs +30 -0
  58. data/sig/rvg/embellishable.rbs +226 -0
  59. data/sig/rvg/misc.rbs +145 -0
  60. data/sig/rvg/paint.rbs +55 -0
  61. data/sig/rvg/pathdata.rbs +77 -0
  62. data/sig/rvg/rvg.rbs +125 -0
  63. data/sig/rvg/stretchable.rbs +56 -0
  64. data/sig/rvg/stylable.rbs +66 -0
  65. data/sig/rvg/text.rbs +118 -0
  66. data/sig/rvg/transformable.rbs +59 -0
  67. data/sig/rvg/units.rbs +33 -0
  68. metadata +38 -134
@@ -0,0 +1,820 @@
1
+ module Magick
2
+ class Enum
3
+ def initialize: (interned sym, int val) -> void
4
+ def to_s: -> String
5
+ def to_i: -> Integer
6
+ def <=>: (Enum other) -> (-1 | 0 | 1 | nil)
7
+ def ===: (Enum other) -> bool
8
+ def |: (Enum other) -> Enum
9
+ end
10
+
11
+ interface _EnumInstanceMethod
12
+ def initialize: (interned sym, int val) -> void
13
+ def inspect: -> String
14
+ end
15
+
16
+ interface _EnumClassMethod[T]
17
+ def values: -> Array[T]
18
+ end
19
+
20
+ class GeometryValue < Enum
21
+ end
22
+
23
+ PercentGeometry: GeometryValue
24
+ AspectGeometry: GeometryValue
25
+ LessGeometry: GeometryValue
26
+ GreaterGeometry: GeometryValue
27
+ AreaGeometry: GeometryValue
28
+ MinimumGeometry: GeometryValue
29
+
30
+ class AlignType < Enum
31
+ include _EnumInstanceMethod
32
+ extend _EnumClassMethod[AlignType]
33
+ end
34
+
35
+ UndefinedAlign: AlignType
36
+ LeftAlign: AlignType
37
+ CenterAlign: AlignType
38
+ RightAlign: AlignType
39
+
40
+ class AlphaChannelOption < Enum
41
+ include _EnumInstanceMethod
42
+ extend _EnumClassMethod[AlphaChannelOption]
43
+ end
44
+
45
+ UndefinedAlphaChannel: AlphaChannelOption
46
+ ActivateAlphaChannel: AlphaChannelOption
47
+ DeactivateAlphaChannel: AlphaChannelOption
48
+ SetAlphaChannel: AlphaChannelOption
49
+ RemoveAlphaChannel: AlphaChannelOption
50
+ CopyAlphaChannel: AlphaChannelOption
51
+ ExtractAlphaChannel: AlphaChannelOption
52
+ OpaqueAlphaChannel: AlphaChannelOption
53
+ ShapeAlphaChannel: AlphaChannelOption
54
+ TransparentAlphaChannel: AlphaChannelOption
55
+ BackgroundAlphaChannel: AlphaChannelOption
56
+ AssociateAlphaChannel: AlphaChannelOption
57
+ DisassociateAlphaChannel: AlphaChannelOption
58
+ OnAlphaChannel: AlphaChannelOption
59
+ OffAlphaChannel: AlphaChannelOption
60
+
61
+ class AnchorType < Enum
62
+ include _EnumInstanceMethod
63
+ extend _EnumClassMethod[AnchorType]
64
+ end
65
+
66
+ StartAnchor: AnchorType
67
+ MiddleAnchor: AnchorType
68
+ EndAnchor: AnchorType
69
+
70
+ class ChannelType < Enum
71
+ include _EnumInstanceMethod
72
+ extend _EnumClassMethod[ChannelType]
73
+ end
74
+
75
+ UndefinedChannel: ChannelType
76
+ RedChannel: ChannelType
77
+ CyanChannel: ChannelType
78
+ GreenChannel: ChannelType
79
+ MagentaChannel: ChannelType
80
+ BlueChannel: ChannelType
81
+ YellowChannel: ChannelType
82
+ OpacityChannel: ChannelType
83
+ BlackChannel: ChannelType
84
+ IndexChannel: ChannelType
85
+ GrayChannel: ChannelType
86
+ CompositeChannels: ChannelType
87
+ AllChannels: ChannelType
88
+ TrueAlphaChannel: ChannelType
89
+ RGBChannels: ChannelType
90
+ GrayChannels: ChannelType
91
+ SyncChannels: ChannelType
92
+ AlphaChannel: ChannelType
93
+ DefaultChannels: ChannelType
94
+ HueChannel: ChannelType
95
+ LuminosityChannel: ChannelType
96
+ SaturationChannel: ChannelType
97
+
98
+ class ClassType < Enum
99
+ include _EnumInstanceMethod
100
+ extend _EnumClassMethod[ClassType]
101
+ end
102
+
103
+ UndefinedClass: ClassType
104
+ PseudoClass: ClassType
105
+ DirectClass: ClassType
106
+
107
+ class ColorspaceType < Enum
108
+ include _EnumInstanceMethod
109
+ extend _EnumClassMethod[ColorspaceType]
110
+ end
111
+
112
+ UndefinedColorspace: ColorspaceType
113
+ RGBColorspace: ColorspaceType
114
+ GRAYColorspace: ColorspaceType
115
+ TransparentColorspace: ColorspaceType
116
+ OHTAColorspace: ColorspaceType
117
+ XYZColorspace: ColorspaceType
118
+ YCbCrColorspace: ColorspaceType
119
+ YCCColorspace: ColorspaceType
120
+ YIQColorspace: ColorspaceType
121
+ YPbPrColorspace: ColorspaceType
122
+ YUVColorspace: ColorspaceType
123
+ CMYKColorspace: ColorspaceType
124
+ SRGBColorspace: ColorspaceType
125
+ HSLColorspace: ColorspaceType
126
+ HWBColorspace: ColorspaceType
127
+ HSBColorspace: ColorspaceType
128
+ LabColorspace: ColorspaceType
129
+ Rec601YCbCrColorspace: ColorspaceType
130
+ Rec709YCbCrColorspace: ColorspaceType
131
+ LogColorspace: ColorspaceType
132
+ CMYColorspace: ColorspaceType
133
+ LuvColorspace: ColorspaceType
134
+ HCLColorspace: ColorspaceType
135
+ LCHColorspace: ColorspaceType
136
+ LMSColorspace: ColorspaceType
137
+ LCHabColorspace: ColorspaceType
138
+ LCHuvColorspace: ColorspaceType
139
+ ScRGBColorspace: ColorspaceType
140
+ HSIColorspace: ColorspaceType
141
+ HSVColorspace: ColorspaceType
142
+ HCLpColorspace: ColorspaceType
143
+ YDbDrColorspace: ColorspaceType
144
+ XyYColorspace: ColorspaceType
145
+ LinearGRAYColorspace: ColorspaceType
146
+ JzazbzColorspace: ColorspaceType
147
+
148
+ class ComplianceType < Enum
149
+ include _EnumInstanceMethod
150
+ extend _EnumClassMethod[ComplianceType]
151
+ end
152
+
153
+ UndefinedCompliance: ComplianceType
154
+ AllCompliance: ComplianceType
155
+ NoCompliance: ComplianceType
156
+ SVGCompliance: ComplianceType
157
+ X11Compliance: ComplianceType
158
+ XPMCompliance: ComplianceType
159
+
160
+ class CompositeOperator < Enum
161
+ include _EnumInstanceMethod
162
+ extend _EnumClassMethod[CompositeOperator]
163
+ end
164
+
165
+ AtopCompositeOp: CompositeOperator
166
+ BlendCompositeOp: CompositeOperator
167
+ BlurCompositeOp: CompositeOperator
168
+ BumpmapCompositeOp: CompositeOperator
169
+ ChangeMaskCompositeOp: CompositeOperator
170
+ ClearCompositeOp: CompositeOperator
171
+ ColorBurnCompositeOp: CompositeOperator
172
+ ColorDodgeCompositeOp: CompositeOperator
173
+ ColorizeCompositeOp: CompositeOperator
174
+ CopyBlackCompositeOp: CompositeOperator
175
+ CopyBlueCompositeOp: CompositeOperator
176
+ CopyCompositeOp: CompositeOperator
177
+ CopyCyanCompositeOp: CompositeOperator
178
+ CopyGreenCompositeOp: CompositeOperator
179
+ CopyMagentaCompositeOp: CompositeOperator
180
+ CopyRedCompositeOp: CompositeOperator
181
+ CopyYellowCompositeOp: CompositeOperator
182
+ DarkenCompositeOp: CompositeOperator
183
+ DarkenIntensityCompositeOp: CompositeOperator
184
+ DistortCompositeOp: CompositeOperator
185
+ DivideDstCompositeOp: CompositeOperator
186
+ DivideSrcCompositeOp: CompositeOperator
187
+ DstAtopCompositeOp: CompositeOperator
188
+ DstCompositeOp: CompositeOperator
189
+ DstInCompositeOp: CompositeOperator
190
+ DstOutCompositeOp: CompositeOperator
191
+ DstOverCompositeOp: CompositeOperator
192
+ DifferenceCompositeOp: CompositeOperator
193
+ DisplaceCompositeOp: CompositeOperator
194
+ DissolveCompositeOp: CompositeOperator
195
+ ExclusionCompositeOp: CompositeOperator
196
+ HardLightCompositeOp: CompositeOperator
197
+ HueCompositeOp: CompositeOperator
198
+ InCompositeOp: CompositeOperator
199
+ LightenCompositeOp: CompositeOperator
200
+ LightenIntensityCompositeOp: CompositeOperator
201
+ LinearBurnCompositeOp: CompositeOperator
202
+ LinearDodgeCompositeOp: CompositeOperator
203
+ LinearLightCompositeOp: CompositeOperator
204
+ LuminizeCompositeOp: CompositeOperator
205
+ MathematicsCompositeOp: CompositeOperator
206
+ MinusDstCompositeOp: CompositeOperator
207
+ MinusSrcCompositeOp: CompositeOperator
208
+ ModulateCompositeOp: CompositeOperator
209
+ ModulusAddCompositeOp: CompositeOperator
210
+ ModulusSubtractCompositeOp: CompositeOperator
211
+ MultiplyCompositeOp: CompositeOperator
212
+ NoCompositeOp: CompositeOperator
213
+ OutCompositeOp: CompositeOperator
214
+ OverCompositeOp: CompositeOperator
215
+ OverlayCompositeOp: CompositeOperator
216
+ PegtopLightCompositeOp: CompositeOperator
217
+ PinLightCompositeOp: CompositeOperator
218
+ PlusCompositeOp: CompositeOperator
219
+ ReplaceCompositeOp: CompositeOperator
220
+ SaturateCompositeOp: CompositeOperator
221
+ ScreenCompositeOp: CompositeOperator
222
+ SoftLightCompositeOp: CompositeOperator
223
+ SrcAtopCompositeOp: CompositeOperator
224
+ SrcCompositeOp: CompositeOperator
225
+ SrcInCompositeOp: CompositeOperator
226
+ SrcOutCompositeOp: CompositeOperator
227
+ SrcOverCompositeOp: CompositeOperator
228
+ ThresholdCompositeOp: CompositeOperator
229
+ UndefinedCompositeOp: CompositeOperator
230
+ VividLightCompositeOp: CompositeOperator
231
+ XorCompositeOp: CompositeOperator
232
+ HardMixCompositeOp: CompositeOperator
233
+ CopyAlphaCompositeOp: CompositeOperator
234
+
235
+ class CompressionType < Enum
236
+ include _EnumInstanceMethod
237
+ extend _EnumClassMethod[CompressionType]
238
+ end
239
+
240
+ UndefinedCompression: CompressionType
241
+ NoCompression: CompressionType
242
+ B44Compression: CompressionType
243
+ B44ACompression: CompressionType
244
+ BZipCompression: CompressionType
245
+ DXT1Compression: CompressionType
246
+ DXT3Compression: CompressionType
247
+ DXT5Compression: CompressionType
248
+ FaxCompression: CompressionType
249
+ Group4Compression: CompressionType
250
+ JPEGCompression: CompressionType
251
+ JPEG2000Compression: CompressionType
252
+ LosslessJPEGCompression: CompressionType
253
+ LZWCompression: CompressionType
254
+ PizCompression: CompressionType
255
+ Pxr24Compression: CompressionType
256
+ RLECompression: CompressionType
257
+ ZipCompression: CompressionType
258
+ ZipSCompression: CompressionType
259
+ LZMACompression: CompressionType
260
+ JBIG1Compression: CompressionType
261
+ JBIG2Compression: CompressionType
262
+
263
+ class DecorationType < Enum
264
+ include _EnumInstanceMethod
265
+ extend _EnumClassMethod[DecorationType]
266
+ end
267
+
268
+ NoDecoration: DecorationType
269
+ UnderlineDecoration: DecorationType
270
+ OverlineDecoration: DecorationType
271
+ LineThroughDecoration: DecorationType
272
+
273
+ class DisposeType < Enum
274
+ include _EnumInstanceMethod
275
+ extend _EnumClassMethod[DisposeType]
276
+ end
277
+
278
+ UnrecognizedDispose: DisposeType
279
+ UndefinedDispose: DisposeType
280
+ BackgroundDispose: DisposeType
281
+ NoneDispose: DisposeType
282
+ PreviousDispose: DisposeType
283
+
284
+ class DistortMethod < Enum
285
+ include _EnumInstanceMethod
286
+ extend _EnumClassMethod[DistortMethod]
287
+ end
288
+
289
+ UndefinedDistortion: DistortMethod
290
+ AffineDistortion: DistortMethod
291
+ AffineProjectionDistortion: DistortMethod
292
+ ArcDistortion: DistortMethod
293
+ PolarDistortion: DistortMethod
294
+ DePolarDistortion: DistortMethod
295
+ BarrelDistortion: DistortMethod
296
+ BilinearDistortion: DistortMethod
297
+ BilinearForwardDistortion: DistortMethod
298
+ BilinearReverseDistortion: DistortMethod
299
+ PerspectiveDistortion: DistortMethod
300
+ PerspectiveProjectionDistortion: DistortMethod
301
+ PolynomialDistortion: DistortMethod
302
+ ScaleRotateTranslateDistortion: DistortMethod
303
+ ShepardsDistortion: DistortMethod
304
+ BarrelInverseDistortion: DistortMethod
305
+ Cylinder2PlaneDistortion: DistortMethod
306
+ Plane2CylinderDistortion: DistortMethod
307
+ ResizeDistortion: DistortMethod
308
+ SentinelDistortion: DistortMethod
309
+
310
+ class DitherMethod < Enum
311
+ include _EnumInstanceMethod
312
+ extend _EnumClassMethod[DitherMethod]
313
+ end
314
+
315
+ UndefinedDitherMethod: DitherMethod
316
+ NoDitherMethod: DitherMethod
317
+ RiemersmaDitherMethod: DitherMethod
318
+ FloydSteinbergDitherMethod: DitherMethod
319
+
320
+ class EndianType < Enum
321
+ include _EnumInstanceMethod
322
+ extend _EnumClassMethod[EndianType]
323
+ end
324
+
325
+ UndefinedEndian: EndianType
326
+ LSBEndian: EndianType
327
+ MSBEndian: EndianType
328
+
329
+ class FilterType < Enum
330
+ include _EnumInstanceMethod
331
+ extend _EnumClassMethod[FilterType]
332
+ end
333
+
334
+ UndefinedFilter: FilterType
335
+ PointFilter: FilterType
336
+ BoxFilter: FilterType
337
+ TriangleFilter: FilterType
338
+ HermiteFilter: FilterType
339
+ HanningFilter: FilterType
340
+ HammingFilter: FilterType
341
+ BlackmanFilter: FilterType
342
+ GaussianFilter: FilterType
343
+ QuadraticFilter: FilterType
344
+ CubicFilter: FilterType
345
+ CatromFilter: FilterType
346
+ MitchellFilter: FilterType
347
+ LanczosFilter: FilterType
348
+ BesselFilter: FilterType
349
+ SincFilter: FilterType
350
+ KaiserFilter: FilterType
351
+ WelshFilter: FilterType
352
+ ParzenFilter: FilterType
353
+ LagrangeFilter: FilterType
354
+ BohmanFilter: FilterType
355
+ BartlettFilter: FilterType
356
+ JincFilter: FilterType
357
+ SincFastFilter: FilterType
358
+ LanczosSharpFilter: FilterType
359
+ Lanczos2Filter: FilterType
360
+ Lanczos2SharpFilter: FilterType
361
+ RobidouxFilter: FilterType
362
+ RobidouxSharpFilter: FilterType
363
+ CosineFilter: FilterType
364
+ SplineFilter: FilterType
365
+ LanczosRadiusFilter: FilterType
366
+ WelchFilter: FilterType
367
+ HannFilter: FilterType
368
+
369
+ class GravityType < Enum
370
+ include _EnumInstanceMethod
371
+ extend _EnumClassMethod[GravityType]
372
+ end
373
+
374
+ UndefinedGravity: GravityType
375
+ ForgetGravity: GravityType
376
+ NorthWestGravity: GravityType
377
+ NorthGravity: GravityType
378
+ NorthEastGravity: GravityType
379
+ WestGravity: GravityType
380
+ CenterGravity: GravityType
381
+ EastGravity: GravityType
382
+ SouthWestGravity: GravityType
383
+ SouthGravity: GravityType
384
+ SouthEastGravity: GravityType
385
+
386
+ class ImageType < Enum
387
+ include _EnumInstanceMethod
388
+ extend _EnumClassMethod[ImageType]
389
+ end
390
+
391
+ UndefinedType: ImageType
392
+ BilevelType: ImageType
393
+ GrayscaleType: ImageType
394
+ PaletteType: ImageType
395
+ TrueColorType: ImageType
396
+ ColorSeparationType: ImageType
397
+ OptimizeType: ImageType
398
+ GrayscaleAlphaType: ImageType
399
+ PaletteAlphaType: ImageType
400
+ TrueColorAlphaType: ImageType
401
+ ColorSeparationAlphaType: ImageType
402
+ PaletteBilevelAlphaType: ImageType
403
+
404
+ class InterlaceType < Enum
405
+ include _EnumInstanceMethod
406
+ extend _EnumClassMethod[InterlaceType]
407
+ end
408
+
409
+ UndefinedInterlace: InterlaceType
410
+ NoInterlace: InterlaceType
411
+ LineInterlace: InterlaceType
412
+ PlaneInterlace: InterlaceType
413
+ PartitionInterlace: InterlaceType
414
+ GIFInterlace: InterlaceType
415
+ JPEGInterlace: InterlaceType
416
+ PNGInterlace: InterlaceType
417
+
418
+ class MagickFunction < Enum
419
+ include _EnumInstanceMethod
420
+ extend _EnumClassMethod[MagickFunction]
421
+ end
422
+
423
+ UndefinedFunction: MagickFunction
424
+ PolynomialFunction: MagickFunction
425
+ SinusoidFunction: MagickFunction
426
+ ArcsinFunction: MagickFunction
427
+ ArctanFunction: MagickFunction
428
+
429
+ class LayerMethod < Enum
430
+ include _EnumInstanceMethod
431
+ extend _EnumClassMethod[LayerMethod]
432
+ end
433
+
434
+ UndefinedLayer: LayerMethod
435
+ CompareAnyLayer: LayerMethod
436
+ CompareClearLayer: LayerMethod
437
+ CompareOverlayLayer: LayerMethod
438
+ OptimizeLayer: LayerMethod
439
+ OptimizePlusLayer: LayerMethod
440
+ CoalesceLayer: LayerMethod
441
+ DisposeLayer: LayerMethod
442
+ OptimizeTransLayer: LayerMethod
443
+ OptimizeImageLayer: LayerMethod
444
+ RemoveDupsLayer: LayerMethod
445
+ RemoveZeroLayer: LayerMethod
446
+ CompositeLayer: LayerMethod
447
+ MergeLayer: LayerMethod
448
+ MosaicLayer: LayerMethod
449
+ FlattenLayer: LayerMethod
450
+ TrimBoundsLayer: LayerMethod
451
+
452
+ class MetricType < Enum
453
+ include _EnumInstanceMethod
454
+ extend _EnumClassMethod[MetricType]
455
+ end
456
+
457
+ AbsoluteErrorMetric: MetricType
458
+ MeanAbsoluteErrorMetric: MetricType
459
+ MeanSquaredErrorMetric: MetricType
460
+ PeakAbsoluteErrorMetric: MetricType
461
+ RootMeanSquaredErrorMetric: MetricType
462
+ NormalizedCrossCorrelationErrorMetric: MetricType
463
+ FuzzErrorMetric: MetricType
464
+ PerceptualHashErrorMetric: MetricType
465
+ UndefinedErrorMetric: MetricType
466
+ MeanErrorPerPixelErrorMetric: MetricType
467
+ PeakSignalToNoiseRatioErrorMetric: MetricType
468
+
469
+ class NoiseType < Enum
470
+ include _EnumInstanceMethod
471
+ extend _EnumClassMethod[NoiseType]
472
+ end
473
+
474
+ UniformNoise: NoiseType
475
+ GaussianNoise: NoiseType
476
+ MultiplicativeGaussianNoise: NoiseType
477
+ ImpulseNoise: NoiseType
478
+ LaplacianNoise: NoiseType
479
+ PoissonNoise: NoiseType
480
+ RandomNoise: NoiseType
481
+
482
+ class OrientationType < Enum
483
+ include _EnumInstanceMethod
484
+ extend _EnumClassMethod[OrientationType]
485
+ end
486
+
487
+ UndefinedOrientation: OrientationType
488
+ TopLeftOrientation: OrientationType
489
+ TopRightOrientation: OrientationType
490
+ BottomRightOrientation: OrientationType
491
+ BottomLeftOrientation: OrientationType
492
+ LeftTopOrientation: OrientationType
493
+ RightTopOrientation: OrientationType
494
+ RightBottomOrientation: OrientationType
495
+ LeftBottomOrientation: OrientationType
496
+
497
+ class PaintMethod < Enum
498
+ include _EnumInstanceMethod
499
+ extend _EnumClassMethod[PaintMethod]
500
+ end
501
+
502
+ PointMethod: PaintMethod
503
+ ReplaceMethod: PaintMethod
504
+ FloodfillMethod: PaintMethod
505
+ FillToBorderMethod: PaintMethod
506
+ ResetMethod: PaintMethod
507
+
508
+ class PixelInterpolateMethod < Enum
509
+ include _EnumInstanceMethod
510
+ extend _EnumClassMethod[PixelInterpolateMethod]
511
+ end
512
+
513
+ UndefinedInterpolatePixel: PixelInterpolateMethod
514
+ AverageInterpolatePixel: PixelInterpolateMethod
515
+ BilinearInterpolatePixel: PixelInterpolateMethod
516
+ IntegerInterpolatePixel: PixelInterpolateMethod
517
+ MeshInterpolatePixel: PixelInterpolateMethod
518
+ NearestInterpolatePixel: PixelInterpolateMethod
519
+ SplineInterpolatePixel: PixelInterpolateMethod
520
+ Average9InterpolatePixel: PixelInterpolateMethod
521
+ Average16InterpolatePixel: PixelInterpolateMethod
522
+ BlendInterpolatePixel: PixelInterpolateMethod
523
+ BackgroundInterpolatePixel: PixelInterpolateMethod
524
+ CatromInterpolatePixel: PixelInterpolateMethod
525
+
526
+ class PreviewType < Enum
527
+ include _EnumInstanceMethod
528
+ extend _EnumClassMethod[PreviewType]
529
+ end
530
+
531
+ UndefinedPreview: PreviewType
532
+ RotatePreview: PreviewType
533
+ ShearPreview: PreviewType
534
+ RollPreview: PreviewType
535
+ HuePreview: PreviewType
536
+ SaturationPreview: PreviewType
537
+ BrightnessPreview: PreviewType
538
+ GammaPreview: PreviewType
539
+ SpiffPreview: PreviewType
540
+ DullPreview: PreviewType
541
+ GrayscalePreview: PreviewType
542
+ QuantizePreview: PreviewType
543
+ DespecklePreview: PreviewType
544
+ ReduceNoisePreview: PreviewType
545
+ AddNoisePreview: PreviewType
546
+ SharpenPreview: PreviewType
547
+ BlurPreview: PreviewType
548
+ ThresholdPreview: PreviewType
549
+ EdgeDetectPreview: PreviewType
550
+ SpreadPreview: PreviewType
551
+ SolarizePreview: PreviewType
552
+ ShadePreview: PreviewType
553
+ RaisePreview: PreviewType
554
+ SegmentPreview: PreviewType
555
+ SwirlPreview: PreviewType
556
+ ImplodePreview: PreviewType
557
+ WavePreview: PreviewType
558
+ OilPaintPreview: PreviewType
559
+ CharcoalDrawingPreview: PreviewType
560
+ JPEGPreview: PreviewType
561
+
562
+ class QuantumExpressionOperator < Enum
563
+ include _EnumInstanceMethod
564
+ extend _EnumClassMethod[QuantumExpressionOperator]
565
+ end
566
+
567
+ UndefinedQuantumOperator: QuantumExpressionOperator
568
+ AddQuantumOperator: QuantumExpressionOperator
569
+ AndQuantumOperator: QuantumExpressionOperator
570
+ DivideQuantumOperator: QuantumExpressionOperator
571
+ LShiftQuantumOperator: QuantumExpressionOperator
572
+ MaxQuantumOperator: QuantumExpressionOperator
573
+ MinQuantumOperator: QuantumExpressionOperator
574
+ MultiplyQuantumOperator: QuantumExpressionOperator
575
+ OrQuantumOperator: QuantumExpressionOperator
576
+ RShiftQuantumOperator: QuantumExpressionOperator
577
+ SubtractQuantumOperator: QuantumExpressionOperator
578
+ XorQuantumOperator: QuantumExpressionOperator
579
+ PowQuantumOperator: QuantumExpressionOperator
580
+ LogQuantumOperator: QuantumExpressionOperator
581
+ ThresholdQuantumOperator: QuantumExpressionOperator
582
+ ThresholdBlackQuantumOperator: QuantumExpressionOperator
583
+ ThresholdWhiteQuantumOperator: QuantumExpressionOperator
584
+ GaussianNoiseQuantumOperator: QuantumExpressionOperator
585
+ ImpulseNoiseQuantumOperator: QuantumExpressionOperator
586
+ LaplacianNoiseQuantumOperator: QuantumExpressionOperator
587
+ MultiplicativeNoiseQuantumOperator: QuantumExpressionOperator
588
+ PoissonNoiseQuantumOperator: QuantumExpressionOperator
589
+ UniformNoiseQuantumOperator: QuantumExpressionOperator
590
+ CosineQuantumOperator: QuantumExpressionOperator
591
+ SetQuantumOperator: QuantumExpressionOperator
592
+ SineQuantumOperator: QuantumExpressionOperator
593
+ AddModulusQuantumOperator: QuantumExpressionOperator
594
+ MeanQuantumOperator: QuantumExpressionOperator
595
+ AbsQuantumOperator: QuantumExpressionOperator
596
+ ExponentialQuantumOperator: QuantumExpressionOperator
597
+ MedianQuantumOperator: QuantumExpressionOperator
598
+ SumQuantumOperator: QuantumExpressionOperator
599
+ RootMeanSquareQuantumOperator: QuantumExpressionOperator
600
+
601
+ class RenderingIntent < Enum
602
+ include _EnumInstanceMethod
603
+ extend _EnumClassMethod[RenderingIntent]
604
+ end
605
+
606
+ UndefinedIntent: RenderingIntent
607
+ SaturationIntent: RenderingIntent
608
+ PerceptualIntent: RenderingIntent
609
+ AbsoluteIntent: RenderingIntent
610
+ RelativeIntent: RenderingIntent
611
+
612
+ class ResolutionType < Enum
613
+ include _EnumInstanceMethod
614
+ extend _EnumClassMethod[ResolutionType]
615
+ end
616
+
617
+ UndefinedResolution: ResolutionType
618
+ PixelsPerInchResolution: ResolutionType
619
+ PixelsPerCentimeterResolution: ResolutionType
620
+
621
+ class SparseColorMethod < Enum
622
+ include _EnumInstanceMethod
623
+ extend _EnumClassMethod[SparseColorMethod]
624
+ end
625
+
626
+ UndefinedColorInterpolate: SparseColorMethod
627
+ BarycentricColorInterpolate: SparseColorMethod
628
+ BilinearColorInterpolate: SparseColorMethod
629
+ ShepardsColorInterpolate: SparseColorMethod
630
+ VoronoiColorInterpolate: SparseColorMethod
631
+ InverseColorInterpolate: SparseColorMethod
632
+
633
+ class SpreadMethod < Enum
634
+ include _EnumInstanceMethod
635
+ extend _EnumClassMethod[SpreadMethod]
636
+ end
637
+
638
+ UndefinedSpread: SpreadMethod
639
+ PadSpread: SpreadMethod
640
+ ReflectSpread: SpreadMethod
641
+ RepeatSpread: SpreadMethod
642
+
643
+ class StorageType < Enum
644
+ include _EnumInstanceMethod
645
+ extend _EnumClassMethod[StorageType]
646
+ end
647
+
648
+ UndefinedPixel: StorageType
649
+ CharPixel: StorageType
650
+ DoublePixel: StorageType
651
+ FloatPixel: StorageType
652
+ LongPixel: StorageType
653
+ QuantumPixel: StorageType
654
+ ShortPixel: StorageType
655
+
656
+ class StretchType < Enum
657
+ include _EnumInstanceMethod
658
+ extend _EnumClassMethod[StretchType]
659
+ end
660
+
661
+ NormalStretch: StretchType
662
+ UltraCondensedStretch: StretchType
663
+ ExtraCondensedStretch: StretchType
664
+ CondensedStretch: StretchType
665
+ SemiCondensedStretch: StretchType
666
+ SemiExpandedStretch: StretchType
667
+ ExpandedStretch: StretchType
668
+ ExtraExpandedStretch: StretchType
669
+ UltraExpandedStretch: StretchType
670
+ AnyStretch: StretchType
671
+
672
+ class StyleType < Enum
673
+ include _EnumInstanceMethod
674
+ extend _EnumClassMethod[StyleType]
675
+ end
676
+
677
+ NormalStyle: StyleType
678
+ ItalicStyle: StyleType
679
+ ObliqueStyle: StyleType
680
+ AnyStyle: StyleType
681
+
682
+ class VirtualPixelMethod < Enum
683
+ include _EnumInstanceMethod
684
+ extend _EnumClassMethod[VirtualPixelMethod]
685
+ end
686
+
687
+ UndefinedVirtualPixelMethod: VirtualPixelMethod
688
+ EdgeVirtualPixelMethod: VirtualPixelMethod
689
+ MirrorVirtualPixelMethod: VirtualPixelMethod
690
+ TileVirtualPixelMethod: VirtualPixelMethod
691
+ TransparentVirtualPixelMethod: VirtualPixelMethod
692
+ BackgroundVirtualPixelMethod: VirtualPixelMethod
693
+ DitherVirtualPixelMethod: VirtualPixelMethod
694
+ RandomVirtualPixelMethod: VirtualPixelMethod
695
+ MaskVirtualPixelMethod: VirtualPixelMethod
696
+ BlackVirtualPixelMethod: VirtualPixelMethod
697
+ GrayVirtualPixelMethod: VirtualPixelMethod
698
+ WhiteVirtualPixelMethod: VirtualPixelMethod
699
+ HorizontalTileVirtualPixelMethod: VirtualPixelMethod
700
+ VerticalTileVirtualPixelMethod: VirtualPixelMethod
701
+ HorizontalTileEdgeVirtualPixelMethod: VirtualPixelMethod
702
+ VerticalTileEdgeVirtualPixelMethod: VirtualPixelMethod
703
+ CheckerTileVirtualPixelMethod: VirtualPixelMethod
704
+
705
+ class WeightType < Enum
706
+ include _EnumInstanceMethod
707
+ extend _EnumClassMethod[WeightType]
708
+ end
709
+
710
+ AnyWeight: WeightType
711
+ NormalWeight: WeightType
712
+ BoldWeight: WeightType
713
+ BolderWeight: WeightType
714
+ LighterWeight: WeightType
715
+
716
+ class GeometryFlags < Enum
717
+ include _EnumInstanceMethod
718
+ extend _EnumClassMethod[GeometryFlags]
719
+ end
720
+
721
+ NoValue: GeometryFlags
722
+ XValue: GeometryFlags
723
+ XiValue: GeometryFlags
724
+ YValue: GeometryFlags
725
+ PsiValue: GeometryFlags
726
+ WidthValue: GeometryFlags
727
+ RhoValue: GeometryFlags
728
+ HeightValue: GeometryFlags
729
+ SigmaValue: GeometryFlags
730
+ ChiValue: GeometryFlags
731
+ XiNegative: GeometryFlags
732
+ XNegative: GeometryFlags
733
+ PsiNegative: GeometryFlags
734
+ YNegative: GeometryFlags
735
+ ChiNegative: GeometryFlags
736
+ PercentValue: GeometryFlags
737
+ AspectValue: GeometryFlags
738
+ NormalizeValue: GeometryFlags
739
+ LessValue: GeometryFlags
740
+ GreaterValue: GeometryFlags
741
+ MinimumValue: GeometryFlags
742
+ CorrelateNormalizeValue: GeometryFlags
743
+ AreaValue: GeometryFlags
744
+ DecimalValue: GeometryFlags
745
+ SeparatorValue: GeometryFlags
746
+ AllValues: GeometryFlags
747
+
748
+ class MorphologyMethod < Enum
749
+ include _EnumInstanceMethod
750
+ extend _EnumClassMethod[MorphologyMethod]
751
+ end
752
+
753
+ UndefinedMorphology: MorphologyMethod
754
+ ConvolveMorphology: MorphologyMethod
755
+ CorrelateMorphology: MorphologyMethod
756
+ ErodeMorphology: MorphologyMethod
757
+ DilateMorphology: MorphologyMethod
758
+ ErodeIntensityMorphology: MorphologyMethod
759
+ DilateIntensityMorphology: MorphologyMethod
760
+ DistanceMorphology: MorphologyMethod
761
+ OpenMorphology: MorphologyMethod
762
+ CloseMorphology: MorphologyMethod
763
+ OpenIntensityMorphology: MorphologyMethod
764
+ CloseIntensityMorphology: MorphologyMethod
765
+ SmoothMorphology: MorphologyMethod
766
+ EdgeInMorphology: MorphologyMethod
767
+ EdgeOutMorphology: MorphologyMethod
768
+ EdgeMorphology: MorphologyMethod
769
+ TopHatMorphology: MorphologyMethod
770
+ BottomHatMorphology: MorphologyMethod
771
+ HitAndMissMorphology: MorphologyMethod
772
+ ThinningMorphology: MorphologyMethod
773
+ ThickenMorphology: MorphologyMethod
774
+ VoronoiMorphology: MorphologyMethod
775
+ IterativeDistanceMorphology: MorphologyMethod
776
+
777
+ class KernelInfoType < Enum
778
+ include _EnumInstanceMethod
779
+ extend _EnumClassMethod[KernelInfoType]
780
+ end
781
+
782
+ UndefinedKernel: KernelInfoType
783
+ UnityKernel: KernelInfoType
784
+ GaussianKernel: KernelInfoType
785
+ DoGKernel: KernelInfoType
786
+ LoGKernel: KernelInfoType
787
+ BlurKernel: KernelInfoType
788
+ CometKernel: KernelInfoType
789
+ LaplacianKernel: KernelInfoType
790
+ SobelKernel: KernelInfoType
791
+ FreiChenKernel: KernelInfoType
792
+ RobertsKernel: KernelInfoType
793
+ PrewittKernel: KernelInfoType
794
+ CompassKernel: KernelInfoType
795
+ KirschKernel: KernelInfoType
796
+ DiamondKernel: KernelInfoType
797
+ SquareKernel: KernelInfoType
798
+ RectangleKernel: KernelInfoType
799
+ OctagonKernel: KernelInfoType
800
+ DiskKernel: KernelInfoType
801
+ PlusKernel: KernelInfoType
802
+ CrossKernel: KernelInfoType
803
+ RingKernel: KernelInfoType
804
+ PeaksKernel: KernelInfoType
805
+ EdgesKernel: KernelInfoType
806
+ CornersKernel: KernelInfoType
807
+ DiagonalsKernel: KernelInfoType
808
+ LineEndsKernel: KernelInfoType
809
+ LineJunctionsKernel: KernelInfoType
810
+ RidgesKernel: KernelInfoType
811
+ ConvexHullKernel: KernelInfoType
812
+ ThinSEKernel: KernelInfoType
813
+ SkeletonKernel: KernelInfoType
814
+ ChebyshevKernel: KernelInfoType
815
+ ManhattanKernel: KernelInfoType
816
+ OctagonalKernel: KernelInfoType
817
+ EuclideanKernel: KernelInfoType
818
+ UserDefinedKernel: KernelInfoType
819
+ BinomialKernel: KernelInfoType
820
+ end