using System;
namespace Avalonia.Platform
{
public interface ILockedFramebuffer : IDisposable
{
///
/// Address of the first pixel
///
IntPtr Address { get; }
///
/// Gets the framebuffer size in device pixels.
///
PixelSize Size{ get; }
///
/// Number of bytes per row
///
int RowBytes { get; }
///
/// DPI of underling screen
///
Vector Dpi { get; }
///
/// Pixel format
///
PixelFormat Format { get; }
}
}