Module #04.01.03 : Text

All PVT documentation can be found under PHIGS Validation Tests - Overview. You may also return to the hierarchical table of topics covered by the PVT. For an explanation of the format of the individual module documentation, please see section 2.5 of the User's Guide.


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>   *** *** *** *** ***


SR1. <Text 3> creates a text 3 element in the CSS.
#F 13
#D 7.3.1.5
#S 4.4.1/22/3 4.5.1/34/1
#T P01/1 P01/2

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 303
#D 7.3.1.5
#S 4.4.4/29/5
#T P01/1

SR3. If current element is text 3 then <inquire current element content> returns the appropriate data for text 3.
#F 304
#D 7.3.1.5
#S 4.4.4/29/5
#T P01/2
*** *** *** *** ***   <Text element>   *** *** *** *** ***


SR4. <Text> creates a text element in the CSS.
#F 14
#D 7.3.1.6
#S 4.4.1/22/3 4.5.1/34/1
#T P01/3 P01/4

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 303
#D 7.3.1.6
#S 4.4.4/29/5
#T P01/3

SR6. If current element is text then <inquire current element content> returns the appropriate data for text.
#F 304
#D 7.3.1.6
#S 4.4.4/29/5
#T P01/4
*** *** *** *** ***   Character sets   *** *** *** *** ***


SR7. <Inquire PHIGS facilities> reports the list of available character sets.
#F 205
#D 2.6 2.7
#S
#T P01/5 P01/6
#X 01


SR8. The first entry in the list of available character sets is ASCII, which is identified as zero.
#F 205
#D 2.6 2.7
#S 4.5.1/35/2 4.5.5/47/4 6.3/309/1
#T P01/6
*** *** *** *** ***   Display of text   *** *** *** *** ***


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 9 10
#D 7.3.1.5 7.3.1.6
#S 4.5.1/34/1
#T P02/1 P02/2 P02/3
#X 04.02.03.01


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 10
#D 7.3.1.6
#S 4.5.1/34/1
#T P02/2 P02/3
#X 04.02.03.01


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.
#F 9
#D 7.3.1.5
#S 4.5.1/34/1
#T P02/2
#X 04.02.03.01
#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




PROGRAM 1: Text element

You may inspect either the design or code for this program.


PROGRAM 2: Appearance of text primitives

You may inspect either the design or code for this program.

End of documentation for 04.01.03