Class | Xiron::Osd |
In: |
ext/audioport.c
|
Parent: | Object |
Creates an osd drawable to draw into. If only particular optional parameters should be given, use a hash (e.g. "w" => 640, "h" => 480). By default, the new osd starts at 0,0 and has the size of the video.
Draws a text with specified parameters. If font and fontsize given, it is saved for future call of Osd#text and Osd#text_size.
Returns the amount of space that would be used, if the text would be rendered with given parameters. If font and fontsize given, it is saved for future call of Osd#text and Osd#text_size.