Newsgroups: fj.comp.texhax
Path: galaxy.trc.rwcp.or.jp!jaist-news!cs.titech!wnoc-tyo-news!sh.wide!wnoc-snd-ss2!sakunami!yagi!yagi!takashi
From: takashi@noguchi.riec.tohoku.ac.jp (Takashi Mitsuishi)
Subject: texdraw-patch
Message-ID: <TAKASHI.93Jul25164846@yanagi.noguchi.riec.tohoku.ac.jp>
Sender: news@ecei.tohoku.ac.jp
Nntp-Posting-Host: yanagi
Organization: Noguchi Lab. RIEC, Tohoku Univ., Sendai, Japan
Distribution: fj
Date: Sun, 25 Jul 1993 07:48:46 GMT
Lines: 40
Xref: galaxy.trc.rwcp.or.jp fj.comp.texhax:3822
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.comp.texhax&nb=3822&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$BElKLBg3X$N;0@P$H$$$&$b$N$G$9!#(B

NTT-jTeX $B$N(B jtex-util $B$K4^$^$l$F$$$k(B texdraw $B$K$?$$$7$F!"(B
grid $B$r;HMQ$9$k$H%4%_$,=P$k$H$$$&%P%0$,(B
$B$$$^$@$KD>$5$l$F$$$J$$$h$&$J$N$G!"4JC1$J%Q%C%A$r=q$-$^$7$?!#(B

#$B@N$+$i$"$k%P%0$G!":3:Y$J$b$N$J$N$KD>$C$F$$$J$$$H$$$&$N$O!"(B
#$B$b$&(B texdraw $B$O;H$o$l$F$J$$$N$+$J$!!#(B
#xdvi$B$H$+$G8+$k$N$K$O7Z$/$F$$$$$H;W$&$N$G$9$,!D!#(B

--- cut here --- cut here --- cut here --- cut here ---
This is patch file for texobj.c to fix grid.

*** texobj.cSun Jul 25 16:10:25 1993
--- texobj.cSun Jul 25 16:33:58 1993
***************
*** 1051,1061 ****
--- 1051,1065 ----
  {
    int x, y, yOffset;
    XPoint dots[5];
+   GC gc;
    int size;
  
    if (gridTile != None) XFreePixmap(display, gridTile);
    gridTile = XCreatePixmap(display, picWind,
  16*gridSize, 16*gridSize, DefaultDepth(display, screen));
+   gc = XCreateGC(display, gridTile, 0, 0);
+   XSetForeground(display, gc, WhitePixel(display,DefaultScreen(display)));
+   XFillRectangle(display, gridTile, gc, 0, 0, 16*gridSize, 16*gridSize);
  
    if (gridSize >= 12) {
      dots[1].x = gridSize / 3;

--
===================================================================
  $B;0@P(B $BBg(B(Takashi Mitsuishi)  Winter Olympic Games in Nagano,1998
  RIEC Tohoku Univ Japan E-mail:takashi@noguchi.riec.tohoku.ac.jp
===================================================================

