mirror of
https://github.com/openvk/openvk
synced 2024-12-26 18:42:37 +03:00
c566c7e402
где мои опиаты???
14 lines
347 B
PHP
14 lines
347 B
PHP
<?php declare(strict_types=1);
|
|
namespace openvk\Web\Util\Makima;
|
|
|
|
class ThumbTile {
|
|
public $width;
|
|
public $height;
|
|
public $rowSpan;
|
|
public $colSpan;
|
|
|
|
function __construct(int $rs, int $cs, float $w, float $h)
|
|
{
|
|
[$this->width, $this->height, $this->rowSpan, $this->colSpan] = [ceil($w), ceil($h), $rs, $cs];
|
|
}
|
|
}
|