|
|
1.1 ! root 1: .ds ZZ DEVELOPMENT PACKAGE ! 2: .TH JSTRING 3L "630 MTG" ! 3: .XE "jstring()" ! 4: .SH NAME ! 5: jstring \- draw character string on display ! 6: .SH SYNOPSIS ! 7: .B #include <dmd.h> ! 8: .sp ! 9: .B Point jstring (s) ! 10: .br ! 11: .B char \(**s; ! 12: .SH DESCRIPTION ! 13: The ! 14: .I jstring ! 15: function ! 16: draws, in the \s-1F_XOR\s+1 mode, ! 17: the null-terminated string ! 18: .I s ! 19: in the display Bitmap using mediumfont ! 20: so that the origin ! 21: of the rectangle enclosing the first character is at the current ! 22: window point. ! 23: It returns the current window point, which is left after the last character ! 24: of the string, so adjacent calls to ! 25: .I jstring ! 26: can appear to concatenate their argument strings on the screen. ! 27: .SH EXAMPLE ! 28: The following program shows how \fIjstring\fR automatically updates ! 29: .IR PtCurrent . ! 30: .PP ! 31: .RS 3 ! 32: .ft CM ! 33: .nf ! 34: #include <dmd.h> ! 35: ! 36: Point jstring(); ! 37: ! 38: main() ! 39: { ! 40: jmove (Pt(16,16)); ! 41: jstring ("I"); ! 42: jline (Pt(40,0), F_XOR); ! 43: jstring ("love"); ! 44: jline (Pt(40,0), F_XOR); ! 45: jstring ("my"); ! 46: jline (Pt(40,0), F_XOR); ! 47: jstring ("630MTG"); ! 48: ! 49: request (KBD); ! 50: wait (KBD); ! 51: } ! 52: .fi ! 53: .ft R ! 54: .RE ! 55: .SH SEE ALSO ! 56: globals(3R), string(3R), structures(3R).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.