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
Gondwana.Drawing Namespace Reference

Namespaces

namespace  Animation
namespace  Collisions
namespace  Coordinates
namespace  Direct
namespace  Sprites
namespace  Tilesheets

Classes

struct  Frame
 Represents the source Tilesheet and its coordinates to render on a destination. More...
class  FrameJsonConverter
 Serializes a Frame as a lightweight tilesheet/region/coordinate reference instead of serializing the full Tilesheet object graph.
interface  IDrawable
 Represents an object that can be drawn on a visual surface, with properties for visibility and stacking order. More...
class  SvgResource
 Represents a loaded SVG asset that can be rasterized into cached bitmaps at requested sizes. More...
class  SvgResourceManager
 Manages loaded SvgResource instances keyed by asset name. More...
class  Tile
 Represents an abstract base class for drawable tiles in the Gondwana engine. Provides core functionality for rendering, animation, collision detection, and scene layer integration. More...
class  TileTransformGeometry
 Shared placement geometry; source atlas metadata is never modified.

Enumerations

enum  TileTransform {
  Identity , Rotate90 , Rotate180 , Rotate270 ,
  FlipHorizontal , FlipVertical , FlipDiagonal , FlipAntiDiagonal
}
 The eight orthogonal orientations of artwork placed in a fixed scene cell. More...

Functions

record struct Spacing ([property:JsonProperty("left")] int Left, [property:JsonProperty("top")] int Top, [property:JsonProperty("right")] int Right, [property:JsonProperty("bottom")] int Bottom)
 Represents dimensions in pixels when spacing Tilesheets.

Enumeration Type Documentation

◆ TileTransform

The eight orthogonal orientations of artwork placed in a fixed scene cell.

Enumerator
Identity 

Original orientation.

Rotate90 

Clockwise quarter turn.

Rotate180 

Half turn.

Rotate270 

Counterclockwise quarter turn.

FlipHorizontal 

Reflection across the vertical axis.

FlipVertical 

Reflection across the horizontal axis.

FlipDiagonal 

Reflection across the top-left to bottom-right diagonal (axis swap).

FlipAntiDiagonal 

Reflection across the top-right to bottom-left diagonal.

Definition at line 7 of file TileTransform.cs.

Function Documentation

◆ Spacing()

record struct Gondwana.Drawing.Spacing ( [property: JsonProperty("left")] int Left,
[property: JsonProperty("top")] int Top,
[property: JsonProperty("right")] int Right,
[property: JsonProperty("bottom")] int Bottom )

Represents dimensions in pixels when spacing Tilesheets.

Parameters
LeftThe number of pixels on the left boundary.
TopThe number of pixels on the top boundary.
RightThe number of pixels on the right boundary.
BottomThe number of pixels on the bottom boundary.

Represents a spacing with no extension in any direction (all values are zero).

Gets a value indicating whether this spacing has no extension in any direction. Returns true if all spacing values (Left, Top, Right, Bottom) are zero; otherwise, false.

Definition at line 12 of file Spacing.cs.