Exemplo n.º 1
0
        static void Main(string[] args)
        {
            InstanceGeneratorConfig instanceGeneratorConfig = new InstanceGeneratorConfig();
            InstanceGeneratorMain   IG = new InstanceGeneratorMain(instanceGeneratorConfig);

            IG.create_instance();
            InstanceDrawing instanceDrawing = new InstanceDrawing(IG, new DrawingSettings());

            instanceDrawing.draw("instance.bmp");
            return;
        }
Exemplo n.º 2
0
        public void draw_instance(String filename)
        {
            InstanceDrawing instanceDrawing = new InstanceDrawing(this, new DrawingSettings());

            instanceDrawing.draw(filename);
        }