HC_Set_Face_Pattern

void HC_Set_Face_Pattern(char const *pattern)
void HC_Set_Face_Pattern(char const pattern)

Allows a pattern to be applied to surfaces in the scene.

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.

Some patterns can be implemented in hardware on software. Software implementations might be slower to display.

Faces may be turned off entirely with Set_Visibility() .

HC_Set_Color, HC_Set_Edge_Pattern, HC_Set_Line_Pattern, HC_Set_Window_Pattern, HC_Set_Rendering_Options, HC_Insert_Polygon, HC_Insert_Circle, HC_Insert_Ellipse, HC_Insert_Shell, HC_Insert_Mesh, HC_Set_Visibility.

Parameters

pattern: Special constant (“solid”, “##”, “||”, “==”, “//”, “\\”, “::”, “<><>”, “[] []”) par DETAILS Declares, changes, or removes a value for the face pattern attribute. This attribute allows a pattern to be applied to the interior of a polygon (or of a circle or ellipse, or of the faces of a shell or mesh) when they are depicted on the screen. You might want to do this in order to differentiate one group of polygons from another, for example. <b>Set</b> applies the pattern to the currently open segment, <b>QSet</b> applies it to the named segment(s), <b>UnSet </b>removes any previous value from the currently open segment, and <b>QUnSet </b>removes the value from the named segment(s). On a <b>Set </b>or <b>QSet</b>, 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: <hr> “solid” The default case&mdash;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. @subsection autotoc_md5 “[] []” Checkerboard.