public
Description: Rails plugin for uploading images as resources, with support for resizing, text stamping, and other special effects.
Homepage: http://fleximage.rubyforge.org
Clone URL: git://github.com/Squeegy/fleximage.git
minor rdoc formatting update
Squeegy (author)
Thu Apr 03 16:02:45 -0700 2008
commit  e3f13a17daf3bc03f264b5f88bb77a1b60dc4681
tree    d4e868be595f87bc35d296865c01abf0f396556a
parent  14fc591f148a2dbda164a1838afdf304cfd79bde
...
30
31
32
33
 
34
35
 
36
37
38
...
45
46
47
48
 
49
50
51
...
59
60
61
62
 
63
64
65
...
117
118
119
120
 
121
122
123
...
145
146
147
148
 
149
150
151
...
30
31
32
 
33
34
 
35
36
37
38
...
45
46
47
 
48
49
50
51
...
59
60
61
 
62
63
64
65
...
117
118
119
 
120
121
122
123
...
145
146
147
 
148
149
150
151
0
@@ -30,9 +30,9 @@ Fleximage uses a simple templating engine that allows you to re-render images ex
0
 * Require absolutely zero controller code.
0
 
0
 
0
-== Getting Started
0
+= Getting Started
0
 
0
-=== 1. Installing the plugin
0
+== 1. Installing the plugin
0
 
0
 If running on rails edge:
0
 
0
@@ -45,7 +45,7 @@ http://github.com/Squeegy/fleximage/tarball/master
0
 Unzip, and place the root +fleximage+ folder in your <tt>railsapproot/vendor/plugins</tt> directory.
0
 
0
 
0
-=== 2. Activating your model
0
+== 2. Activating your model
0
 
0
 You need to let your model know it should be Fleximage friendly. Lets say you have a model for photos.
0
   
0
@@ -59,7 +59,7 @@ The :+image_directory+ option tells the plugin where to store your master images
0
 There are many other options for your model. Refer to the <tt>Fleximage::Model::ClassMethods</tt> class in the +rdoc+ for more information on these.
0
 
0
 
0
-=== 3. The upload form
0
+== 3. The upload form
0
 
0
 Your users need a way to upload their images into your site. Here is how we might render a form to create a photo record.
0
   
0
@@ -117,7 +117,7 @@ When the user submits the form, all you have to do is assign the form contents t
0
   end
0
 
0
 
0
-=== 4. Linking to the generated images
0
+== 4. Linking to the generated images
0
 
0
 Rails 2 has amazing support for format driven responses. Given a photo object, by default it would have an HTML view that describes information about that photo. With Fleximage, the JPG or (GIF or PNG) view can be the image data itself.
0
 
0
@@ -145,7 +145,7 @@ That image tag uses a Rails route as its +src+. In this case, that route corres
0
 This is the URL where the image will be.
0
 
0
 
0
-=== 5. Rendering the image
0
+== 5. Rendering the image
0
 
0
 Now it's time to actually create a template to render the image. This happens through a special view with a .+flexi+ extension. This view template will pull out the master image for you, and send it to the browser as binary data after your processing of it done.
0
 
...
55
56
57
 
 
 
 
58
59
60
...
129
130
131
 
132
133
134
...
55
56
57
58
59
60
61
62
63
64
...
133
134
135
136
137
138
139
0
@@ -55,6 +55,10 @@
0
         <tr class="top-aligned-row">
0
             <td><strong>In:</strong></td>
0
             <td>
0
+ <a href="../files/lib/fleximage/image_proxy_rb.html">
0
+ lib/fleximage/image_proxy.rb
0
+ </a>
0
+ <br />
0
                 <a href="../files/lib/fleximage/model_rb.html">
0
                 lib/fleximage/model.rb
0
                 </a>
0
@@ -129,6 +133,7 @@
0
 
0
       Module <a href="Fleximage/Model.html" class="link">Fleximage::Model</a><br />
0
 Module <a href="Fleximage/Operator.html" class="link">Fleximage::Operator</a><br />
0
+Class <a href="Fleximage/ImageProxy.html" class="link">Fleximage::ImageProxy</a><br />
0
 
0
     </div>
0
 
...
86
87
88
89
 
90
91
92
93
94
95
96
97
98
99
...
116
117
118
119
120
 
 
121
122
123
 
124
125
126
...
132
133
134
135
136
 
 
137
138
139
140
141
 
 
 
 
142
143
144
...
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
...
455
456
457
458
459
460
 
 
 
