|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T e
Length: 592 (0x250)
Types: TextFile
Names: »eType.c«
└─⟦8648bda34⟧ Bits:30007244 EUUGD5_II: X11R5
└─⟦b23e377d7⟧ »./contrib-2/contrib-2.00«
└─⟦0ed22c3ba⟧
└─⟦this⟧ »contrib/lib/Xpex/clients/Xpex/pexscope/eType.c«
/* $Header: eType.c,v 2.2 91/09/11 15:52:10 sinyaw Exp $ */
#include <stdio.h>
#include <X11/X.h>
#include "PEX.h"
#include "PEXprotost.h"
#include "PEXproto.h"
void
pexpr_edge_type( str, type)
char *str;
pexEnumTypeIndex type;
{
#define VALID_EDGE_TYPE(_M) \
(_M >= PEXSurfaceEdgeSolid && _M <= PEXSurfaceEdgeDashDot)
static char *edge_type[5] = {
NULL,
"Solid",
"Dashed",
"Dotted",
"DashDot"
};
if( VALID_EDGE_TYPE(type)) {
(void) fprintf( stderr, "%s: %s\n", str, edge_type[type]);
} else {
(void) fprintf( stderr, "%s: Invalid\n", str);
}
#undef VALID_EDGE_TYPE
}