DESCRIPTION: This module tests the table entries and other workstation facilities for pattern. These values control the appearance of patterns when specified by fill area or fill area set (which may be under either bundled or individual control). The visual tests for pattern index (a.k.a. interior style index) are found in 04.02.05.01 and 04.02.05.02 (individual attributes, interior bundles, respectively). The visual tests for the geometric attributes are in 04.02.05.01. SEMANTIC REQUIREMENTS:#F 68
SR1. <Set pattern representation> causes an entry to be defined.
#F 68
SR2. <Set pattern representation> sets the pattern colour index array of an entry in the pattern table.
#F 232
SR3. <Inquire list of pattern indices> returns list of defined pattern indices.
#F 232 233
SR4. <Inquire pattern representation> works for all defined entries.
#F 233
SR5. <Inquire pattern representation> returns the pattern colour index array of an entry in the pattern table as set, when type of returned values specified as SET.
#F 233
SR6. <Inquire pattern representation> returns the pattern colour index array of an entry in the pattern table as realized, when type of returned values specified as REALIZED.
#F 232 233
SR7. <Inquire pattern representation> returns representation for pattern index number 1, if type of returned values is REALIZED, and pattern index is undefined.
*** *** *** *** Maximum Size of pattern table *** *** *** ***#F 285
SR8. <Inquire workstation state table lengths> returns the maximum size of pattern table.
#F 285
SR9. If PATTERN interior style is not supported, the size of the pattern table returned by <inquire workstation state table lengths> is 0.
#F 68 285
SR10. There must be at least 10 settable entries available in the pattern table.
*** *** *** *** Predefined table facilities *** *** *** ***#F 274
SR11. <Inquire pattern facilities> returns the number of predefined pattern indices.
#F 275
SR12. <Inquire predefined pattern representation> returns the pattern color index array for a predefined pattern index.
#F 274 275
SR13. If PATTERN interior style is supported on a workstation, then it must have at least 1 predefined pattern.
#F 274
SR14. If PATTERN interior style is not supported, the number of predefined patterns is 0.
#F 275
SR15. The n predefined patterns in the Workstation Description Table (WDT) are indexed as 1-n.
#F 232 233 275 3
SR16. Immediately after <open workstation>, for each WDT predefined pattern there exists a Workstation State List (WSL) pattern table entry with the same attributes, including the same pattern index.
#F 232 233 275 3
SR17. Immediately after <open workstation>, the pattern table contains nothing but the entries initialized from the WDT predefined pattern table.
*** *** *** *** Validity of predefined pattern indices *** *** *** ***#F 275 277
SR18. Each predefined pattern has a color index array with color indices within range of the predefined color indices.
*** *** *** *** Pattern color index array *** *** *** ***#F 68
SR19. Any non-negative pattern color index may be specified in a pattern color index array when invoking <set pattern representation>.
#F 68 233
SR20. A defined pattern color index is realized as itself.
#F 68 233
SR21. An undefined pattern color index is realized as color index 1.
LOCAL DICTIONARY:
Functions --- 003: popwk <open workstation> 068: pspar <set pattern representation> 232: pqepai <inquire list of pattern indices> 233: pqpar <inquire pattern representation> 274: pqpaf <inquire pattern facilities> 275: pqppar <inquire predefined pattern representation> 277: pqcf <inquire colour facilities> 285: pqwksl <inquire workstation state table lengths> Data Structures --- 5 ... workstation_state_list 5.14 ... pattern_entry 5.14.1 ... number_of_pattern_table_entries 5.14.2 ... pattern_table 5.14.2.1 ... pattern_index 5.14.2.2 ... pattern_colour_index_array 5.15 ... colour_entry 5.15.3 ... colour_table 6 ... workstation_description_table 6.14 ... interior_entry 6.14.1 ... interior_facilities 6.14.1.2 ... list_of_available_interior_styles 6.16 ... pattern_entry 6.16.1 ... pattern_facilities 6.16.1.1 ... number_of_predefined_pattern_indices 6.16.2 ... predefined_pattern_table 6.16.2.1 ... pattern_colour_index_array 6.17 ... colour_entry 6.17.2 ... colour_facilities 6.17.2.4 ... number_of_predefined_colour_indices 6.21 ... maximum_table_lengths 6.21.6 ... maximum_number_of_pattern_indices SEMANTIC CROSS-REFERENCES: 04.02.05.01/SR15 04.02.05.01/SR20 04.02.05.01/SR21 04.02.05.01/SR75 04.02.05.01/SR76 04.02.05.01/SR77 04.02.05.01/SR78 04.02.05.02/SR34 04.02.05.02/SR41
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.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.