461
462
463
...
86
87
88
 
89
90
91
92
93
94
95
 
96
97
98
...
115
116
117
 
 
118
119
120
121
 
122
123
124
125
...
131
132
133
 
 
134
135
136
 
 
 
 
137
138
139
140
141
142
143
...
385
386
387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
388
389
390
...
414
415
416
 
 
 
417
418
419
420
421
422
0
@@ -86,14 +86,13 @@ Provides methods that every model instance that acts_as_fleximage needs.
0
       <h3 class="section-bar">Methods</h3>
0
 
0
       <div class="name-list">
0
- <a href="#M000011">delete_image_file</a>&nbsp;&nbsp;
0
+ <a href="#M000010">delete_image_file</a>&nbsp;&nbsp;
0
       <a href="#M000003">directory_path</a>&nbsp;&nbsp;
0
       <a href="#M000004">file_path</a>&nbsp;&nbsp;
0
       <a href="#M000008">has_image?</a>&nbsp;&nbsp;
0
       <a href="#M000005">image_file=</a>&nbsp;&nbsp;
0
       <a href="#M000007">image_file_url</a>&nbsp;&nbsp;
0
       <a href="#M000006">image_file_url=</a>&nbsp;&nbsp;
0
- <a href="#M000010">method_missing</a>&nbsp;&nbsp;
0
       <a href="#M000009">operate</a>&nbsp;&nbsp;
0
       </div>
0
     </div>
0
@@ -116,11 +115,11 @@ Provides methods that every model instance that acts_as_fleximage needs.
0
     <div id="methods">
0
       <h3 class="section-bar">Public Instance methods</h3>
0
 
0
- <div id="method-M000011" class="method-detail">
0
- <a name="M000011"></a>
0
+ <div id="method-M000010" class="method-detail">
0
+ <a name="M000010"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000011" class="method-signature">
0
+ <a href="#M000010" class="method-signature">
0
           <span class="method-name">delete_image_file</span><span class="method-args">()</span>
0
           </a>
0
         </div>
0
@@ -132,13 +131,13 @@ record gets destroyed, but you can call it manually if you want to remove
0
 the image from the record.
0
 </p>
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000011-source">
0
+ onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000010-source">
0
 <pre>
0
- <span class="ruby-comment cmt"># File lib/fleximage/model.rb, line 298</span>
0
-298: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_image_file</span>
0
-299: <span class="ruby-constant">File</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">file_path</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">file_path</span>)
0
-300: <span class="ruby-keyword kw">end</span>
0
+ <span class="ruby-comment cmt"># File lib/fleximage/model.rb, line 280</span>
0
+280: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_image_file</span>
0
+281: <span class="ruby-constant">File</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">file_path</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">file_path</span>)
0
+282: <span class="ruby-keyword kw">end</span>
0
 </pre>
0
           </div>
0
         </div>
0
@@ -386,46 +385,6 @@ machine, or pull from the internet.
0
         </div>
0
       </div>
0
 
0
- <div id="method-M000010" class="method-detail">
0
- <a name="M000010"></a>
0
-
0
- <div class="method-heading">
0
- <a href="#M000010" class="method-signature">
0
- <span class="method-name">method_missing</span><span class="method-args">(method_name, *args)</span>
0
- </a>
0
- </div>
0
-
0
- <div class="method-description">
0
- <p>
0
-If in a view, a call to an unknown method will look for an <a
0
-href="../Operator.html">Operator</a> by that method&#8216;s name. If it
0
-find one, it will execute that operator, otherwise it will simply call
0
-super for the default method missing behavior.
0
-</p>
0
- <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000010-source">
0
-<pre>
0
- <span class="ruby-comment cmt"># File lib/fleximage/model.rb, line 281</span>
0
-281: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">method_name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
0
-282: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@operating</span>
0
-283: <span class="ruby-identifier">operator_class</span> = <span class="ruby-node">&quot;Fleximage::Operator::#{method_name.to_s.camelcase}&quot;</span>.<span class="ruby-identifier">constantize</span>
0
-284: <span class="ruby-ivar">@output_image</span> = <span class="ruby-identifier">operator_class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>).<span class="ruby-identifier">execute</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
0
-285: <span class="ruby-keyword kw">else</span>
0
-286: <span class="ruby-keyword kw">super</span>
0
-287: <span class="ruby-keyword kw">end</span>
0
-288: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">NameError</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">e</span>
0
-289: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/uninitialized constant Fleximage::Operator::/</span>
0
-290: <span class="ruby-keyword kw">super</span>
0
-291: <span class="ruby-keyword kw">else</span>
0
-292: <span class="ruby-identifier">raise</span> <span class="ruby-identifier">e</span>
0
-293: <span class="ruby-keyword kw">end</span>
0
-294: <span class="ruby-keyword kw">end</span>
0
-</pre>
0
- </div>
0
- </div>
0
- </div>
0
-
0
       <div id="method-M000009" class="method-detail">
