// "Therefore those skilled at the unorthodox // are infinite as heaven and earth, // inexhaustible as the great rivers. // When they come to an end, // they begin again, // like the days and months; // they die and are reborn, // like the four seasons." // // - Sun Tsu, // "The Art of War" using System; namespace TheArtOfDev.HtmlRenderer.Adapters { /// /// Adapter for platform specific graphics path object - used to render (draw/fill) path shape. /// public abstract class RGraphicsPath : IDisposable { /// /// Start path at the given point. /// public abstract void Start(double x, double y); /// /// Add stright line to the given point from te last point. /// public abstract void LineTo(double x, double y); /// /// Add circular arc of the given size to the given point from the last point. /// public abstract void ArcTo(double x, double y, double size, Corner corner); /// /// Release path resources. /// public abstract void Dispose(); /// /// The 4 corners that are handled in arc rendering. /// public enum Corner { /// /// /// TopLeft, /// /// /// TopRight, /// /// /// BottomLeft, /// /// /// BottomRight, } } }