osGetDrawStringSize
OSSLvector osGetDrawStringSize(string contentType, string text, string fontName, integer fontSize)
Returns a vector containing the horizontal and vertical dimensions in pixels of the specified text
Parameters
| Type | Name |
|---|---|
| string | contentType |
| string | text |
| string | fontName |
| integer | fontSize |
Energy
10
OpenSimulator extensions. Some are gated by threat level and a region may refuse them.
More in OSSL
void osSetInertiaAsCylinder(float mass, float radius, float length, vector centerOfMass, rotation lslrot)
void osSetInertiaAsBox(float mass, vector boxSize, vector centerOfMass, rotation rot)
string osDrawFilledPolygon(string drawList, list x, list y)
void osLinkParticleSystem(integer linknumber, list rules)
rotation osNpcGetRot(key npc)
void osVolumeDetect(integer detect)
void osRemoveLinkInventory(integer linkNumber, string name)
void osForceOtherSit(string avatar, string target)