[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/AkImage/AkImageFilter/ -> AkImageResizeFilter.php (summary)

(no description)

Author: Bermi Ferrer
Copyright: Copyright (c) 2002-2006, Akelos Media, S.L. http://www.akelos.org
License: GNU Lesser General Public License
File Size: 124 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AkImageResizeFilter:: (7 methods):
  setOptions()
  apply()
  getName()
  _setWidthAndHeight_()
  _recalculateTargetDimenssions()
  _getProportionalWidth()
  _getProportionalHeight()


Class: AkImageResizeFilter  - X-Ref

Resizing filter

Options are:
'width
'height'
'mode' This setting will define how the image will be resized. Options are:
- "normal" (default) will shrink to the largest side but will not grow the image if it is smaller
- "expand" grows the image to the largest side
- "force" forces the image to an specific size without maintaining the aspect ratio
setOptions($options = array()   X-Ref
No description

apply()   X-Ref
No description

getName()   X-Ref
No description

_setWidthAndHeight_(&$options)   X-Ref
No description

_recalculateTargetDimenssions()   X-Ref
No description

_getProportionalWidth($proportion = '100%')   X-Ref
No description

_getProportionalHeight($proportion = '100%')   X-Ref
No description



Generated: Mon Oct 27 12:43:49 2008 Cross-referenced by PHPXref 0.6