Skip to content


Data Type : Navigators
VIEWMAP_POLYGON_RECORD - Navigator polygon graphic CD record.

#include <vmods.h>

Definition :

typedef struct {
   VMODSbigobj DRobj;
   WORD        LineColor;
   WORD        FillFGColor;
   WORD        FillBGColor;
   WORD        LineStyle;
   WORD        LineWidth;
   WORD        FillStyle;
   WORD        nPts;
   DWORD       spare[4]; /* for future use */

Description :

Note: The signature for this record has changed in Release 4.5 of Domino from a byte signature to a word signature. The common fields structure has been changed from VMODSdrobj to VMODSbigobj.

    The VIEWMAP_POLYGON_RECORD stores a bitmap in a Navigator. This record is stored in items of type TYPE_VIEWMAP_LAYOUT, the graphical layout of the Navigator. The fields in this structure are:

    DRObj Common fields, including VIEWMAP_POLYGON_RECORD signature. See VMODSbigobj.
    LineColor Color of the boundary line. Use NOTES_COLOR_xxx value.
    FillFGColor Foreground fill color. Use NOTES_COLOR_xxx value.
    FillBGColor Background fill color. Use NOTES_COLOR_xxx value.
    LineStyle Style for the boundary line. Use VM_LINE_xxx value.
    LineWidth Width of the boundary line.
    FillStyle Style for polygon fill. Use VM_FILL_xxx value.
    nPts Number of points defining this polygon.
    spare Reserved; must be 0.

    This structure is followed by the name and the display label (if any) in packed format (no terminating NUL), then by an array of pairs of LONG values containing the coordinates for the polygon. The number of pairs of values in this array is specified by the nPts field.

See Also : VMODSbigobj