Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

ncurrent-position

Arguments: graphical-stream position-to-return

Modifies position-to-return to contain the current position of the specified graphical-stream, and returns it. position-to-return must be a position object. See make-position.

The current position is the position from which several functions will draw a line or text. These functions include draw-to as well as the Common Lisp stream output functions such as format and print. These functions also set the current position to the place where they finished drawing. An application may also set the current position by calling move-to.

Other drawing functions accept arguments for all relevant positions, and so do not use or modify the current position.

When drawing text, the current position indicates the upper-left corner of the next character to be drawn. A stream output function leaves the current position at the upper-right corner of the last character drawn, ready to draw further characters just after it.


Copyright (c) 1998-2015, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.2. This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version