private PreviewPixel AddHighPrecisionPixel(Point location, int size) { PreviewPixel pixel = new PreviewPixel(location, size); pixel.PixelColor = PixelColor; PropPixels.Add(pixel); return(pixel); }
/// <inheritdoc /> public override void Layout() { if (ZoomLevel != 1 || RotationAngle != 0) { Pixels = PropPixels.Select(x => x.Clone()).ToList(); if (ZoomLevel != 1) { Zoom(); } UpdateBounds(); if (RotationAngle != 0) { Rotate(); } } else { Pixels = PropPixels; UpdateBounds(); } }