Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python fu: Vector stroke scaling
#1
How to scale a stroke and keep position at center.
red -- original stroke
blue -- after scaling using
Code:
stroke.scale(0.5, 0.5)


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Python fu: Vector stroke scaling - by awan - 08-24-2018, 04:04 PM
RE: Python fu: Vector stroke scaling - by Ofnuts - 08-24-2018, 04:57 PM
RE: Python fu: Vector stroke scaling - by awan - 08-24-2018, 06:01 PM
RE: Python fu: Vector stroke scaling - by Ofnuts - 08-24-2018, 07:18 PM
RE: Python fu: Vector stroke scaling - by awan - 08-25-2018, 04:38 AM
RE: Python fu: Vector stroke scaling - by Ofnuts - 08-25-2018, 08:16 AM

Forum Jump: