Commit graph

6 commits

Author SHA1 Message Date
Kenichi Handa
b9217c57e7 (ftxfont_end_for_frame): Fix array indexing error. 2007-11-29 13:00:37 +00:00
Kenichi Handa
00c37e1883 (ftxfont_get_gcs): Renamed from ftxfont_create_gcs.
Argument changed.  Cache GCs in the per-frame data.
(struct ftxfont_frame_data): New struct.
(ftxfont_draw_bitmap): New arg gc_fore and flush.
(ftxfont_prepare_face, ftxfont_done_face): Delete them.
(ftxfont_draw): Get GCs by ftxfont_get_gcs.  Reflect s->clip in
GCs.
(ftxfont_end_for_frame): New function.
(syms_of_ftxfont): Set ftxfont_driver.end_for_frame.
2007-11-19 05:06:09 +00:00
Kenichi Handa
3a91626ca0 (ftxfont_match): New function.
(syms_of_ftxfont): Set ftxfont_driver.match to ftxfont_match.
2006-08-01 01:19:31 +00:00
Kenichi Handa
056360d007 (ftxfont_create_gcs): New function.
(ftxfont_draw_bitmap): Fix arg to ftfont_driver.get_bitmap.
(ftxfont_draw_backgrond): Fix filling region.
(ftxfont_default_fid): New function.
(ftxfont_open): Set xfotn->fid to the return value of
ftxfont_default_fid.
(ftxfont_prepare_face): Use ftxfont_create_gcs to create GCs.
(ftxfont_done_face): Free only GCs that are created by
ftxfont_create_gcs.
(ftxfont_draw): If face->gc != s->gc, create proper GCs.
2006-07-28 12:44:45 +00:00
Miles Bader
885b7d0991 Add arch tagline 2006-06-07 11:41:58 +00:00
Kenichi Handa
c2f5bfd68d New file. 2006-06-06 03:47:13 +00:00