Annotation of researchv10dc/630/man/src/p_man/man3/jpoint.3l, revision 1.1

1.1     ! root        1: .ds ZZ DEVELOPMENT PACKAGE
        !             2: .TH JPOINT 3L "630 MTG"
        !             3: .XE "jpoint()"
        !             4: .SH NAME
        !             5: jpoint \- draw single pixel on display
        !             6: .SH SYNOPSIS
        !             7: .B #include <dmd.h>
        !             8: .sp
        !             9: .B void jpoint (p, f)
        !            10: .br
        !            11: .B Point p;
        !            12: .br
        !            13: .B Code f;
        !            14: .SH DESCRIPTION
        !            15: The
        !            16: .I jpoint
        !            17: function
        !            18: sets the pixel at location
        !            19: .I p
        !            20: (in window coordinates)
        !            21: in the display bitmap according to the Code
        !            22: .IR f .
        !            23: .SH EXAMPLE
        !            24: The following routine can be used to ``doodle'' on the screen.
        !            25: .PP
        !            26: .RS 3
        !            27: .ft CM
        !            28: .nf
        !            29: #include <dmd.h>
        !            30: 
        !            31: doodle()
        !            32: {
        !            33:       request (\s-1MOUSE\s+1);
        !            34:       for ( ;; ) {
        !            35:           wait (\s-1MOUSE\s+1)
        !            36:           if( button3() )
        !            37:              break;
        !            38:           if( button2() )
        !            39:              jpoint (mouse.jxy, \s-1F_STORE\s+1);
        !            40:       }
        !            41: }
        !            42: .fi
        !            43: .ft R
        !            44: .RE
        !            45: .SH SEE ALSO
        !            46: globals(3R), point(3R), structures(3R), transform(3R/3L).

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.