FANDOM


Syntax

.TURTLEPOINT [xvalue yvalue]

Explanation

.TURTLEPOINT allows use of the Windows graphics engine to draw in the Graphics window. Its input is a list of two integers describing a dot inside the Graphics window in pixel coordinates, where [0 0] is the upper left corner of the Graphics window. The output of .TURTLEPOINT is a list of two integers describing the same point in turtle coordinates with respect to the current window extent and coordinate system origin.

See also .WINDOWPOINT, .GETDC and .FREEDC.

Examples

? .TURTLEPOINT [0 0] ; upper left corner

Result: [-200 100]

? .WINDOWPOINT [-200 100]

Result: [0 0]

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.