change region position position

master
Christopher Latza 2020-05-16 17:37:18 +02:00
parent b86fbd58e0
commit ad0aa59f53
1 changed files with 2 additions and 2 deletions

View File

@ -263,13 +263,13 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
private void writePositionOnMap(ref Bitmap _map) private void writePositionOnMap(ref Bitmap _map)
{ {
RectangleF rectf = new RectangleF(m_scene.RegionInfo.RegionSizeY - 75, m_scene.RegionInfo.RegionSizeX - 15, 80, 25); RectangleF rectf = new RectangleF(m_scene.RegionInfo.RegionSizeY - 85, m_scene.RegionInfo.RegionSizeX - 15, 80, 25);
Graphics g = Graphics.FromImage(_map); Graphics g = Graphics.FromImage(_map);
g.SmoothingMode = SmoothingMode.AntiAlias; g.SmoothingMode = SmoothingMode.AntiAlias;
g.InterpolationMode = InterpolationMode.HighQualityBicubic; g.InterpolationMode = InterpolationMode.HighQualityBicubic;
g.PixelOffsetMode = PixelOffsetMode.HighQuality; g.PixelOffsetMode = PixelOffsetMode.HighQuality;
g.DrawString("<" + m_scene.RegionInfo.RegionLocX + " " + m_scene.RegionInfo.RegionLocY + ">", new Font("Arial", 8), Brushes.White, rectf); g.DrawString(m_scene.RegionInfo.RegionLocX + ", " + m_scene.RegionInfo.RegionLocY, new Font("Arial", 8), Brushes.White, rectf);
g.Flush(); g.Flush();
} }