| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 | using PaintDotNet.Measurement.Enum;using PaintDotNet.Measurement.ObjInfo;using PaintDotNet.SystemLayer;using System;using System.Drawing;using System.Drawing.Drawing2D;namespace PaintDotNet.Measurement{    public interface IAppEnvironment    {        EventHandler PenInfoChanged { get; set; }        EventHandler PrimaryColorChanged { get; set; }        EventHandler SecondaryColorChanged { get; set; }        EventHandler AlphaBlendingChanged { get; set; }        EventHandler GradientInfoChanged { get; set; }        EventHandler BrushInfoChanged { get; set; }        EventHandler FontInfoChanged { get; set; }        EventHandler FontSmoothingChanged { get; set; }        EventHandler TextAlignmentChanged { get; set; }        EventHandler AntiAliasingChanged { get; set; }        EventHandler ResamplingAlgorithmChanged { get; set; }        bool AlphaBlending();        bool AntiAliasing();        BrushInfo BrushInfo();        ColorPickerClickBehavior ColorPickerClickBehavior();        GradientInfo GradientInfo();        PenInfo PenInfo();        ResamplingAlgorithm ResamplingAlgorithm();        ShapeDrawType ShapeDrawType();        FontInfo FontInfo();        FontSmoothing FontSmoothing();        TextAlignment TextAlignment();        float Tolerance();        CombineMode SelectionCombineMode();        SelectionDrawModeInfo SelectionDrawModeInfo();        FloodMode FloodMode();        void SetPrimaryColor(ColorBgra color);        void SetSecondaryColor(ColorBgra color);        ColorBgra SecondaryColor();        ColorBgra PrimaryColor();        int GetPrimaryColorA();        int GetSecondaryColorA();        CompositingMode GetCompositingMode();        Brush CreateBrush(bool v);    }}
 |