EvinceDocument.RenderContext¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
page |
r |
||
parent |
r |
||
rotation |
r |
||
scale |
r |
||
target_height |
r |
||
target_width |
r |
Class Details¶
- class EvinceDocument.RenderContext(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(page, rotation, scale)¶
- Parameters:
page (
EvinceDocument.Page
) –rotation (
int
) –scale (
float
) –
- Return type:
- compute_scaled_size(width_points, height_points, scaled_width, scaled_height)¶
- compute_scales(width_points, height_points, scale_x, scale_y)¶
- compute_transformed_size(width_points, height_points, transformed_width, transformed_height)¶
- set_page(page)¶
- Parameters:
page (
EvinceDocument.Page
) –