Lines Matching defs:alpha
16 $alpha = 100, $lineWidth = 1, $lineDotSize = 0) {
39 if($alpha == 100) {
50 $shadowProperties->alpha
53 $AlphaDecay = ($shadowProperties->alpha / $shadowProperties->blur);
64 $shadowProperties->alpha - $AlphaDecay * $i
75 $shadowProperties->alpha - $AlphaDecay * $i
94 imagecopymerge($this->picture, $this->Layers [0], round(min($X1, $X2) - 1), round(min($Y1, $Y2) - 1), 0, 0, $LayerWidth, $LayerHeight, $alpha);
445 public function drawAntialiasPixel(Point $point, Color $color, ShadowProperties $shadowProperties, $alpha = 100) {
453 $shadowProperties->alpha
456 $AlphaDecay = ($shadowProperties->alpha / $shadowProperties->blur);
464 $shadowProperties->alpha - $AlphaDecay * $i
472 $shadowProperties->alpha - $AlphaDecay * $i
481 if($alpha == 100) {
489 $this->drawAlphaPixel($point, $alpha, $color);
491 $Alpha1 = (((1 - ($point->getX() - $Xi)) * (1 - ($point->getY() - $Yi)) * 100) / 100) * $alpha;
496 $Alpha2 = ((($point->getX() - $Xi) * (1 - ($point->getY() - $Yi)) * 100) / 100) * $alpha;
502 * $alpha;
508 * $alpha;
515 public function drawAlphaPixel(Point $point, $alpha, Color $color) {
524 $iAlpha = (100 - $alpha) / 100;
525 $alpha = $alpha / 100;
527 $Ra = floor($color->r * $alpha + $R2 * $iAlpha);
528 $Ga = floor($color->g * $alpha + $G2 * $iAlpha);
529 $Ba = floor($color->b * $alpha + $B2 * $iAlpha);
541 public function allocateColor(Color $color, $Factor = 0, $alpha = 100) {
546 if($alpha == 100) {
554 127 * (1 - $alpha / 100)
654 function drawFilledPolygon(array $points, $numPoints, Color $color, $alpha = 100) {
655 $gdColor = $this->allocateColor($color, 0, $alpha);