Searched refs:pieRectangle (Results 1 – 2 of 2) sorted by relevance
843 pieRectangle.X = firstRectPoint.X; in FillPieSlice()844 pieRectangle.Y = firstRectPoint.Y; in FillPieSlice()850 double angleCorrection = pieRectangle.Height / pieRectangle.Width; in FillPieSlice()862 if (pieRectangle.Height > 0) in FillPieSlice()865 …path.AddArc(pieRectangle.X, pieRectangle.Y, pieRectangle.Width, pieRectangle.Height, startAngle, s… in FillPieSlice()969 pieRectangle.X = firstRectPoint.X; in FillDoughnutSlice()975 … pieDoughnutRectangle.X = pieRectangle.X + pieRectangle.Width * (1F - doughnutRadius) / 2F; in FillDoughnutSlice()976 … pieDoughnutRectangle.Y = pieRectangle.Y + pieRectangle.Height * (1F - doughnutRadius) / 2F; in FillDoughnutSlice()982 double angleCorrection = pieRectangle.Height / pieRectangle.Width; in FillDoughnutSlice()994 if (pieRectangle.Height > 0) in FillDoughnutSlice()[all …]
5283 ref RectangleF pieRectangle, in InitPieSize() argument5327 float oldWidth = pieRectangle.Width; in InitPieSize()5328 float oldHeight = pieRectangle.Height; in InitPieSize()5331 pieRectangle.Width = pieRectangle.Width - 2F * maxSize - 2 * pieRectangle.Width * labelLineSize; in InitPieSize()5333 pieRectangle.Height = pieRectangle.Height - pieRectangle.Height * 0.3F; in InitPieSize()5348 if( oldWidth * 0.8F < pieRectangle.Width ) in InitPieSize()5350 pieRectangle.Width *= 0.8F; in InitPieSize()5353 pieRectangle.X = pieRectangle.X + ( oldWidth - pieRectangle.Width ) / 2F; in InitPieSize()5354 pieWidth = pieRectangle.Width / oldWidth * pieWidth; in InitPieSize()5356 pieRectangle.Y = pieRectangle.Y + ( oldHeight - pieRectangle.Height ) / 2F; in InitPieSize()[all …]