Each instance holds the current graphics state. It can be saved (pushed) and restored (popped) by the owning parent
__init__ | Creates an instance with default values |
Get_angle | Return rotation angle in degrees |
Get_x | Return x co-ordinate using graphic states and transforms |
Get_y | Return y co-ordinate using graphic states and transforms |
Rotate | Compute the (text only) rotation angle |
Scale | scale the current co-ordinates |
Skew | |
Translate | move the origin from the current point to (dx,dy) |
Ytop | Return y co-ordinate wrt top of current page |
Each instance holds the current graphics state. It can be saved (pushed) and restored (popped) by the owning parent
Creates an instance with default values
Return rotation angle in degrees
Return x co-ordinate using graphic states and transforms Input x,y are current co-ords
Return y co-ordinate using graphic states and transforms Input x,y are current co-ords
Compute the (text only) rotation angle sinA is inverted to cancel the original inversion in pdfviewer.drawfile that was introduced because of the difference in y direction between pdf and GraphicsContext co-ordinates
scale the current co-ordinates
move the origin from the current point to (dx,dy)
Return y co-ordinate wrt top of current page