Functions | |
| void | Set_Face_Pattern (const char *pattern) |
| void | QSet_Face_Pattern (const char *segment, const char *pattern) |
| void | UnSet_Face_Pattern (void) |
| void | QUnSet_Face_Pattern (const char *segment) |
| void Set_Face_Pattern | ( | const char * | pattern | ) |
Allows a pattern to be applied to surfaces in the scene.
| pattern | - Special constant ("solid", "##", "||", "==", "//", "\\", "::", "<><>", "[] []"). |
Set applies the pattern to the currently open segment; QSet applies it to the named segment(s); UnSet removes any previous value from the currently open segment; and QUnSet removes the value from the named segment(s). On a Set or QSet, any previous value is discarded.
Face Pattern only applies to areas generated by "inserted" geometry. The generic scene background also has a fill pattern of its own---see Set_Window_Pattern() .
The choices are the same as for Set_Window_Pattern() . In summary:
--------------------------------------------------------------------------------------
"solid" The default case---faces are painted uniformly with whatever the current
Face Color is. (The face color may be set directly or by setting the "face
color"--- see Set_Color() .)
"##" A crosshatch pattern, filling the face. The lines will generally be painted
with the current Face Contrast Color; the spaces will get the current Face
Color.
"||" Like the crosshatch pattern, but vertical bars instead.
"==" Horizontal bars.
"//" Slant-right.
"\\" Slant-left.
"::" Dotted (square grid).
"<><>" Diamonds.
"[] []" Checkerboard.
--------------------------------------------------------------------------------------
The following might depend on the display device:
The precise spatial frequency of the pattern as it finally appears on the screen (for example, you can't depend on any particular interval with a Crosshatched pattern),
whether the pattern squeezes, stretches, and rotates itself appropriately as the view being represented changes, and
whether a requested Edge Pattern cleanly and completely takes precedence over the Face Pattern in the small area in which they overlap.
Faces may be turned off entirely with Set_Visibility() .
| void QSet_Face_Pattern | ( | const char * | segment, | |
| const char * | pattern | |||
| ) |
Similar to Set_Face_Pattern(), but operates on a given segment rather than the currently open one.
| segment | - Name of the segment(s) to be changed. | |
| pattern | - Special constant ("solid", "##", "||", "==", "//", "\\", "::", "<><>", "[] []"). |
| void UnSet_Face_Pattern | ( | void | ) |
Removes all settings established by a previous call to Set_Face_Pattern().
| void QUnSet_Face_Pattern | ( | const char * | segment | ) |
Removes all settings established by a previous call Set_Face_Pattern(), but operates on a given segment rather than the currently open one.
| segment | - Name of the segment(s) to be changed. |