v_sim.Writer¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class v_sim.Writer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Structure defining
v_sim.Writerobjects.New in version 3.9.
- classmethod getStatic()¶
- Returns:
the
v_sim.Writersingleton.- Return type:
Retrieve the
v_sim.Writersingleton.New in version 3.9.
- layout(text)¶
- Parameters:
text (
str) – a text- Returns:
a newly allocated buffer for the rasterisation of text.
- width:
a location to store the width
- height:
a location to store the height
- Return type:
Compute the layout of text and returns it in ARGB32 format.
New in version 3.9.
- setSize(size)¶
- Parameters:
size (
v_sim.WriterFontSize) – a font size
Change the rendering font size for self.
New in version 3.9.