Changeset 32964 for trunk/src/wp-includes/class-wp-image-editor.php
- Timestamp:
- 06/27/2015 01:02:12 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor.php
r32800 r32964 38 38 * 39 39 * @param array $args 40 * @return bool ean40 * @return bool 41 41 */ 42 42 public static function test( $args = array() ) { … … 55 55 * 56 56 * @param string $mime_type 57 * @return bool ean57 * @return bool 58 58 */ 59 59 public static function supports_mime_type( $mime_type ) { … … 68 68 * @abstract 69 69 * 70 * @return bool ean|WP_Error True if loaded; WP_Error on failure.70 * @return bool|WP_Error True if loaded; WP_Error on failure. 71 71 */ 72 72 abstract public function load(); … … 98 98 * @param int|null $max_w Image width. 99 99 * @param int|null $max_h Image height. 100 * @param bool ean$crop101 * @return bool ean|WP_Error100 * @param bool $crop 101 * @return bool|WP_Error 102 102 */ 103 103 abstract public function resize( $max_w, $max_h, $crop = false ); … … 136 136 * @param int $dst_w Optional. The destination width. 137 137 * @param int $dst_h Optional. The destination height. 138 * @param bool ean$src_abs Optional. If the source crop points are absolute.139 * @return bool ean|WP_Error138 * @param bool $src_abs Optional. If the source crop points are absolute. 139 * @return bool|WP_Error 140 140 */ 141 141 abstract public function crop( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false ); … … 149 149 * 150 150 * @param float $angle 151 * @return bool ean|WP_Error151 * @return bool|WP_Error 152 152 */ 153 153 abstract public function rotate( $angle ); … … 160 160 * @abstract 161 161 * 162 * @param bool ean$horz Flip along Horizontal Axis163 * @param bool ean$vert Flip along Vertical Axis164 * @return bool ean|WP_Error162 * @param bool $horz Flip along Horizontal Axis 163 * @param bool $vert Flip along Vertical Axis 164 * @return bool|WP_Error 165 165 */ 166 166 abstract public function flip( $horz, $vert ); … … 174 174 * 175 175 * @param string $mime_type 176 * @return bool ean|WP_Error176 * @return bool|WP_Error 177 177 */ 178 178 abstract public function stream( $mime_type = null ); … … 411 411 * @param callable $function 412 412 * @param array $arguments 413 * @return bool ean413 * @return bool 414 414 */ 415 415 protected function make_image( $filename, $function, $arguments ) {
Note: See TracChangeset
for help on using the changeset viewer.