Selecting a New Marker

The following figure shows how to check whether the default marker primitive from the default marker set is being used currently, and if so, how to replace the cross with the six-pointed star.

#define INCL_GPIPRIMITIVES
#include <os2.h>
void fncMARK02(void){
    HPS hps;

    if ((GpiQueryMarker(hps) == MARKSYM_DEFAULT) &&
        (GpiQueryMarkerSet(hps) == LCID_DEFAULT))
    GpiSetMarker(hps, MARKSYM_SIXPOINTSTAR);


[Back: Drawing Marker Primitives]
[Next: Selecting a New Marker Set]