ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/yodl/rxvtRef-xpm.yo
Revision: 1.2
Committed: Mon Nov 24 17:31:27 2003 UTC (20 years, 7 months ago) by pcg
Branch: MAIN
CVS Tags: rel-1_9, rel-3_5, rel-3_4, rel-3_3, rel-3_2, rel-2_8, rel-3_0, rel-2_7, rel-2_4, rel-2_5, rel-2_2, rel-2_3, rel-2_0, rxvt-2-0, rel-1-9, stable, rel-2_1_0, rel-1-3, rel-1-2
Changes since 1.1: +0 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 COMMENT(-- $Id: rxvtRef-xpm.yo,v 1.1 2003/11/18 14:22:16 root Exp $ --)
2 label(XPM)
3 nsect(XPM)
4
5 For the XPM XTerm escape sequence bf(tt(ESC ] 20 ; Pt ST)) then value of
6 bf(tt(Pt)) can be the name of the background pixmap followed by a sequence of
7 scaling/positioning commands separated by semi-colons. The scaling/positioning
8 commands are as follows:
9
10 startdl()
11 dl(query scale/position)
12 (bf(?))
13 P()\
14 dl(change scale and position)
15 (bf(WxH+X+Y)nl()\
16 bf(WxH+X) (== bf(WxH+X+X))nl()\
17 bf(WxH) (same as bf(WxH+50+50))nl()\
18 bf(W+X+Y) (same as bf(WxW+X+Y))nl()\
19 bf(W+X) (same as bf(WxW+X+X))nl()\
20 bf(W) (same as bf(WxW+50+50)))
21 P()\
22 dl(change position (absolute))
23 (bf(=+X+Y)nl()\
24 bf(=+X) (same as bf(=+X+Y)))
25 P()\
26 dl(change position (relative))
27 (bf(+X+Y)nl()\
28 bf(+X) (same as bf(+X+Y)))
29 P()\
30 dl(rescale (relative))
31 (bf(Wx0) -> bf(W *= (W/100))nl()\
32 bf(0xH) -> bf(H *= (H/100)))
33 enddl()
34
35 For example:
36
37 startdl()
38 dl(bf(\E]20;funky\a))
39 (load bf(funky.xpm) as a tiled image)
40 P()\
41 dl(bf(\E]20;mona;100\a))
42 (load bf(mona.xpm) with a scaling of 100%)
43 P()\
44 dl(bf(\E]20;;200;?\a))
45 (rescale the current pixmap to 200% and display the image geometry in \
46 the title)
47 enddl()