Changeset 22619 for trunk/wp-includes/class-wp-image-editor-imagick.php
- Timestamp:
- 11/16/2012 10:02:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-image-editor-imagick.php
r22581 r22619 45 45 46 46 /** 47 * Loads image from $this->file into new Imagick Object 47 * Loads image from $this->file into new Imagick Object. 48 48 * 49 49 * @since 3.5.0 … … 110 110 111 111 /** 112 * Sets or updates current image size 112 * Sets or updates current image size. 113 113 * 114 114 * @since 3.5.0 … … 139 139 140 140 /** 141 * Checks to see if editor supports mime-type specified141 * Checks to see if editor supports the mime-type specified. 142 142 * 143 143 * @since 3.5.0 … … 163 163 /** 164 164 * Resizes current image. 165 * 166 * @since 3.5.0 167 * @access public 165 168 * 166 169 * @param int $max_w … … 199 202 * Processes current image and saves to disk 200 203 * multiple sizes from single source. 204 * 205 * @since 3.5.0 206 * @access public 201 207 * 202 208 * @param array $sizes … … 247 253 * @param int $dst_w Optional. The destination width. 248 254 * @param int $dst_h Optional. The destination height. 249 * @param int$src_abs Optional. If the source crop points are absolute.255 * @param boolean $src_abs Optional. If the source crop points are absolute. 250 256 * @return boolean|WP_Error 251 257 */ 252 258 public function crop( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false ) { 253 // Not sure this is compatible.254 259 if ( $src_abs ) { 255 260 $src_w -= $src_x; … … 303 308 304 309 /** 305 * Flips current image 306 * 307 * @since 3.5.0 308 * @access public 309 * 310 * @param boolean $horz Horizon tal Flip310 * Flips current image. 311 * 312 * @since 3.5.0 313 * @access public 314 * 315 * @param boolean $horz Horizonal Flip 311 316 * @param boolean $vert Vertical Flip 312 * @returns boolean 317 * @returns boolean|WP_Error 313 318 */ 314 319 public function flip( $horz, $vert ) { … … 327 332 328 333 /** 329 * Saves current image to file 334 * Saves current image to file. 335 * 336 * @since 3.5.0 337 * @access public 330 338 * 331 339 * @param string $destfilename … … 386 394 387 395 /** 388 * Streams current image to browser 396 * Streams current image to browser. 397 * 398 * @since 3.5.0 399 * @access public 389 400 * 390 401 * @param string $mime_type
Note: See TracChangeset
for help on using the changeset viewer.