Exemplo n.º 1
0
        public Bitmap Draw(ClassInfo classInfo, Graphics g)
        {
            var size = GetClassGraphicSize(classInfo);

            int          xMaxCount = size.Item1;
            int          yMaxCount = size.Item2;
            ClassGraphic graphic   = new ClassGraphic(xMaxCount, yMaxCount, g);

            return(graphic.Draw(classInfo));
        }
Exemplo n.º 2
0
        public Bitmap Draw(ClassInfo classInfo)
        {
            LoadClassSubType(classInfo);
            var size = GetClassGraphicSize(classInfo);

            int          xMaxCount = size.Item1;
            int          yMaxCount = size.Item2;
            ClassGraphic graphic   = new ClassGraphic(xMaxCount, yMaxCount);

            return(graphic.Draw(classInfo));
        }