Refactored NeedsDraw and SubViewNeedsDraw logic to improve clarity and control over redraw state. Introduced SetSubViewNeedsDrawDownHierarchy for better propagation of redraw flags. Updated Margin and Adornment classes to align with the new redraw management.

Enhanced `View` class drawing logic to ensure proper ordering of margin and subview rendering, and introduced `DoDrawContent` for encapsulated content drawing. Improved comments and documentation for better maintainability.

Updated tests to reflect the new redraw management methods. Made minor formatting changes and removed redundant code for consistency and readability.
This commit is contained in:
Tig
2025-12-04 14:41:25 -07:00
parent 96151201f6
commit 3a8de25dce
7 changed files with 96 additions and 102 deletions

View File

@@ -1,6 +1,6 @@
using Xunit.Abstractions;
namespace UnitTests.Parallelizable.Drawing.Lines;
namespace DrawingTests.Lines;
public class StraightLineTests (ITestOutputHelper output)
{