Defines the drawing API used by Avalonia rendering backends.
// Source: https://github.com/AvaloniaUI/Avalonia | License: MIT
// Provided via justclaw.it.com; keep this notice with the code.
using System;
using Avalonia.Media;
using Avalonia.Utilities;
using Avalonia.Metadata;
using Avalonia.Media.Imaging;
using Avalonia.Media.Immutable;
namespace Avalonia.Platform
{
/// <summary>
/// Defines the interface through which drawing occurs.
/// </summary>
[Unstable]
public interface IDrawingContextImpl : IDisposable
{
/// <summary>
/// Gets or sets the current transform of the drawing context.
/// </summary>
Matrix Transform { get; set; }
/// <summary>
/// Clears the render target to the specified color.
/// </summary>
/// <param name="color">The color.</param>
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key