;   ####             #    #     # #
;   #   #            #    #       #          The FreeWare C library for
;   #   #  ##   ###  #  # #     # ###             RISC OS machines
;   #   # #  # #     # #  #     # #  #   ___________________________________
;   #   # ####  ###  ##   #     # #  #
;   #   # #        # # #  #     # #  #    Please refer to the accompanying
;   ####   ### ####  #  # ##### # ###    documentation for conditions of use
;   ________________________________________________________________________
;
;   File:    PDriver.GiveRectan.s
;   Author:  Copyright  1993 Jason Howat
;   Version: 1.00 (08 Jul 1993)
;   Purpose: Specify a rectangle to be printed.

        GET     Desk.sh.regdefs
        GET     ^.h.swinos
        GET     Desk.sh.macros

; void	Desk_PDriver_GiveRectangle(int Desk_rectangle_id, Desk_wimp_rect *rectangle,
;                                 Desk_print_transformation *matrix,
;                                 Desk_wimp_point *position, int Desk_background_colour);

        PREAMBLE
        STARTCODE Desk_PDriver_GiveRectangle
;
        MOV     ip, sp
        STMFD   sp!, {v1, lr}
        LDR     v1, [ip, #0]
        SWI     Desk_SWI_PDriver_GiveRectangle + Desk_XOS_Bit
        Desk_Error2_CheckV
        ;MOVVC   a1, #0
        LDMFD   sp!, {v1, pc}^
;
        END
