VariablePackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

po-and

A paint operation that "erases" color from the destination stream, except for the color in the new content being drawn. More precisely, each bit in the resulting color value of a pixel on the destination stream will be set to one if the corresponding bit was already one on the destination stream and is one in the new content being drawn. See paint-operation.

For example, if you set the foreground-color of a stream to be red and set its paint-operation to be po-and, and then you draw a line on the stream, then the colors that will be produced where the line is drawn will consist only of whatever redness was already there on the destination stream.

If the stream has a palette, then the bit-combining is done on palette indices rather than on true-color values. This tends to result in palette indices of unrelated colors that are not predictable from the colors being combined.


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

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