•  Back 
  •  Raster functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.11.11  vr_clip_rects32_by_dst                                    TOS

 Name:         »Clip Rects By Destination Rectangle«

 Opcode:       171 (Sub-Opcode 2)

 Syntax:       int16_t vr_clip_rects32_by_dst ( int16_t handle, RECT32 
               *dst_clip_rect, RECT32 *src_rect, RECT16 *dst_rect, 
               RECT32 *clipped_src_rect, RECT32 *clipped_dst_rect );

 Description:  The call vr_clip_rects32_by_dst cuts the destination 
               rectangle with a clipping rectangle and adapts the 
               source rectangle, using 32-bit coordinates.

                Parameter         Meaning

                handle            Workstation identifier
                dst_clip_rect     Clipping rectangle for destination 
                                  (continuous coordinates, 32-bit)
                src_rect          Source rectangle (continuous 
                                  coordinates, 32-bit)
                dst_rect          Destination rectangle (continuous 
                                  coordinates, 32-bit)
                clipped_src_rect  Clipped source rectangle (continuous 
                                  coordinates, 32-bit)
                clipped_dst_rect  Clipped destination rectangle 
                                  (continuous coordinates, 32-bit)

 Return value: 0: No clipping of the rectangles
               1: All OK

 Availability: As of NVDI 5.02.

               If the driver offers the new rasterizing functions, 
               then bit 2 will be set in work_out[30] in the extended 
               parameters of vq_extnd.

 Group:        Raster functions

 See Also:     Binding