Still not working well but a lot more does
This commit is contained in:
@@ -111,8 +111,13 @@ namespace Test_Merge
|
||||
}
|
||||
public virtual Bitmap Draw()
|
||||
{
|
||||
Image img = ZoneImage;
|
||||
Image img = Image;
|
||||
Graphics g = Graphics.FromImage(img);
|
||||
foreach (Zone z in Zones)
|
||||
{
|
||||
Rectangle newBounds = new Rectangle(z.Bounds.X,z.Bounds.Y + Bounds.Y,z.Bounds.Width,z.Bounds.Height);
|
||||
g.DrawRectangle(Pens.Red, newBounds);
|
||||
}
|
||||
foreach (Window w in Windows)
|
||||
{
|
||||
g.DrawRectangle(Pens.Blue, w.Bounds);
|
||||
|
||||
Reference in New Issue
Block a user