|
| load ($filename, $filedata=null) |
|
| __construct ($width=1, $height=1, $bpp=1, $dpi=72) |
|
| save ($filename) |
|
| getWidth () |
|
| getHeight () |
|
| drawLine ($pt1, $pt2, $val) |
|
| getRawData () |
|
| barGraph ($percent, $width=200, $height=40) |
|
|
| $DIB1 |
|
| $DIB2 |
|
| $DIB3 |
|
| $DIB4 |
|
| $DIB5 |
|
| $error |
|
| $magic |
|
| $dibVersion |
|
| $width |
|
| $height |
|
| $bpp |
|
| $hppm |
|
| $vppm |
|
| $palSize |
|
| $palSizeImp |
|
| $palette |
|
| $image |
|
| $rowBytes |
|
COREPOS\pos\lib\Bitmap::barGraph |
( |
|
$percent, |
|
|
|
$width = 200 , |
|
|
|
$height = 40 |
|
) |
| |
Generate a bar graph bitmap
- Parameters
-
$percent | (0.05 and 5 both represent 5%) |
$width | default 200 |
$height | default 40 |
- Returns
- Bitmap object
COREPOS\pos\lib\Bitmap::load |
( |
|
$filename, |
|
|
|
$filedata = null |
|
) |
| |
modification by Andy 09Aug13 I think this makes more sense and it's incorrect to assume all zero bytes at the end of the image are padding
The documentation for this class was generated from the following file:
- pos/is4c-nf/lib/Bitmap.php