PB XWindow XFillPolygon - C - Programmation
Marsh Posté le 22-01-2004 à 20:05:22
salut les gens, je voudrais changer les parametres de mon polygone, je change mon GC comme ceci mais rien n'y fais :-/! je voudrais qu'il me mette des contours... screen_colormap = DefaultColormap(dpy, DefaultScreen(dpy)); XAllocNamedColor(dpy, screen_colormap, "yellow", &yellow, &yellow); xgcv.foreground = yellow.pixel; xgcv.fill_style = FillStippled; xgcv.fill_rule = WindingRule; xgcv.join_style = JoinRound; gc1 = XCreateGC(dpy, win, GCForeground, &xgcv); merci de votre aide
Make sure you enter the(*)required information where indicate.HTML code is not allowed
Marsh Posté le 22-01-2004 à 20:05:22
salut les gens,
je voudrais changer les parametres de mon polygone, je change mon GC comme ceci mais rien n'y fais :-/!
je voudrais qu'il me mette des contours...
screen_colormap = DefaultColormap(dpy, DefaultScreen(dpy));
XAllocNamedColor(dpy, screen_colormap, "yellow", &yellow, &yellow);
xgcv.foreground = yellow.pixel;
xgcv.fill_style = FillStippled;
xgcv.fill_rule = WindingRule;
xgcv.join_style = JoinRound;
gc1 = XCreateGC(dpy, win, GCForeground, &xgcv);
merci de votre aide