изменения
This commit is contained in:
parent
1ed07cc9aa
commit
6aa79beb6b
@ -38,7 +38,7 @@ namespace HoistingCrane
|
|||||||
Bitmap bmp = new(_pictureWidth, _pictureWidth);
|
Bitmap bmp = new(_pictureWidth, _pictureWidth);
|
||||||
Graphics gr = Graphics.FromImage(bmp);
|
Graphics gr = Graphics.FromImage(bmp);
|
||||||
DrawBackground(gr);
|
DrawBackground(gr);
|
||||||
DrawBulldozers(gr);
|
DrawHoistingCranes(gr);
|
||||||
return bmp;
|
return bmp;
|
||||||
}
|
}
|
||||||
public Bitmap ShowOnMap()
|
public Bitmap ShowOnMap()
|
||||||
@ -95,7 +95,7 @@ namespace HoistingCrane
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawBulldozers(Graphics gr)
|
private void DrawHoistingCranes(Graphics gr)
|
||||||
{
|
{
|
||||||
int heightEl = _pictureHeight / _placeSizeHeight;
|
int heightEl = _pictureHeight / _placeSizeHeight;
|
||||||
int widthEl = _pictureWidth / _placeSizeWidth;
|
int widthEl = _pictureWidth / _placeSizeWidth;
|
||||||
|
Loading…
Reference in New Issue
Block a user