Spaces:
Sleeping
Sleeping
Update dxf__omar3_2.py
Browse files- dxf__omar3_2.py +2 -2
dxf__omar3_2.py
CHANGED
|
@@ -360,7 +360,7 @@ def get_hatched_areas(filename,FinalRatio):
|
|
| 360 |
|
| 361 |
from math import sin, cos, radians
|
| 362 |
|
| 363 |
-
def rotate_point(point, angle,pdfrotation
|
| 364 |
"""Rotates a point around center_point(origin by default)
|
| 365 |
Angle is in degrees.
|
| 366 |
Rotation is counter-clockwise
|
|
@@ -381,7 +381,7 @@ def rotate_point(point, angle,pdfrotation,,width,height, center_point=(0, 0)):
|
|
| 381 |
return new_point
|
| 382 |
|
| 383 |
|
| 384 |
-
def rotate_polygon(polygon, angle, pdfrotation
|
| 385 |
"""Rotates the given polygon which consists of corners represented as (x,y)
|
| 386 |
around center_point (origin by default)
|
| 387 |
Rotation is counter-clockwise
|
|
|
|
| 360 |
|
| 361 |
from math import sin, cos, radians
|
| 362 |
|
| 363 |
+
def rotate_point(point, angle,pdfrotation,width,height, center_point=(0, 0)):
|
| 364 |
"""Rotates a point around center_point(origin by default)
|
| 365 |
Angle is in degrees.
|
| 366 |
Rotation is counter-clockwise
|
|
|
|
| 381 |
return new_point
|
| 382 |
|
| 383 |
|
| 384 |
+
def rotate_polygon(polygon, angle, pdfrotation,width,height,center_point=(0, 0)):
|
| 385 |
"""Rotates the given polygon which consists of corners represented as (x,y)
|
| 386 |
around center_point (origin by default)
|
| 387 |
Rotation is counter-clockwise
|