0
         <a name="M000009"></a>
0
 
0
@@ -455,9 +414,9 @@ code inside a block passed to this method.
0
      <span class="ruby-comment cmt"># File lib/fleximage/model.rb, line 238</span>
0
 238: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">operate</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
0
 239: <span class="ruby-identifier">returning</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">do</span>
0
-240: <span class="ruby-ivar">@operating</span> = <span class="ruby-keyword kw">true</span>
0
-241: <span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span>(<span class="ruby-keyword kw">self</span>)
0
-242: <span class="ruby-ivar">@operating</span> = <span class="ruby-keyword kw">false</span>
0
+240: <span class="ruby-identifier">proxy</span> = <span class="ruby-constant">ImageProxy</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">load_image</span>)
0
+241: <span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">proxy</span>)
0
+242: <span class="ruby-ivar">@output_image</span> = <span class="ruby-identifier">proxy</span>.<span class="ruby-identifier">image</span>
0
 243: <span class="ruby-keyword kw">end</span>
0
 244: <span class="ruby-keyword kw">end</span>
0
 </pre>
...
83
84
85
86
 
87
88
89
90
91
92
 
93
94
95
...
111
112
113
114
115
116
117
118
119
 
 
 
 
 
 
120
121
122
...
138
139
140
141
142
 
 
143
144
145
 
146
147
148
...
154
155
156
157
158
 
 
159
160
161
...
166
167
168
169
170
 
 
171
172
173
 
174
175
176
...
179
180
181
182
 
183
184
185
186
 
 
187
188
189
...
198
199
200
201
202
 
 
203
204
205
 
206
207
208
...
211
212
213
214
 
215
216
217
218
219
 
 
220
221
222
...
227
228
229
230
231
 
 
232
233
234
 
235
236
237
...
261
262
263
264
265
 
 
266
267
268
...
279
280
281
282
283
 
 
284
285
286
 
287
288
289
...
292
293
294
295
 
296
297
298
299
300
 
 
301
302
303
...
308
309
310
311
312
 
 
313
314
315
 
316
317
318
...
333
334
335
336
337
 
 
338
339
340
...
83
84
85
 
86
87
88
89
90
91
 
92
93
94
95
...
111
112
113
 
 
 
 
 
 
114
115
116
117
118
119
120
121
122
...
138
139
140
 
 
141
142
143
144
 
145
146
147
148
...
154
155
156
 
 
157
158
159
160
161
...
166
167
168
 
 
169
170
171
172
 
173
174
175
176
...
179
180
181
 
182
183
184
 
 
185
186
187
188
189
...
198
199
200
 
 
201
202
203
204
 
205
206
207
208
...
211
212
213
 
214
215
216
217
 
 
218
219
220
221
222
...
227
228
229
 
 
230
231
232
233
 
234
235
236
237
...
261
262
263
 
 
264
265
266
267
268
...
279
280
281
 
 
282
283
284
285
 
286
287
288
289
...
292
293
294
 
295
296
297
298
 
 
299
300
301
302
303
...
308
309
310
 
 
311
312
313
314
 
315
316
317
318
...
333
334
335
 
 
336
337
338
339
340
0
@@ -83,13 +83,13 @@
0
 The <a href="Base.html">Operator::Base</a> class is what all other <a
0
 href="../Operator.html">Operator</a> classes inherit from. To write your
0
 own <a href="../Operator.html">Operator</a> class, simply inherit from this
0
-class, and implement your own <a href="Base.html#M000018">operate</a>
0
+class, and implement your own <a href="Base.html#M000017">operate</a>
0
 methods, with your own arguments. Just return a new RMagick image object
0
 that represents the new image, and the model will be updated automatically.
0
 </p>
0
 <p>
0
 You have access to a few instance variables in the <a
0
-href="Base.html#M000018">operate</a> method:
0
+href="Base.html#M000017">operate</a> method:
0
 </p>
0
 <ul>
