初始上传

This commit is contained in:
2026-04-04 17:27:12 +08:00
parent 4d80d28eb4
commit b7e11774ee
11191 changed files with 1588469 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<?php
/**
*--------------------------------------------------------------------
*
* Base class to draw images
*
*--------------------------------------------------------------------
* Copyright (C) Jean-Sebastien Goupil
* http://www.barcodephp.com
*/
abstract class BCGDraw {
protected $im;
protected $filename;
/**
* Constructor.
*
* @param resource $im
*/
protected function __construct($im) {
$this->im = $im;
}
/**
* Sets the filename.
*
* @param string $filename
*/
public function setFilename($filename) {
$this->filename = $filename;
}
/**
* Method needed to draw the image based on its specification (JPG, GIF, etc.).
*/
abstract public function draw();
}
?>