Drawing Robot

San Diego

The Letter Functions

Click on the above graphic to view a PDF version of the letter functions.

The Letter Functions

These function are called by the “Roman Script”.  Each function develops an array of x and y coordinates used to draw a letter on the whiteboard.

Each of the above letter functions calls either one or both of the following functions:

 

straightline( x1, y1, x2, y2, ptsPerMeter )

curvedline( x1, y1, x2, y2, h, ptsPerRadian )

 

The letter functions call the straightline function for each straight line segment of a letter and they call the curvedline function for each curved segment of a letter.

 

Each of these function develops an array of x and y coordinates used to draw a segment of a letter.