0
 <li>@image : The current image from the model. Use this is a starting point for
0
@@ -111,12 +111,12 @@ methods if you need to do something specific based on model data.
0
       <h3 class="section-bar">Methods</h3>
0
 
0
       <div class="name-list">
0
- <a href="#M000018">operate</a>&nbsp;&nbsp;
0
- <a href="#M000020">scale</a>&nbsp;&nbsp;
0
- <a href="#M000021">scale_and_crop</a>&nbsp;&nbsp;
0
- <a href="#M000019">size_to_xy</a>&nbsp;&nbsp;
0
- <a href="#M000022">stretch</a>&nbsp;&nbsp;
0
- <a href="#M000023">symbol_to_blending_mode</a>&nbsp;&nbsp;
0
+ <a href="#M000017">operate</a>&nbsp;&nbsp;
0
+ <a href="#M000019">scale</a>&nbsp;&nbsp;
0
+ <a href="#M000020">scale_and_crop</a>&nbsp;&nbsp;
0
+ <a href="#M000018">size_to_xy</a>&nbsp;&nbsp;
0
+ <a href="#M000021">stretch</a>&nbsp;&nbsp;
0
+ <a href="#M000022">symbol_to_blending_mode</a>&nbsp;&nbsp;
0
       </div>
0
     </div>
0
 
0
@@ -138,11 +138,11 @@ methods if you need to do something specific based on model data.
0
     <div id="methods">
0
       <h3 class="section-bar">Public Instance methods</h3>
0
 
0
- <div id="method-M000018" class="method-detail">
0
- <a name="M000018"></a>
0
+ <div id="method-M000017" class="method-detail">
0
+ <a name="M000017"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000018" class="method-signature">
0
+ <a href="#M000017" class="method-signature">
0
           <span class="method-name">operate</span><span class="method-args">(*args)</span>
0
           </a>
0
         </div>
0
@@ -154,8 +154,8 @@ href="Base.html">Operator::Base</a> subclasses in order to write your own
0
 image operators.
0
 </p>
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000018-source">
0
+ onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000017-source">
0
 <pre>
0
     <span class="ruby-comment cmt"># File lib/fleximage/operator/base.rb, line 31</span>
0
 31: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">operate</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
0
@@ -166,11 +166,11 @@ image operators.
0
         </div>
0
       </div>
0
 
0
- <div id="method-M000020" class="method-detail">
0
- <a name="M000020"></a>
0
+ <div id="method-M000019" class="method-detail">
0
+ <a name="M000019"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000020" class="method-signature">
0
+ <a href="#M000019" class="method-signature">
0
           <span class="method-name">scale</span><span class="method-args">(size, img = nil)</span>
0
           </a>
0
         </div>
0
@@ -179,11 +179,11 @@ image operators.
0
           <p>
0
 Scale the image, respecting aspect ratio. Operation will happen in the main
0
 <tt>@image</tt> unless you supply the <tt>img</tt> argument to <a
0
-href="Base.html#M000018">operate</a> on instead.
0
+href="Base.html#M000017">operate</a> on instead.
0
 </p>
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000020-source">
0
+ onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000019-source">
0
 <pre>
0
     <span class="ruby-comment cmt"># File lib/fleximage/operator/base.rb, line 62</span>
0
 62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scale</span>(<span class="ruby-identifier">size</span>, <span class="ruby-identifier">img</span> = <span class="ruby-keyword kw">nil</span>)
0
@@ -198,11 +198,11 @@ href="Base.html#M000018">operate</a> on instead.
0
         </div>
0
       </div>
0
 
0
- <div id="method-M000021" class="method-detail">
0
- <a name="M000021"></a>
0
+ <div id="method-M000020" class="method-detail">
0
+ <a name="M000020"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000021" class="method-signature">
0
+ <a href="#M000020" class="method-signature">
0
           <span class="method-name">scale_and_crop</span><span class="method-args">(size, img = nil)</span>
0
           </a>
0
         </div>
0
@@ -211,12 +211,12 @@ href="Base.html#M000018">operate</a> on instead.
0
           <p>
0
 Scale to the desired size and crop edges off to get the exact dimensions
0
 needed. Operation will happen in the main <tt>@image</tt> unless you supply
0
-the <tt>img</tt> argument to <a href="Base.html#M000018">operate</a> on
0
+the <tt>img</tt> argument to <a href="Base.html#M000017">operate</a> on
0
 instead.
