ScissorRectHelper Class
Shared scissor rectangle intersection logic used by both HeadlessRenderer and SDL3StateManager.
internal static class ScissorRectHelper
Inheritance System.Object → ScissorRectHelper
| Methods | |
|---|---|
| Intersect(Nullable<Rectangle>, Nullable<Rectangle>) | Computes the effective scissor rectangle when pushing a new rect onto an existing one. Returns the intersection of current and incoming, or a zero-area rectangle when the two do not overlap. |