public function watermarkDimensionCoords() 
    {
        $watermarkInfo = $this->getWatermarkInfo();
        $imageInfo = $this->getImageInfo();
        
        switch ($this->getType()) :
		case self::WATERMARK_TYPE_FULLWIDTH:
		default:
			$resizedWatermarkWidth = number_format($imageInfo['width'], 0, ',', '');
			$resizedWatermarkHeight = 
				number_format($resizedWatermarkWidth * $watermarkInfo['height'] / 
						$watermarkInfo['width'], 0, ',', '');
			$destX = 0;  
			$destY = number_format(($imageInfo['height']/2 - $resizedWatermarkHeight/2 ), 0, ',', '');
            break;
        endswitch;
        
        return array($resizedWatermarkWidth, $resizedWatermarkHeight, $destX, $destY);
    }
public function watermarkDimensionCoords() 
    {
        $watermarkInfo = $this->getWatermarkInfo();
        $imageInfo = $this->getImageInfo();
        
        switch ($this->getType()) :
		case self::WATERMARK_TYPE_FULLWIDTH:
		default:
			$resizedWatermarkWidth = number_format($imageInfo['width'], 0, ',', '');
			$resizedWatermarkHeight = 
				number_format($resizedWatermarkWidth * $watermarkInfo['height'] / 
						$watermarkInfo['width'], 0, ',', '');
			$destX = 0;  
			$destY = number_format(($imageInfo['height']/2 - $resizedWatermarkHeight/2 ), 0, ',', '');
            break;
        endswitch;
        
        return array($resizedWatermarkWidth, $resizedWatermarkHeight, $destX, $destY);
    }
public function watermarkDimensionCoords ( ) { $ watermarkInfo = $ this -> getWatermarkInfo ( ) ; $ imageInfo = $ this -> getImageInfo ( ) ; switch ( $ this -> getType ( ) ) : case self :: WATERMARK_TYPE_FULLWIDTH : default : $ resizedWatermarkWidth = number_format ( $ imageInfo [ 'width' ] , 0 , ',' , '' ) ; $ resizedWatermarkHeight = number_format ( $ resizedWatermarkWidth * $ watermarkInfo [ 'height' ] / $ watermarkInfo [ 'width' ] , 0 , ',' , '' ) ; $ destX = 0 ; $ destY = number_format ( ( $ imageInfo [ 'height' ] / 2 - $ resizedWatermarkHeight / 2 ) , 0 , ',' , '' ) ; break ; endswitch ; return array ( $ resizedWatermarkWidth , $ resizedWatermarkHeight , $ destX , $ destY ) ; }
Get watermark type dimension from a type

@param array
@param array
@param int
@return array
Get watermark type dimension from a type