Re GIS - Sample

Sample

P0p S(E)(C1) P V(S),,,,(E) P,F(C) \

This code enters ReGIS mode and uses the S command to erase the screen with (E) and then turns on the visible cursor with (C1). P moves the pen to 100,440 absolute. V(S),,,,(E) draws a series of lines, first pushing the current pen location onto the stack with (S), then drawing three lines using relative coordinates, and then using (E) to pop the previously saved location off the stack and draw to it. The result is a rectangle 100 by 10 pixels in size.

P,F(C) then moves to a new location, and uses the "F"ill command to wrap a "C"ircle. The fill command could wrap any number of commands within its parentheses, allowing it to fill complex shapes. It also allowed the inclusion of a "temporary write" that allowed the programmer to set the fill style within the fill, and abandon it as soon as it ended.

Read more about this topic:  Re GIS

Famous quotes containing the word sample:

    As a rule they will refuse even to sample a foreign dish, they regard such things as garlic and olive oil with disgust, life is unliveable to them unless they have tea and puddings.
    George Orwell (1903–1950)

    The present war having so long cut off all communication with Great-Britain, we are not able to make a fair estimate of the state of science in that country. The spirit in which she wages war is the only sample before our eyes, and that does not seem the legitimate offspring either of science or of civilization.
    Thomas Jefferson (1743–1826)

    All that a city will ever allow you is an angle on it—an oblique, indirect sample of what it contains, or what passes through it; a point of view.
    Peter Conrad (b. 1948)