aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting/VectorRender
diff options
context:
space:
mode:
authorUbitUmarov2017-06-24 03:21:23 +0100
committerUbitUmarov2017-06-24 03:21:23 +0100
commitc3dbf91152692734e46850036aae451d87eb9bae (patch)
treec86795d15b16d151adaa5ab6b786734c8601089f /OpenSim/Region/CoreModules/Scripting/VectorRender
parent a few more changes to iar/oar assets save error/warning to show problems kno... (diff)
downloadopensim-SC-c3dbf91152692734e46850036aae451d87eb9bae.zip
opensim-SC-c3dbf91152692734e46850036aae451d87eb9bae.tar.gz
opensim-SC-c3dbf91152692734e46850036aae451d87eb9bae.tar.bz2
opensim-SC-c3dbf91152692734e46850036aae451d87eb9bae.tar.xz
osDrawFilledEllipse or string comand FillEllipse identical do Ellipse one
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/VectorRender')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
index f12286d..5d4d0f5 100644
--- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
@@ -625,6 +625,17 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
625 startPoint.X += endPoint.X; 625 startPoint.X += endPoint.X;
626 startPoint.Y += endPoint.Y; 626 startPoint.Y += endPoint.Y;
627 } 627 }
628 else if (nextLine.StartsWith("FillEllipse"))
629 {
630 float x = 0;
631 float y = 0;
632 GetParams(partsDelimiter, ref nextLine, 11, ref x, ref y);
633 endPoint.X = (int)x;
634 endPoint.Y = (int)y;
635 graph.FillEllipse(myBrush, startPoint.X, startPoint.Y, endPoint.X, endPoint.Y);
636 startPoint.X += endPoint.X;
637 startPoint.Y += endPoint.Y;
638 }
628 else if (nextLine.StartsWith("FontSize")) 639 else if (nextLine.StartsWith("FontSize"))
629 { 640 {
630 nextLine = nextLine.Remove(0, 8); 641 nextLine = nextLine.Remove(0, 8);