Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version