Code archives/Graphics/DrawLineTrapezoid()
This code has been declared by its author to be Public Domain code.
Download source code
| |||||
Can't rotate. | |||||
Function DrawLineTrapezoid(x,y,length,height) topleftx = length/4+x lowerlefty = y+height lowerrightx = x+length lowerrighty = y+height upperrightx = length/4*3+x DrawLine topleftx,y,x,lowerlefty DrawLine x,lowerlefty,lowerrightx,lowerrighty DrawLine lowerrightx,lowerrighty,upperrightx,y DrawLine upperrightx,y,topleftx,y EndFunction |
Comments
None.
Code Archives Forum