Initial import: Carteasy Shop (Dev-Stand)

This commit is contained in:
Thomas Bartelt
2026-04-20 01:03:43 +02:00
commit d504f8a05d
3845 changed files with 761050 additions and 0 deletions
@@ -0,0 +1,28 @@
<?php
abstract class phImaginator_Draw extends phImaginator_Universal implements phImaginator_Module {
protected static $runCollected = false;
public static function rectangle($position_horizontal, $position_vertical, $width, $height, $color, $opacity) {
$image_data =& parent::getCurrentResource();
$bgColor = parent::transparency($image_data['resource'], $color, $opacity);
$elemPos = parent::getElementPositions($position_horizontal, $position_vertical, $image_data, $width, $height);
$elemSizes = parent::computeElementSizes($image_data, $width, $height);
imagefilledrectangle($image_data['resource'], $elemPos['x'], $elemPos['y'], $elemPos['x'] + $elemSizes['w'], $elemPos['y'] + $elemSizes['h'], $bgColor);
}
}
?>