Ejemplo n.º 1
0
_WCRTLINK void _WCI86FAR _CGRAPH _getimage_w( double x1, double y1, double x2, double y2,
/*==========================*/ char _WCI86HUGE *image )

/* This routine places the rectangle defined by ( x1, y1 ) and ( x2, y2 ),
   in window coordinates, into a buffer pointed to by image. */

{
    if( _GrProlog() ) {
        _L2getimage( _WtoPhysX( x1 ), _WtoPhysY( y1 ),
                     _WtoPhysX( x2 ), _WtoPhysY( y2 ), image );
        _GrEpilog();
    }
}
Ejemplo n.º 2
0
_WCRTLINK void _WCI86FAR _CGRAPH _getimage( short x1, short y1, short x2, short y2,
/*========================*/ char _WCI86HUGE * image )

/* This routine places the rectangle defined by ( x1, y1 ) and ( x2, y2 ),
   in viewport coordinates, into a buffer pointed to by image. */

{
    if( _GrProlog() ) {
        _L2getimage( _VtoPhysX( x1 ), _VtoPhysY( y1 ),
                     _VtoPhysX( x2 ), _VtoPhysY( y2 ), image );
        _GrEpilog();
    }
}