Provides a device-independent way to get the color decomposition state of the current graphics device.
Graphics, Utilities
Returns a 1 if color decomposition is turned on and a 0 if indexed color is used.
device: in, optional, type=string The IDL graphics device whose color decomposition state you wish to know the current value of. If undefined, the current graphics device is used.
Depth: out, optional, type=integer The depth of the color display. Typically 8 for indexed color devices and 24 for true-color devices.
IDL> currentState = cgGetColorState()
FANNING SOFTWARE CONSULTING:: David W. Fanning 1645 Sheely Drive Fort Collins, CO 80526 USA Phone: 970-221-0438 E-mail: david@idlcoyote.com Coyote's Guide to IDL Programming: http://www.idlcoyote.com
Change History:: Written, 5 Nov 2013, as a combination of DecomposedColor and GetDecomposedState, which have both been retired from the Coyote Library.
Copyright (c) 2010-2013, Fanning Software Consulting, Inc.