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