diff --git a/Dashboard.Drawing.OpenGL/IGLContext.cs b/Dashboard.Drawing.OpenGL/IGLContext.cs index b326622..d38330e 100644 --- a/Dashboard.Drawing.OpenGL/IGLContext.cs +++ b/Dashboard.Drawing.OpenGL/IGLContext.cs @@ -23,4 +23,20 @@ namespace Dashboard.Drawing.OpenGL /// event Action Disposed; } + + /// + /// Extension interface for GL contexts in a DPI-aware environment. + /// + public interface IDpiAwareGLContext : IGLContext + { + /// + /// Dpi for current context. + /// + public float Dpi { get; } + + /// + /// Scale for the current context. This will be used to scale drawn geometry. + /// + public float Scale { get; } + } }