function ctools_stylizer_image_processor::command_fill

File

includes/stylizer.inc, line 414

Class

ctools_stylizer_image_processor

Code

function command_fill($color, $x, $y, $width, $height) {
    $this->log("Fill: {$color} ({$x}, {$y}, {$width}, {$height})");
    imagefilledrectangle($this->workspace, $x, $y, $x + $width, $y + $height, _color_gd($this->workspace, $this->palette[$color]));
}