5 writes to contentSize
System.Windows.Forms.DataVisualization (5)
Common\Annotation\CalloutAnnotation.cs (1)
188
contentSize
= SizeF.Empty;
Common\Annotation\TextAnnotation.cs (4)
133
contentSize
= SizeF.Empty;
181
contentSize
= SizeF.Empty;
950
contentSize
= GetGraphics().MeasureString(
959
contentSize
= GetGraphics().GetRelativeSize(contentSize);
13 references to contentSize
System.Windows.Forms.DataVisualization (13)
Common\Annotation\TextAnnotation.cs (13)
924
if(!
contentSize
.IsEmpty)
926
return new RectangleF(float.NaN, float.NaN,
contentSize
.Width,
contentSize
.Height);
956
contentSize
.Height *= 1.04f;
959
contentSize = GetGraphics().GetRelativeSize(
contentSize
);
968
if(
contentSize
.Width > 25f)
970
spacingScaleX =
contentSize
.Width / 25f;
973
if(
contentSize
.Height > 25f)
975
spacingScaleY =
contentSize
.Height / 25f;
980
contentSize
.Width += (textSpacing.X + textSpacing.Width) * spacingScaleX;
981
contentSize
.Height += (textSpacing.Y + textSpacing.Height) * spacingScaleY;
983
result = new RectangleF(float.NaN, float.NaN,
contentSize
.Width,
contentSize
.Height);