diff options
author | Sean Dague | 2009-02-18 12:56:36 +0000 |
---|---|---|
committer | Sean Dague | 2009-02-18 12:56:36 +0000 |
commit | 383f8b3ac601baef7b2cb322f53fb36b69367286 (patch) | |
tree | f90b2535f102be4f3ba50a41bb2668dc2cb956f2 /OpenSim/Data/Tests/DataTestUtil.cs | |
parent | remove legacy pre-migration code for mysql grid adapter, who knew this (diff) | |
download | opensim-SC_OLD-383f8b3ac601baef7b2cb322f53fb36b69367286.zip opensim-SC_OLD-383f8b3ac601baef7b2cb322f53fb36b69367286.tar.gz opensim-SC_OLD-383f8b3ac601baef7b2cb322f53fb36b69367286.tar.bz2 opensim-SC_OLD-383f8b3ac601baef7b2cb322f53fb36b69367286.tar.xz |
From: Christopher Yeoh <yeohc@au1.ibm.com>
The attached patch implements osGetDrawStringSize that looks like:
vector osGetDrawStringSize(string contentType, string text, string
fontName, int fontSize)
in LSL. It is meant to be used in conjunction with the osDraw*
functions. It returns accurate information on the size that a given
string will be rendered given the specified font and font size.
This allows for nicely formatted and positioned text on the generated
image.
Diffstat (limited to 'OpenSim/Data/Tests/DataTestUtil.cs')
0 files changed, 0 insertions, 0 deletions