0
 </p>
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000021-source">
0
+ onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000020-source">
0
 <pre>
0
     <span class="ruby-comment cmt"># File lib/fleximage/operator/base.rb, line 73</span>
0
 73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scale_and_crop</span>(<span class="ruby-identifier">size</span>, <span class="ruby-identifier">img</span> = <span class="ruby-keyword kw">nil</span>)
0
@@ -227,11 +227,11 @@ instead.
0
         </div>
0
       </div>
0
 
0
- <div id="method-M000019" class="method-detail">
0
- <a name="M000019"></a>
0
+ <div id="method-M000018" class="method-detail">
0
+ <a name="M000018"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000019" class="method-signature">
0
+ <a href="#M000018" class="method-signature">
0
           <span class="method-name">size_to_xy</span><span class="method-args">(size)</span>
0
           </a>
0
         </div>
0
@@ -261,8 +261,8 @@ Usage:
0
   x, y = size_to_xy(&quot;10x20&quot;)
0
 </pre>
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000019-source">
0
+ onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000018-source">
0
 <pre>
0
     <span class="ruby-comment cmt"># File lib/fleximage/operator/base.rb, line 49</span>
0
 49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">size_to_xy</span>(<span class="ruby-identifier">size</span>)
0
@@ -279,11 +279,11 @@ Usage:
0
         </div>
0
       </div>
0
 
0
- <div id="method-M000022" class="method-detail">
0
- <a name="M000022"></a>
0
+ <div id="method-M000021" class="method-detail">
0
+ <a name="M000021"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000022" class="method-signature">
0
+ <a href="#M000021" class="method-signature">
0
           <span class="method-name">stretch</span><span class="method-args">(size, img = nil)</span>
0
           </a>
0
         </div>
0
@@ -292,12 +292,12 @@ Usage:
0
           <p>
0
 <a href="Resize.html">Resize</a> the image, with no respect to aspect
0
 ratio. Operation will happen in the main <tt>@image</tt> unless you supply
0
-the <tt>img</tt> argument to <a href="Base.html#M000018">operate</a> on
0
+the <tt>img</tt> argument to <a href="Base.html#M000017">operate</a> on
0
 instead.
0
 </p>
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000022-source">
0
+ onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000021-source">
0
 <pre>
0
     <span class="ruby-comment cmt"># File lib/fleximage/operator/base.rb, line 80</span>
0
 80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stretch</span>(<span class="ruby-identifier">size</span>, <span class="ruby-identifier">img</span> = <span class="ruby-keyword kw">nil</span>)
0
@@ -308,11 +308,11 @@ instead.
0
         </div>
0
       </div>
0
 
0
- <div id="method-M000023" class="method-detail">
0
- <a name="M000023"></a>
0
+ <div id="method-M000022" class="method-detail">
0
+ <a name="M000022"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000023" class="method-signature">
0
+ <a href="#M000022" class="method-signature">
0
           <span class="method-name">symbol_to_blending_mode</span><span class="method-args">(mode)</span>
0
           </a>
0
         </div>
0
@@ -333,8 +333,8 @@ To use a blend mode remove the <tt>CompositeOp</tt> form the name and
0
 <tt>CopyBlackCompositeOp</tt> becomes :<tt>copy_black</tt>.
0
 </p>
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000023-source">
0
+ onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000022-source">
0
 <pre>
0
     <span class="ruby-comment cmt"># File lib/fleximage/operator/base.rb, line 91</span>
0
 91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">symbol_to_blending_mode</span>(<span class="ruby-identifier">mode</span>)
...
129
130
131
132
 
133
134
135
...
151
152
153
154
155
 
 
156
157
158
 
159
160
161
162
163
164
165
166
 
 
167
168
169
...
129
130
131
 
132
133
134
135
...
151
152
153
 
 
154
155
156
157
 
158
159
160
161
162
163
164
 
 
165
166
167
168
169
0
@@ -129,7 +129,7 @@ Example:
0
       <h3 class="section-bar">Methods</h3>
0
 
0
       <div class="name-list">
0
- <a href="#M000012">operate</a>&nbsp;&nbsp;
0
+ <a href="#M000011">operate</a>&nbsp;&nbsp;
0
       </div>
0
     </div>
0
 
0
@@ -151,19 +151,19 @@ Example:
0
     <div id="methods">
0
       <h3 class="section-bar">Public Instance methods</h3>
0
 
