Mercurial > emacs
view etc/gnu.xpm @ 27406:fb36ccd8457c
(w32_fill_rect): Do not try to deal with NULL hdc
here. Callers changed to always pass real device context.
(w32_draw_bitmap): Likewise.
(w32_get_glyph_overhangs): Likewise.
(w32_draw_box_rect): Make use of s->hdc rather than getting a new one.
(w32_set_vertical_scroll_bar): Pass correct HWND parameters to
pfnSetScrollInfo and SetScrollRange.
(x_get_char_face_and_encoding): Don't turn iso8859-1 characters
back into MULE characters after decoding them.
(x_get_glyph_face_and_encoding): Likewise.
(w32_per_char_metric): Use GetCharExtentPoint32W as fallback when
GetCharABCWidthsW fails, since this is defined on Windows 9x.
(x_produce_glyphs): Calculate per char metrics for a character
that we know exists in default font when font_not_found_p is true.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sun, 23 Jan 2000 22:15:12 +0000 |
parents | e96ffe544684 |
children | 23a1cea22d13 |
line wrap: on
line source
/* XPM */ /*****************************************************************************/ /* GNU Emacs bitmap conv. to pixmap by Przemek Klosowski (przemek@nist.gov) */ /*****************************************************************************/ static char * image_name [] = { /**/ "50 50 7 1", /**/ " s mask c none", "B c blue", "x c black", ": c sandy brown", "+ c saddle brown", "' c grey", ". c white", " ", " ", " x ", " :x ", " :::x ", " ::x ", " x ::x ", " x: xxx :::x ", " x: xxx xxx:xxx x::x ", " x:: xxxx::xxx:::::xx x::x ", " x:: x:::::::xx::::::xx x::x ", " x:: xx::::::::x:::::::xx xx::x ", " x:: xx::::::::::::::::::x xx::xx ", " x::x xx:::::xxx:::::::xxx:xxx xx:::xx ", " x:::x xx:::::xx...xxxxxxxxxxxxxxx:::xx ", " x:::x xx::::::xx..xxx...xxxx...xxxxxxxx ", " x:::x x::::::xx.xxx.......x.x.......xxxx ", " x:::xx x:::x::xx.xx..........x.xx.........x ", " x::::xx::xx:::x.xx....''''x'x'x''.xxx.....x ", " xx::::xxxx::xx.xx.xxxx.'''''''.xxx xxxx ", " xx::::::::xx..x.xxx..'''''''''.xx ", " xxx:::::xxx..xx.xx.xx.xxx.'''''.xx ", " xxx::xx...xx.xx.BBBB..xx''''''xx ", " xxxx.....xx.xxBB:BB.xx'''''''xx ", " xx.....xx...x.BBBx.xxx''''''xx ", " x....xxxx..xx...xxx''''''''''xx ", " x..xxxxxx..x.......x..''''''''xx ", " x.x xxx.x.x.x...xxxx.'''''''''xx ", " x xxx.x.x.xx...xx..'''''''''xx ", " xx.x..x.x.xx........''''''''x ", " xx'.xx.x.x.x.x.......'''''''''x ", " xx'..xxxx..x...x.......'''''''x ", " xx''.xx.x..xx...x.......'''.xxx ", " xx''..x.x.x.x.x.xx.xxxxx.'.xx+xx ", " xx''..x.xx..xx.x.x.x+++xxxxx+++x ", " xx'''.x..xxx.x.x.x.x+++++xxx+xxx ", " xx''.xx..x..xx.xxxx++x+++x++xxx ", " xx''..xx.xxx.xxx.xxx++xx+x++xx ", " xx'''.xx.xx..xx.xxxx++x+++xxx ", " xx'''.xxx.xx.xxxxxxxxx++++xxx ", " xx''...xx.xx.xxxxxx++xxxxxxx ", " xx''''..x..xxx..xxxx+++++xx ", " xx''''..x..xx..xxxx++++xx ", " xxx'''''x.xx.xxxxxxxxxxx ", " xxx'''''..xxx xxxxx ", " xxxx''''xxxx ", " xxx'''xxx ", " xxxxx ", " ", " " };