void Test2() { _pcx.ClearColorBuffer(); _pcx.SmoothMode = SmoothMode.Smooth; _pcx.StrokeColor = PixelFarm.Drawing.Color.Blue; _pcx.StrokeWidth = 1; _painter.StrokeWidth = 1; ////line _painter.FillColor = PixelFarm.Drawing.Color.Green; _painter.FillRect(100, 100, 50, 50); _pcx.DrawLine(50, 50, 200, 200); _painter.FillRenderVx(_polygon2); _painter.StrokeColor = PixelFarm.Drawing.Color.Blue; _painter.DrawRenderVx(_polygon2); //------------------------------------------- ////polygon _painter.DrawRenderVx(_polygon1); _pcx.StrokeColor = PixelFarm.Drawing.Color.Green; ////-------------------------------------------- _painter.DrawCircle(100, 100, 25); _painter.DrawEllipse(200, 200, 225, 250); //// _painter.FillColor = PixelFarm.Drawing.Color.OrangeRed; _painter.FillCircle(100, 400, 25); _pcx.StrokeColor = PixelFarm.Drawing.Color.OrangeRed; _painter.DrawCircle(100, 400, 25); //// _painter.FillColor = PixelFarm.Drawing.Color.OrangeRed; _painter.FillEllipse(200, 400, 225, 450); _pcx.StrokeColor = PixelFarm.Drawing.Color.OrangeRed; _painter.DrawEllipse(200, 400, 225, 450); //------------------------------------------- SwapBuffers(); }