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();
|
Network myNet = NB.GetNetwork();
|
||||||
myNet.Invalidate(Location);
|
myNet.Invalidate(Location);
|
||||||
}
|
}
|
||||||
if (MorphColor == Color.Empty && PowerOff == false)
|
Image tImage = MyImage;
|
||||||
Graphics.FromImage(BaseImage).DrawImage(MyImage, MyLocation.X, MyLocation.Y, Size, Size);
|
if (MorphColor != Color.Empty || PowerOff == false)
|
||||||
else
|
tImage = ColoredImage(MyImage);
|
||||||
{
|
if (IsBurned)
|
||||||
Image NewBMP = ColoredImage(MyImage);
|
tImage = BurnedImage(tImage);
|
||||||
Graphics.FromImage(BaseImage).DrawImage(NewBMP, MyLocation.X, MyLocation.Y, Size, Size);
|
Graphics.FromImage(BaseImage).DrawImage(tImage, MyLocation.X, MyLocation.Y, Size, Size);
|
||||||
}
|
|
||||||
if (DrawTitle != CaptionType.none)
|
if (DrawTitle != CaptionType.none)
|
||||||
{
|
{
|
||||||
int x = MyLocation.X + (Size / 2);
|
int x = MyLocation.X + (Size / 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user