*** empty log message ***
authorhanda <handa>
Tue, 16 Mar 2004 23:20:48 +0000 (23:20 +0000)
committerhanda <handa>
Tue, 16 Mar 2004 23:20:48 +0000 (23:20 +0000)
src/m17n-X.c

index e9e5a75..b001c30 100644 (file)
@@ -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);
 }