From: handa Date: Tue, 16 Mar 2004 23:20:48 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=db1cb84739cf54dfc53ddae62b8e39501d34903a;p=m17n%2Fm17n-lib.git *** empty log message *** --- diff --git a/src/m17n-X.c b/src/m17n-X.c index e9e5a75..b001c30 100644 --- a/src/m17n-X.c +++ b/src/m17n-X.c @@ -1729,16 +1729,16 @@ mwin__draw_bitmap (MFrame *frame, MDrawWindow win, MRealizedFace *rface, void mwin__draw_points (MFrame *frame, MDrawWindow win, MRealizedFace *rface, - int intensity, MDrawPoint *points, int num) + int intensity, MDrawPoint *points, int num, int pixmap) { GCInfo *info = rface->info; - GC gc = info->gc[intensity]; - if (!gc) - gc = info->gc[intensity] - = get_gc_for_anti_alias (frame->device, info, intensity); - - XDrawPoints (FRAME_DISPLAY (frame), (Window) win, gc, + if (! pixmap && intensity) + intensity = 7; + if (! info->gc[intensity]) + info->gc[intensity] = get_gc_for_anti_alias (frame->device, info, + intensity); + XDrawPoints (FRAME_DISPLAY (frame), (Window) win, info->gc[intensity], (XPoint *) points, num, CoordModeOrigin); }