DESCRIPTION: This module tests the ability to set and inquire the entries in the workstation state list (WSL) pertaining to colour. SEMANTIC REQUIREMENTS: *** *** *** set/inquire colour representation *** *** ***#F 69
SR1. <Set colour representation> causes an entry in the colour table of the specified workstation to be defined.
#F 69
SR2. <Set colour representation> associates an entry in the colour table with the colour described by the specified colour coordinates interpreted according to the current colour model of the specified workstation.
#F 235
SR3. <Inquire list of colour indices> returns the list of defined colour indices in the colour table.
#F 235 236
SR4. <Inquire colour representation> can access all defined entries in the colour table.
#F 72 236
SR5. <Inquire colour representation> returns the colour associated with an entry in the colour table as closely as possible to the colour as originally set, when type of returned values is specified as SET. The returned colour is described by a set of colour coordinates, to be interpreted according to the current colour model of the specified workstation.
#F 235 236
SR6. <Inquire colour representation> returns the representation for colour index number 1, if type of returned values is REALIZED, and colour index is undefined.
#F 285
SR7. <Inquire workstation state table lengths> returns the maximum size of colour table.
#F 69 285
SR8. There must be at least two settable entries available in the colour table.
*** *** *** *** set/inquire colour model *** *** *** ***#F 72
SR9. <Set colour model> sets the current colour model of the specified workstation.
#F 234
SR10. <Inquire colour model> returns the current colour model of the specified workstation.
LOCAL DICTIONARY:
Functions --- 069: pscr <set colour representation> 072: pscmd <set colour model> 234: pqcmd <inquire colour model> 235: pqeci <inquire list of colour indices> 236: pqcr <inquire colour representation> 285: pqwksl <inquire workstation state table lengths> Data Structures --- 5 ... workstation_state_list 5.15 ... colour_entry 5.15.1 ... current_colour_model 5.15.2 ... number_of_colour_table_entries 5.15.3 ... colour_table 5.15.3.1 ... colour_index 5.15.3.2 ... colour_specification 6 ... workstation_description_table 6.21 ... maximum_table_lengths 6.21.7 ... maximum_number_of_colour_indices
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.