Ejemplo n.º 1
0
            private void RenderShapeToScale(ShapeBase shape, float x, float y, float scale)
            {
                ShapeRenderer renderer = new ShapeRenderer(shape);

                using (Graphics formGraphics = CreateGraphics())
                {
                    renderer.RenderToScale(formGraphics, x, y, scale);
                }
            }