mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far.
* Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
This commit is contained in:
@@ -267,6 +267,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_OSSL_Functions.osDrawFilledRectangle(drawList, width, height);
|
||||
}
|
||||
|
||||
public string osDrawFilledPolygon(string drawList, LSL_List x, LSL_List y)
|
||||
{
|
||||
return m_OSSL_Functions.osDrawFilledPolygon(drawList, x, y);
|
||||
}
|
||||
|
||||
public string osSetFontSize(string drawList, int fontSize)
|
||||
{
|
||||
return m_OSSL_Functions.osSetFontSize(drawList, fontSize);
|
||||
|
||||
Reference in New Issue
Block a user