Zoom and Scale - shairontoledo/rghost GitHub Wiki
Use scale(x,y) to do zoom in or zoom out disproportionally , see
doc.scale(1,1) #default document scale
To amply twice the axis Y
doc.scale(1,2)
To amply 3x proportionally
doc.scale(3,3)
Reducing 50% proportionally
doc.scale(0.5,0.5)
Scales proportionally by value in percent. Example
doc.zoom(300) # 300% the same as scale(3,3)