Software:Registered Server
Version Number:
________________________________________________________________________
Location
________________________________________________________________________
Description:
Assuming the parameters X & Y is the "start coordinates" and the W & H is the "end coordinates",
OSDAddAt( RECT, 0, 0, 10, 10, "", "FF0000" )
should create a red rectangle, but isn't showing on my screen..
Same goes for BOX and LINE, not showing anything.
________________________________________________________________________
Steps to Replicate:
^
OSD Graphics types not working
- morbydvisns
- Posts: 1889
- Joined: Sun Jan 30, 2005 12:51 am
mm.. thats interesting that that works
i was just about to answer and say (unlike HTML/web colours) you needed to include an alpha value too.. its AARRGGBB
e.g 80FF0000
gives you a 50% semi-transparent red. (FF0000 - is red with 0% alpha). I guess the # gets picked up as something..
I guess theres no valid cases where you'll want to be rendering graphics with 100% transparency so i'll change it so FF0000 becomes FFFF0000 by default, rather than 00FF0000.
i was just about to answer and say (unlike HTML/web colours) you needed to include an alpha value too.. its AARRGGBB
e.g 80FF0000
gives you a 50% semi-transparent red. (FF0000 - is red with 0% alpha). I guess the # gets picked up as something..
I guess theres no valid cases where you'll want to be rendering graphics with 100% transparency so i'll change it so FF0000 becomes FFFF0000 by default, rather than 00FF0000.