[gradsusr] String Element

Jeff Duda jeffduda319 at gmail.com
Tue Jul 18 11:38:54 EDT 2017


Draw a filled rectangle of approximately the size you expect the string to
span on the page (you will have to do some guessing, but you can get an
estimate based on what you set for strsiz).

Make sure to draw the filled rectangle first, otherwise it will cover over
the text.

Jeff

On Tue, Jul 18, 2017 at 8:53 AM, CW Weather <weatherstu at chorleyweather.com>
wrote:

> Hi All,
>
> I was just wondering if it is possible to create a background for a string
> element, for example I have used the full screen for my data but still want
> to show the valid time and date for the data. Is it possible to create a
> white background for a string? Image attached show the string in the top
> left.....
> --
>
> Kind regards,
>
> *Stuart Markham*
>
> *Founder of CW Weather*
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Post-doctoral research fellow
University of Oklahoma School of Meteorology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170718/66736b64/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9e849405.png
Type: image/png
Size: 22440 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20170718/66736b64/attachment-0001.png 


More information about the gradsusr mailing list