Lines Matching refs:R

225    function setShadowProperties($XDistance=1,$YDistance=1,$R=60,$G=60,$B=60,$Alpha=50,$Blur=0)  argument
230 $this->ShadowRColor = $R;
244 function setColorPalette($ID,$R,$G,$B) argument
246 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
250 $this->Palette[$ID]["R"] = $R;
317 function drawGraphArea($R,$G,$B,$Stripe=FALSE) argument
319 …$this->drawFilledRectangle($this->GArea_X1,$this->GArea_Y1,$this->GArea_X2,$this->GArea_Y2,$R,$G,$…
320 …$this->drawRectangle($this->GArea_X1,$this->GArea_Y1,$this->GArea_X2,$this->GArea_Y2,$R-40,$G-40,$…
324 $R2 = $R-15; if ( $R2 < 0 ) { $R2 = 0; }
325 $G2 = $R-15; if ( $G2 < 0 ) { $G2 = 0; }
326 $B2 = $R-15; if ( $B2 < 0 ) { $B2 = 0; }
375 …function drawRightScale($Data,$DataDescription,$ScaleMode,$R,$G,$B,$DrawTicks=TRUE,$Angle=0,$Decim… argument
377 …$this->drawScale($Data,$DataDescription,$ScaleMode,$R,$G,$B,$DrawTicks,$Angle,$Decimals,$WithMargi…
381 …function drawScale($Data,$DataDescription,$ScaleMode,$R,$G,$B,$DrawTicks=TRUE,$Angle=0,$Decimals=1… argument
386 $C_TextColor =$this->AllocateColor($this->Picture,$R,$G,$B);
388 $this->drawLine($this->GArea_X1,$this->GArea_Y1,$this->GArea_X1,$this->GArea_Y2,$R,$G,$B);
389 $this->drawLine($this->GArea_X1,$this->GArea_Y2,$this->GArea_X2,$this->GArea_Y2,$R,$G,$B);
539 $this->drawLine($this->GArea_X2,$YPos,$this->GArea_X2+5,$YPos,$R,$G,$B);
541 $this->drawLine($this->GArea_X1,$YPos,$this->GArea_X1-5,$YPos,$R,$G,$B);
593 $this->drawLine(floor($XPos),$this->GArea_Y2,floor($XPos),$this->GArea_Y2+5,$R,$G,$B);
641 …function drawXYScale($Data,$DataDescription,$YSerieName,$XSerieName,$R,$G,$B,$WithMargin=0,$Angle=… argument
646 $C_TextColor =$this->AllocateColor($this->Picture,$R,$G,$B);
648 $this->drawLine($this->GArea_X1,$this->GArea_Y1,$this->GArea_X1,$this->GArea_Y2,$R,$G,$B);
649 $this->drawLine($this->GArea_X1,$this->GArea_Y2,$this->GArea_X2,$this->GArea_Y2,$R,$G,$B);
735 $this->drawLine($this->GArea_X1,$YPos,$this->GArea_X1-5,$YPos,$R,$G,$B);
843 $this->drawLine($XPos,$this->GArea_Y2,$XPos,$this->GArea_Y2+5,$R,$G,$B);
901 function drawGrid($LineWidth,$Mosaic=TRUE,$R=220,$G=220,$B=220,$Alpha=100) argument
939 $this->drawDottedLine($this->GArea_X1,$YPos,$this->GArea_X2,$YPos,$LineWidth,$R,$G,$B);
953 …his->drawDottedLine(floor($XPos),$this->GArea_Y1,floor($XPos),$this->GArea_Y2,$LineWidth,$R,$G,$B);
981 …function drawLegend($XPos,$YPos,$DataDescription,$R,$G,$B,$Rs=-1,$Gs=-1,$Bs=-1,$Rt=0,$Gt=0,$Bt=0,$… argument
1005 { $Rs = $R-30; $Gs = $G-30; $Bs = $B-30; }
1010 $this->drawFilledRoundedRectangle($XPos,$YPos,$XPos+$MaxWidth,$YPos+$MaxHeight,5,$R,$G,$B);
1028 function drawPieLegend($XPos,$YPos,$Data,$DataDescription,$R,$G,$B) argument
1054 …$this->drawFilledRoundedRectangle($XPos+1,$YPos+1,$XPos+$MaxWidth+1,$YPos+$MaxHeight+1,5,$R-30,$G-…
1055 $this->drawFilledRoundedRectangle($XPos,$YPos,$XPos+$MaxWidth,$YPos+$MaxHeight,5,$R,$G,$B);
1072 function drawTitle($XPos,$YPos,$Value,$R,$G,$B,$XPos2=-1,$YPos2=-1,$Shadow=FALSE) argument
1074 $C_TextColor = $this->AllocateColor($this->Picture,$R,$G,$B);
1100 …function drawTextBox($X1,$Y1,$X2,$Y2,$Text,$Angle=0,$R=255,$G=255,$B=255,$Align=ALIGN_LEFT,$Shadow… argument
1121 $C_TextColor =$this->AllocateColor($this->Picture,$R,$G,$B);
1130 …function drawTreshold($Value,$R,$G,$B,$ShowLabel=FALSE,$ShowOnRight=FALSE,$TickWidth=4,$FreeText=N… argument
1132 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
1136 $C_TextColor =$this->AllocateColor($this->Picture,$R,$G,$B);
1143 $this->drawLine($this->GArea_X1,$Y,$this->GArea_X2,$Y,$R,$G,$B);
1145 $this->drawDottedLine($this->GArea_X1,$Y,$this->GArea_X2,$Y,$TickWidth,$R,$G,$B);
1160 function setLabel($Data,$DataDescription,$SerieName,$ValueName,$Caption,$R=210,$G=210,$B=210) argument
1166 $C_Label =$this->AllocateColor($this->Picture,$R,$G,$B);
1167 …$C_Shadow =$this->AllocateColor($this->Picture,$R-$ShadowFactor,$G-$ShadowFactor,$B-$ShadowFac…
1190 …$this->drawLine($XPos,$YPos+1,$XPos + 9,$YPos - $TextOffset - .2,$R-$ShadowFactor,$G-$ShadowFactor…
1191 …$this->drawLine($XPos,$YPos+1,$XPos + 9,$YPos + $TextOffset + 2.2,$R-$ShadowFactor,$G-$ShadowFacto…
1192 …9,$YPos - $TextOffset-.2,$XPos + 13 + $TextWidth,$YPos + $TextOffset + 2.2,$R-$ShadowFactor,$G-$Sh…
1197 $this->drawLine($XPos-1,$YPos,$XPos + 8,$YPos - $TextOffset - 1.2,$R,$G,$B);
1198 $this->drawLine($XPos-1,$YPos,$XPos + 8,$YPos + $TextOffset + 1.2,$R,$G,$B);
1199 …le($XPos + 8,$YPos - $TextOffset - 1.2,$XPos + 12 + $TextWidth,$YPos + $TextOffset + 1.2,$R,$G,$B);
1220 $R = $this->Palette[$ColorID]["R"];
1265 $this->drawFilledCircle($XPos+1,$YPos+1,$BigRadius,$R,$G,$B);
1296 $R = $this->Palette[$PaletteID]["R"];
1319 $R3 = $this->Palette[$PaletteID]["R"]-20; if ( $R < 0 ) { $R = 0; }
1326 $this->drawFilledCircle($X+1,$Y+1,$BigRadius,$R,$G,$B);
1332 $R2 = $this->Palette[$PaletteID]["R"]+20; if ( $R > 255 ) { $R = 255; }
1343 function drawArea($Data,$Serie1,$Serie2,$R,$G,$B,$Alpha = 50) argument
1356 $C_Graph =$this->AllocateColor($this->Layers[0],$R,$G,$B);
2027 function drawLimitsGraph($Data,$DataDescription,$R=0,$G=0,$B=0) argument
2065 $this->drawLine(floor($XPos)-.2,$Y1+1,floor($XPos)-.2,$Y2-1,$R,$G,$B,TRUE);
2066 $this->drawLine(floor($XPos)+.2,$Y1+1,floor($XPos)+.2,$Y2-1,$R,$G,$B,TRUE);
2354 …aph($Data,$DataDescription,$XPos,$YPos,$Radius=100,$DrawLabels=PIE_NOLABEL,$R=255,$G=255,$B=255,$D… argument
2449 $this->drawCircle($XPos-.5,$YPos-.5,$Radius,$R,$G,$B);
2450 $this->drawCircle($XPos-.5,$YPos-.5,$Radius+.5,$R,$G,$B);
2456 …ne($TopPlots[$Key][$j],$TopPlots[$Key][$j+1],$TopPlots[$Key][$j+2],$TopPlots[$Key][$j+3],$R,$G,$B);
2745 function drawBackground($R,$G,$B) argument
2747 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
2751 $C_Background = $this->AllocateColor($this->Picture,$R,$G,$B);
2756 function drawGraphAreaGradient($R,$G,$B,$Decay,$Target=TARGET_GRAPHAREA) argument
2758 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
2771 $R-=1;$G-=1;$B-=1;
2776 $C_Background = $this->AllocateColor($this->Picture,$R,$G,$B);
2788 $R+=1;$G+=1;$B+=1;
2789 $C_Background = $this->AllocateColor($this->Picture,$R,$G,$B);
2800 function drawRectangle($X1,$Y1,$X2,$Y2,$R,$G,$B) argument
2802 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
2806 $C_Rectangle = $this->AllocateColor($this->Picture,$R,$G,$B);
2810 $this->drawLine($X1,$Y1,$X2,$Y1,$R,$G,$B);
2811 $this->drawLine($X2,$Y1,$X2,$Y2,$R,$G,$B);
2812 $this->drawLine($X2,$Y2,$X1,$Y2,$R,$G,$B);
2813 $this->drawLine($X1,$Y2,$X1,$Y1,$R,$G,$B);
2817 …function drawFilledRectangle($X1,$Y1,$X2,$Y2,$R,$G,$B,$DrawBorder=TRUE,$Alpha=100,$NoFallBack=FALS… argument
2822 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
2843 $C_Rectangle = $this->AllocateColor($this->Picture,$R,$G,$B);
2856 $C_Rectangle = $this->AllocateColor($this->Layers[0],$R,$G,$B);
2866 $this->drawRectangle($X1,$Y1,$X2,$Y2,$R,$G,$B);
2872 function drawRoundedRectangle($X1,$Y1,$X2,$Y2,$Radius,$R,$G,$B) argument
2874 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
2878 $C_Rectangle = $this->AllocateColor($this->Picture,$R,$G,$B);
2886 $this->drawAntialiasPixel($X,$Y,$R,$G,$B);
2890 $this->drawAntialiasPixel($X,$Y,$R,$G,$B);
2894 $this->drawAntialiasPixel($X,$Y,$R,$G,$B);
2898 $this->drawAntialiasPixel($X,$Y,$R,$G,$B);
2903 $this->drawLine($X1+$Radius,$Y1,$X2-$Radius,$Y1,$R,$G,$B);
2904 $this->drawLine($X2,$Y1+$Radius,$X2,$Y2-$Radius,$R,$G,$B);
2905 $this->drawLine($X2-$Radius,$Y2,$X1+$Radius,$Y2,$R,$G,$B);
2906 $this->drawLine($X1,$Y2-$Radius,$X1,$Y1+$Radius,$R,$G,$B);
2910 function drawFilledRoundedRectangle($X1,$Y1,$X2,$Y2,$Radius,$R,$G,$B) argument
2912 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
2916 $C_Rectangle = $this->AllocateColor($this->Picture,$R,$G,$B);
2939 $this->drawAntialiasPixel($Xi1,$Yi1,$R,$G,$B);
2940 $this->drawAntialiasPixel($Xi2,$Yi2,$R,$G,$B);
2941 $this->drawAntialiasPixel($Xi3,$Yi3,$R,$G,$B);
2942 $this->drawAntialiasPixel($Xi4,$Yi4,$R,$G,$B);
2950 $this->drawLine($X1+$Radius,$Y1,$X2-$Radius,$Y1,$R,$G,$B);
2951 $this->drawLine($X2,$Y1+$Radius,$X2,$Y2-$Radius,$R,$G,$B);
2952 $this->drawLine($X2-$Radius,$Y2,$X1+$Radius,$Y2,$R,$G,$B);
2953 $this->drawLine($X1,$Y2-$Radius,$X1,$Y1+$Radius,$R,$G,$B);
2957 function drawCircle($Xc,$Yc,$Height,$R,$G,$B,$Width=0) argument
2960 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
2964 $C_Circle = $this->AllocateColor($this->Picture,$R,$G,$B);
2971 $this->drawAntialiasPixel($X,$Y,$R,$G,$B);
2976 function drawFilledCircle($Xc,$Yc,$Height,$R,$G,$B,$Width=0) argument
2979 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
2983 $C_Circle = $this->AllocateColor($this->Picture,$R,$G,$B);
2993 $this->drawAntialiasPixel($X1-1,$Y1-1,$R,$G,$B);
2994 $this->drawAntialiasPixel($X2-1,$Y2-1,$R,$G,$B);
3002 function drawEllipse($Xc,$Yc,$Height,$Width,$R,$G,$B) argument
3003 { $this->drawCircle($Xc,$Yc,$Height,$R,$G,$B,$Width); }
3006 function drawFilledEllipse($Xc,$Yc,$Height,$Width,$R,$G,$B) argument
3007 { $this->drawFilledCircle($Xc,$Yc,$Height,$R,$G,$B,$Width); }
3010 function drawLine($X1,$Y1,$X2,$Y2,$R,$G,$B,$GraphFunction=FALSE) argument
3012 …if ( $this->LineDotSize > 1 ) { $this->drawDottedLine($X1,$Y1,$X2,$Y2,$this->LineDotSize,$R,$G,$B,…
3013 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
3031 $this->drawAntialiasPixel($X,$Y,$R,$G,$B);
3036 $this->drawAntialiasPixel($X+$j,$Y+$j,$R,$G,$B);
3043 function drawDottedLine($X1,$Y1,$X2,$Y2,$DotSize,$R,$G,$B,$GraphFunction=FALSE) argument
3045 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
3065 $this->drawAntialiasPixel($X,$Y,$R,$G,$B);
3070 $this->drawAntialiasPixel($X+$j,$Y+$j,$R,$G,$B);
3111 function drawAlphaPixel($X,$Y,$Alpha,$R,$G,$B) argument
3113 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
3128 $Ra = floor($R*$Alpha+$R2*$iAlpha);
3137 function AllocateColor($Picture,$R,$G,$B,$Factor=0) argument
3139 $R = $R + $Factor;
3142 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
3146 return(imagecolorallocate($Picture,$R,$G,$B));
3150 function addBorder($Size=3,$R=0,$G=0,$B=0) argument
3156 $C_Background = $this->AllocateColor($Resampled,$R,$G,$B);
3200 function drawAntialiasPixel($X,$Y,$R,$G,$B,$Alpha=100,$NoFallBack=FALSE) argument
3217 if ( $R < 0 ) { $R = 0; } if ( $R > 255 ) { $R = 255; }
3229 $C_Aliased = $this->AllocateColor($this->Picture,$R,$G,$B);
3233 $this->drawAlphaPixel($X,$Y,$Alpha,$R,$G,$B);
3238 if ( $Alpha1 > $this->AntialiasQuality ) { $this->drawAlphaPixel($Xi,$Yi,$Alpha1,$R,$G,$B); }
3241 … if ( $Alpha2 > $this->AntialiasQuality ) { $this->drawAlphaPixel($Xi+1,$Yi,$Alpha2,$R,$G,$B); }
3244 … if ( $Alpha3 > $this->AntialiasQuality ) { $this->drawAlphaPixel($Xi,$Yi+1,$Alpha3,$R,$G,$B); }
3247 … if ( $Alpha4 > $this->AntialiasQuality ) { $this->drawAlphaPixel($Xi+1,$Yi+1,$Alpha4,$R,$G,$B); }