Mercurial > emacs
view lisp/toolbar/info.xpm @ 32720:8530cd0a7455
(w32_per_char_metric): Remove HDC argument. Use
cached information in emulated XFontStruct to handle common cases
quickly. Do not allocate XCharStruct for return.
(w32_native_per_char_metric): New function.
(w32_bdf_per_char_metric): Fill in supplied XCharStruct instead of
allocating one.
(x_produce_glyphs): Don't get an HDC. Change calls to
w32_per_char_metric to match arg change above. Remove calls to
free results.
(w32_get_glyph_overhangs): Ditto.
(w32_cache_char_metrics): New function.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Sat, 21 Oct 2000 13:26:41 +0000 |
parents | 8f4a34146a9d |
children |
line wrap: on
line source
/* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ "24 24 6 1", " c Gray0", ". c #65658b8b5e5e", "X c #934ab2448dfb", "o c #b35dc8c8afaf", "O c #e0b2e944df83", "+ c None", /* pixels */ "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "+++++++++ ++++++++++", "++++++++ oOOOO +++++++++", "+++++++ OOOOOOO ++++++++", "++++++ oOo oOo +++++++", "+++++++ O +++ OO +++++++", "+++++++O ++++ Oo +++++++", "++++++++++++ OO. +++++++", "+++++++++++ OOX ++++++++", "++++++++++ OOX +++++++++", "+++++++++ XOX ++++++++++", "+++++++++ OX +++++++++++", "+++++++++ +++++++++++", "++++++++++++++++++++++++", "++++++++++ ++++++++++++", "+++++++++ Oo +++++++++++", "+++++++++ oX +++++++++++", "++++++++++ ++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++", "++++++++++++++++++++++++" };