コード例 #1
0
 void DrawCurrent(Graphics graphics)
 {
     graphics.Transform = gViewer.CurrentTransform();
     graphics.FillRectangle(new SolidBrush(Draw.MsaglColorToDrawingColor(gViewer.Graph.Attr.BackgroundColor)),
                            gViewer.SrcRect);
     graphics.Clip = new Region(gViewer.SrcRect);
     Draw.DrawPrecalculatedLayoutObject(graphics, gViewer.DGraph);
 }