Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
ViewportResizedEventArgs.cs
1using System.Drawing;
2
4
11{
18 public Viewport Viewport { get; }
19
27 public Rectangle OldRect { get; }
28
36 public Rectangle NewRect { get; }
37
45 public ViewportResizedEventArgs(Viewport viewport, Rectangle oldRect, Rectangle newRect)
46 {
47 Viewport = viewport;
48 OldRect = oldRect;
49 NewRect = newRect;
50 }
51}
Rectangle OldRect
Gets the previous target rectangle before the resize or reposition operation.
ViewportResizedEventArgs(Viewport viewport, Rectangle oldRect, Rectangle newRect)
Initializes a new instance of the ViewportResizedEventArgs class with the specified viewport and rect...
Viewport Viewport
Gets the viewport instance that was resized or repositioned.
Rectangle NewRect
Gets the new target rectangle after the resize or reposition operation.