Exemple #1
0
		public void DrawPath(Path path, PathDrawingMode mode)
		{
			BeginPath(); // Clear the path before drawing
			AddPath(path); // Adds the path to the context's now empty current path
			DrawPath(mode); // Render the context's current path
			BeginPath(); // Clear the path after drawing (same as with other path painting methods)
		}
Exemple #2
0
 private Path(Path @base)
 {
     data = new PathData(@base.data);
 }
Exemple #3
0
		public void AddPath(Path path)
		{
			// TODO: Allow usage of native CGPath objects
			path.Data.AddToContext(GraphicsPort);
		}