DESCRIPTION: This module tests that text primitives are rendered correctly and that a program can set up a text element in the CSS, which will create a primitive upon traversal. SEMANTIC REQUIREMENTS: *** *** *** *** *** <Text 3 element> *** *** *** *** ***#F 13
SR1. <Text 3> creates a text 3 element in the CSS.
#F 303
SR2. If current element is text 3 then <inquire current element type and size> returns the element type as text 3 and the appropriate element size.
#F 304
SR3. If current element is text 3 then <inquire current element content> returns the appropriate data for text 3.
*** *** *** *** *** <Text element> *** *** *** *** ***#F 14
SR4. <Text> creates a text element in the CSS.
#F 303
SR5. If current element is text then <inquire current element type and size> returns the element type as text and the appropriate element size.
#F 304
SR6. If current element is text then <inquire current element content> returns the appropriate data for text.
*** *** *** *** *** Character sets *** *** *** *** ***#F 205
SR7. <Inquire PHIGS facilities> reports the list of available character sets.
#F 205
SR8. The first entry in the list of available character sets is ASCII, which is identified as zero.
*** *** *** *** *** Display of text *** *** *** *** ***#F 9 10
SR9. The <text> and <text_3> primitives are rendered by displaying the specified character string in the position and orientation indicated by the text position and effective text direction vectors.
#F 10
SR10. The <text> primitive has zero as its implicit position in the z-dimension of MC space, and implicit text direction vectors of (1,0,0) and (0,1,0).
#F 9
SR11. The <text 3> primitive uses (1,0,0) and (0,1,0) as its text direction vectors if the explicit vectors fail to define a plane.
#C The explicit vectors are degenerate of either is zero, or if one is parallel to the other.LOCAL DICTIONARY:
Functions --- 009: ppl3 <polyline 3> 010: ppl <polyline> 013: ptx3 <text 3> 014: ptx <text> 205: pqphf <inquire phigs facilities> 303: pqcets <inquire current element type and size> 304: pqceco <inquire current element content> Data Structures --- 2 ... phigs_description_table 2.6 ... number_of_available_character_sets 2.7 ... list_of_available_character_sets 7 ... structure_state_list 7.3 ... list_of_structure_elements 7.3.1 ... graphical_primitives 7.3.1.5 ... text_3 7.3.1.6 ... text SEMANTIC CROSS-REFERENCES: 04.02.03.01/SR01 04.02.03.01/SR02
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.