0
- <div id="method-M000012" class="method-detail">
0
- <a name="M000012"></a>
0
+ <div id="method-M000011" class="method-detail">
0
+ <a name="M000011"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000012" class="method-signature">
0
+ <a href="#M000011" class="method-signature">
0
           <span class="method-name">operate</span><span class="method-args">(options = {})</span>
0
           </a>
0
         </div>
0
       
0
         <div class="method-description">
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000012-source">
0
+ onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000011-source">
0
 <pre>
0
     <span class="ruby-comment cmt"># File lib/fleximage/operator/border.rb, line 33</span>
0
 33: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">operate</span>(<span class="ruby-identifier">options</span> = {})
...
123
124
125
126
 
127
128
129
...
145
146
147
148
149
 
 
150
151
152
 
153
154
155
156
157
158
159
160
 
 
161
162
163
...
123
124
125
 
126
127
128
129
...
145
146
147
 
 
148
149
150
151
 
152
153
154
155
156
157
158
 
 
159
160
161
162
163
0
@@ -123,7 +123,7 @@ Example:
0
       <h3 class="section-bar">Methods</h3>
0
 
0
       <div class="name-list">
0
- <a href="#M000017">operate</a>&nbsp;&nbsp;
0
+ <a href="#M000016">operate</a>&nbsp;&nbsp;
0
       </div>
0
     </div>
0
 
0
@@ -145,19 +145,19 @@ Example:
0
     <div id="methods">
0
       <h3 class="section-bar">Public Instance methods</h3>
0
 
0
- <div id="method-M000017" class="method-detail">
0
- <a name="M000017"></a>
0
+ <div id="method-M000016" class="method-detail">
0
+ <a name="M000016"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000017" class="method-signature">
0
+ <a href="#M000016" class="method-signature">
0
           <span class="method-name">operate</span><span class="method-args">(options = {})</span>
0
           </a>
0
         </div>
0
       
0
         <div class="method-description">
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000017-source">
0
+ onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000016-source">
0
 <pre>
0
     <span class="ruby-comment cmt"># File lib/fleximage/operator/crop.rb, line 25</span>
0
 25: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">operate</span>(<span class="ruby-identifier">options</span> = {})
...
159
160
161
162
 
163
164
165
...
181
182
183
184
185
 
 
186
187
188
 
189
190
191
192
193
194
195
196
 
 
197
198
199
...
159
160
161
 
162
163
164
165
...
181
182
183
 
 
184
185
186
187
 
188
189
190
191
192
193
194
 
 
195
196
197
198
199
0
@@ -159,7 +159,7 @@ Example:
0
       <h3 class="section-bar">Methods</h3>
0
 
0
       <div class="name-list">
0
- <a href="#M000015">operate</a>&nbsp;&nbsp;
0
+ <a href="#M000014">operate</a>&nbsp;&nbsp;
0
       </div>
0
     </div>
0
 
0
@@ -181,19 +181,19 @@ Example:
0
     <div id="methods">
0
       <h3 class="section-bar">Public Instance methods</h3>
0
 
0
- <div id="method-M000015" class="method-detail">
0
- <a name="M000015"></a>
0
+ <div id="method-M000014" class="method-detail">
0
+ <a name="M000014"></a>
0
 
0
         <div class="method-heading">
0
- <a href="#M000015" class="method-signature">
0
+ <a href="#M000014" class="method-signature">
0
           <span class="method-name">operate</span><span class="method-args">(image_overlay_path, options = {})</span>
0
           </a>
0
         </div>
0
       
0
         <div class="method-description">
0
           <p><a class="source-toggle" href="#"
0
- onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
0
- <div class="method-source-code" id="M000015-source">
0
+ onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
0
+ <div class="method-source-code" id="M000014-source">
0
 <pre>
0
     <span class="ruby-comment cmt"># File lib/fleximage/operator/image_overlay.rb, line 52</span>
0
 52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">operate</span>(<span class="ruby-identifier">image_overlay_path</span>, <span class="ruby-identifier">options</span> = {})
...
142
143
144
145
 
146
147
148
...
164
165
166
167
168
 
 
169
170
171
 
172
173
174
175
176
177
178
179
 
 
180
181
182
...
142
143
144
 
145
146
147
148
...
164
165
166
 
 
167
168
169
170
 
171
172
173
174
175
176
177
 
 
178
179
180
181
182
0
@@ -142,7 +142,7 @@ Example:
0
       <h3 class="section-bar">Methods</h3>
0
 
0
       <div class="name-lis