31 lines
752 B
C#
31 lines
752 B
C#
using System.Drawing;
|
|
using System.Numerics;
|
|
using Dashboard.Pal;
|
|
|
|
namespace Dashboard.Drawing
|
|
{
|
|
public interface IDeviceContextBase : IDeviceContextExtension
|
|
{
|
|
RectangleF ClipRegion { get; }
|
|
RectangleF ScissorRegion { get; }
|
|
Matrix4x4 Transforms { get; }
|
|
float Scale { get; }
|
|
float ScaleOverride { get; set; }
|
|
|
|
void ResetClip();
|
|
void PushClip(RectangleF clipRegion);
|
|
void PopClip();
|
|
|
|
void ResetScissor();
|
|
void PushScissor(RectangleF scissorRegion);
|
|
void PopScissor();
|
|
|
|
void ResetTransforms();
|
|
void PushTransforms(in Matrix4x4 matrix);
|
|
void PopTransforms();
|
|
|
|
void ClearColor(Color color);
|
|
void ClearDepth();
|
|
}
|
|
}
|