protected override Size MeasureOverride(Size availableSize)
{
this.SetPath();
Rectangle2D bounds = this.ClippedBounds;
if (!Rectangle2D.IsNullOrEmpty(bounds))
{
//return base.MeasureOverride(availableSize);
return new Size(bounds.Width / this.Resolution, bounds.Height / this.Resolution);
}
else
{
return new Size(0.0, 0.0);
}
}