Re: PostScript Device GET_DECOMPOSED Weirdness [message #74376 is a reply to message #74375] |
Wed, 12 January 2011 19:00  |
ben.bighair
Messages: 221 Registered: April 2007
|
Senior Member |
|
|
Hi,
On 1/12/11 9:45 PM, David Fanning wrote:
> Folks,
>
> OK, does this make *any* sense to anyone!?
>
> IDL> print, !version
> { x86 linux unix linux 7.1 Apr 21 2009 32 64}
> IDL> thisdevice = !d.name
> IDL> set_plot, 'ps'
> IDL> device, decomposed=1
> IDL> device, get_decomposed=state
> % Keyword GET_DECOMPOSED not allowed in call to: DEVICE
> % Execution halted at: $MAIN$
> IDL> set_plot, thisdevice
>
> How is this possible? Wasn't this keyword added to
> ALL versions of IDL in 7.1?
>
IDL> print, !version
{ x86_64 darwin unix Mac OS X 7.1 Apr 21 2009 64 64}
IDL> thisdevice = !d.name
IDL> set_plot, 'ps'
IDL> device, decomposed=1
IDL> device, get_decomposed=state
% Keyword GET_DECOMPOSED not allowed in call to: DEVICE
% Execution halted at: $MAIN$
IDL> set_plot, thisdevice
There seems to be a documentation bug in my help file -
IDL> ?device
In the list of keywords at the top of the help window I see...
GET_DECOMPOSED (WIN, X)
If I click on the link to get to the details of the keyword I see this...
GET_DECOMPOSED
(PS, WIN, X, Z)
Regardless of the documentation confusion, it seems like a bug to me.
The language in the description of the DECOMPOSED keyword makes is seem
unambiguous that PostScript should have a decompose-able state.
Bummer.
Ben
|
|
|