public void SetPixel(int x, int y, ColorD c) { Color sdc = c.ToColor(); var rgba = new byte[] { sdc.R, sdc.G, sdc.B, sdc.A }; Pixels.SetArea(x, y, 1, 1, rgba); }
public void DrawLine(ColorD color, double x1, double y1, double x2, double y2) { Draws.FillColor(color.ToColor()); Draws.Line(x1, y1, x2, y2); }