Lines Matching refs:example
62 Image example = model; in main() local
71 example.label( "Add Noise" ); in main()
72 example.addNoise( LaplacianNoise ); in main()
73 images.push_back( example ); in main()
76 example.label( "Add Noise\n(Blue Channel)" ); in main()
77 example.addNoiseChannel( BlueChannel, PoissonNoise ); in main()
78 images.push_back( example ); in main()
81 example = model; in main()
82 example.label( "Annotate" ); in main()
83 example.density( "72x72" ); in main()
84 example.fontPointsize( 18 ); in main()
86 example.font(string(getenv("MAGICK_FONT"))); in main()
87 example.strokeColor( Color() ); in main()
88 example.fillColor( "gold" ); in main()
89 example.annotate( "Magick++", "+0+20", NorthGravity ); in main()
90 images.push_back( example ); in main()
93 example = model; in main()
94 example.label( "Blur" ); in main()
95 example.blur( 0, 1.5 ); in main()
96 images.push_back( example ); in main()
99 example = model; in main()
100 example.label( "Blur Channel\n(Red Channel)" ); in main()
101 example.blurChannel( RedChannel, 0, 3.0 ); in main()
102 images.push_back( example ); in main()
105 example = model; in main()
106 example.label( "Border" ); in main()
107 example.borderColor( "gold" ); in main()
108 example.border( Geometry(6,6) ); in main()
109 images.push_back( example ); in main()
112 example = model; in main()
113 example.label( "Channel\n(Red Channel)" ); in main()
114 example.channel( RedChannel ); in main()
115 images.push_back( example ); in main()
118 example = model; in main()
119 example.label( "Charcoal" ); in main()
120 example.charcoal( ); in main()
121 images.push_back( example ); in main()
124 example = model; in main()
125 example.label( "Composite" ); in main()
126 example.composite( smile, "+35+65", OverCompositeOp); in main()
127 images.push_back( example ); in main()
130 example = model; in main()
131 example.label( "Contrast" ); in main()
132 example.contrast( false ); in main()
133 images.push_back( example ); in main()
136 example = model; in main()
137 example.label( "Convolve" ); in main()
141 example.convolve( 3, kernel ); in main()
143 images.push_back( example ); in main()
146 example = model; in main()
147 example.label( "Crop" ); in main()
148 example.crop( "80x80+25+50" ); in main()
149 images.push_back( example ); in main()
152 example = model; in main()
153 example.label( "Despeckle" ); in main()
154 example.despeckle( ); in main()
155 images.push_back( example ); in main()
158 example = model; in main()
159 example.label( "Draw" ); in main()
160 example.fillColor(Color()); in main()
161 example.strokeColor( "gold" ); in main()
162 example.strokeWidth( 2 ); in main()
163 example.draw( DrawableCircle( 60,90, 60,120 ) ); in main()
164 images.push_back( example ); in main()
167 example = model; in main()
168 example.label( "Detect Edges" ); in main()
169 example.edge( ); in main()
170 images.push_back( example ); in main()
173 example = model; in main()
174 example.label( "Emboss" ); in main()
175 example.emboss( ); in main()
176 images.push_back( example ); in main()
179 example = model; in main()
180 example.label( "Equalize" ); in main()
181 example.equalize( ); in main()
182 images.push_back( example ); in main()
185 example = model; in main()
186 example.label( "Explode" ); in main()
187 example.backgroundColor( "#000000FF" ); in main()
188 example.implode( -1 ); in main()
189 images.push_back( example ); in main()
192 example = model; in main()
193 example.label( "Flip" ); in main()
194 example.flip( ); in main()
195 images.push_back( example ); in main()
198 example = model; in main()
199 example.label( "Flop" ); in main()
200 example.flop(); in main()
201 images.push_back( example ); in main()
204 example = model; in main()
205 example.label( "Frame" ); in main()
206 example.frame( ); in main()
207 images.push_back( example ); in main()
210 example = model; in main()
211 example.label( "Gamma" ); in main()
212 example.gamma( 1.6 ); in main()
213 images.push_back( example ); in main()
216 example = model; in main()
217 example.label( "Gaussian Blur" ); in main()
218 example.gaussianBlur( 0.0, 1.5 ); in main()
219 images.push_back( example ); in main()
222 example = model; in main()
223 example.label( "Gaussian Blur\n(Green Channel)" ); in main()
224 example.gaussianBlurChannel( GreenChannel, 0.0, 1.5 ); in main()
225 images.push_back( example ); in main()
235 example = model; in main()
236 example.label( "Grayscale" ); in main()
237 example.quantizeColorSpace( GRAYColorspace ); in main()
238 example.quantize( ); in main()
239 images.push_back( example ); in main()
242 example = model; in main()
243 example.label( "Implode" ); in main()
244 example.implode( 0.5 ); in main()
245 images.push_back( example ); in main()
248 example = model; in main()
249 example.label( "Level" ); in main()
250 example.level( 0.20*QuantumRange, 0.90*QuantumRange, 1.20 ); in main()
251 images.push_back( example ); in main()
254 example = model; in main()
255 example.label( "Level Channel\n(Red Channel)" ); in main()
256 example.levelChannel( RedChannel, 0.20*QuantumRange, 0.90*QuantumRange, 1.20 ); in main()
257 images.push_back( example ); in main()
260 example = model; in main()
261 example.label( "Median Filter" ); in main()
262 example.medianFilter( ); in main()
263 images.push_back( example ); in main()
266 example = model; in main()
267 example.label( "Modulate" ); in main()
268 example.modulate( 110, 110, 110 ); in main()
269 images.push_back( example ); in main()
272 example = model; in main()
273 example.label( "Monochrome" ); in main()
274 example.quantizeColorSpace( GRAYColorspace ); in main()
275 example.quantizeColors( 2 ); in main()
276 example.quantizeDither( false ); in main()
277 example.quantize( ); in main()
278 images.push_back( example ); in main()
281 example = model; in main()
282 example.label( "Motion Blur" ); in main()
283 example.motionBlur( 0.0, 7.0,45 ); in main()
284 images.push_back( example ); in main()
287 example = model; in main()
288 example.label( "Negate" ); in main()
289 example.negate( ); in main()
290 images.push_back( example ); in main()
293 example = model; in main()
294 example.label( "Normalize" ); in main()
295 example.normalize( ); in main()
296 images.push_back( example ); in main()
299 example = model; in main()
300 example.label( "Oil Paint" ); in main()
301 example.oilPaint( ); in main()
302 images.push_back( example ); in main()
305 example = model; in main()
306 example.label( "Ordered Dither\n(2x2)" ); in main()
307 example.randomThreshold(2,2); in main()
308 images.push_back( example ); in main()
311 example = model; in main()
312 example.label( "Ordered Dither\n(3x3)" ); in main()
313 example.randomThreshold(3,3); in main()
314 images.push_back( example ); in main()
317 example = model; in main()
318 example.label( "Ordered Dither\n(4x4)" ); in main()
319 example.randomThreshold(4,4); in main()
320 images.push_back( example ); in main()
323 example = model; in main()
324 example.label( "Ordered Dither\n(Red 4x4)" ); in main()
325 example.randomThresholdChannel(RedChannel,4,4); in main()
326 images.push_back( example ); in main()
336 example = model; in main()
337 example.label( "Quantize" ); in main()
338 example.quantize( ); in main()
339 images.push_back( example ); in main()
342 example = model; in main()
343 example.label( "Quantum Operator\nRed * 0.4" ); in main()
344 example.evaluate( RedChannel,MultiplyEvaluateOperator,0.40 ); in main()
345 images.push_back( example ); in main()
348 example = model; in main()
349 example.label( "Raise" ); in main()
350 example.raise( ); in main()
351 images.push_back( example ); in main()
354 example = model; in main()
355 example.label( "Reduce Noise" ); in main()
356 example.reduceNoise( 1.0 ); in main()
357 images.push_back( example ); in main()
360 example = model; in main()
361 example.label( "Resize" ); in main()
362 example.zoom( "50%" ); in main()
363 images.push_back( example ); in main()
366 example = model; in main()
367 example.label( "Roll" ); in main()
368 example.roll( "+20+10" ); in main()
369 images.push_back( example ); in main()
372 example = model; in main()
373 example.label( "Rotate" ); in main()
374 example.rotate( 45 ); in main()
375 example.transparent( "black" ); in main()
376 images.push_back( example ); in main()
379 example = model; in main()
380 example.label( "Scale" ); in main()
381 example.scale( "60%" ); in main()
382 images.push_back( example ); in main()
385 example = model; in main()
386 example.label( "Segment" ); in main()
387 example.segment( 0.5, 0.25 ); in main()
388 images.push_back( example ); in main()
391 example = model; in main()
392 example.label( "Shade" ); in main()
393 example.shade( 30, 30, false ); in main()
394 images.push_back( example ); in main()
397 example = model; in main()
398 example.label("Sharpen"); in main()
399 example.sharpen( 0.0, 1.0 ); in main()
400 images.push_back( example ); in main()
403 example = model; in main()
404 example.label("Shave"); in main()
405 example.shave( Geometry( 10, 10) ); in main()
406 images.push_back( example ); in main()
409 example = model; in main()
410 example.label( "Shear" ); in main()
411 example.shear( 45, 45 ); in main()
412 example.transparent( "black" ); in main()
413 images.push_back( example ); in main()
416 example = model; in main()
417 example.label( "Spread" ); in main()
418 example.spread( 3 ); in main()
419 images.push_back( example ); in main()
422 example = model; in main()
423 example.label( "Solarize" ); in main()
424 example.solarize( ); in main()
425 images.push_back( example ); in main()
428 example = model; in main()
429 example.backgroundColor( "#000000FF" ); in main()
430 example.label( "Swirl" ); in main()
431 example.swirl( 90 ); in main()
432 images.push_back( example ); in main()
435 example = model; in main()
436 example.label( "Threshold" ); in main()
437 example.threshold( QuantumRange/2.0 ); in main()
438 images.push_back( example ); in main()
441 example = model; in main()
442 example.label( "Random\nThreshold" ); in main()
443 example.randomThreshold( (0.3*QuantumRange), in main()
445 images.push_back( example ); in main()
448 example = model; in main()
449 example.label( "Unsharp Mask" ); in main()
451 example.unsharpmask( 0.0, 1.0, 1.0, 0.05); in main()
452 images.push_back( example ); in main()
455 example = model; in main()
456 example.label( "Wave" ); in main()
457 example.alpha( true ); in main()
458 example.backgroundColor( "#000000FF" ); in main()
459 example.wave( 25, 150 ); in main()
460 images.push_back( example ); in main()