Able to draw a burned image
This commit is contained in:
parent
24413ec12e
commit
d48db428c7
@ -1078,13 +1078,13 @@ namespace EduNetworkBuilder
|
||||
Network myNet = NB.GetNetwork();
|
||||
myNet.Invalidate(Location);
|
||||
}
|
||||
if (MorphColor == Color.Empty && PowerOff == false)
|
||||
Graphics.FromImage(BaseImage).DrawImage(MyImage, MyLocation.X, MyLocation.Y, Size, Size);
|
||||
else
|
||||
{
|
||||
Image NewBMP = ColoredImage(MyImage);
|
||||
Graphics.FromImage(BaseImage).DrawImage(NewBMP, MyLocation.X, MyLocation.Y, Size, Size);
|
||||
}
|
||||
Image tImage = MyImage;
|
||||
if (MorphColor != Color.Empty || PowerOff == false)
|
||||
tImage = ColoredImage(MyImage);
|
||||
if (IsBurned)
|
||||
tImage = BurnedImage(tImage);
|
||||
Graphics.FromImage(BaseImage).DrawImage(tImage, MyLocation.X, MyLocation.Y, Size, Size);
|
||||
|
||||
if (DrawTitle != CaptionType.none)
|
||||
{
|
||||
int x = MyLocation.X + (Size / 2);
|
||||
|
Loading…
Reference in New Issue
Block a user