/*
    ####             #    #     # #
    #   #            #    #       #          The FreeWare C library for 
    #   #  ##   ###  #  # #     # ###             RISC OS machines
    #   # #  # #     # #  #     # #  #   ___________________________________
    #   # ####  ###  ##   #     # #  #                                      
    #   # #        # # #  #     # #  #    Please refer to the accompanying
    ####   ### ####  #  # ##### # ###    documentation for conditions of use
    ________________________________________________________________________

    File:    Font.c.LoseAll
    Author:  Copyright  1995 Julian Smith
    Version: 1.00 (08 Jul 1995)
    Purpose: Veneer for the RISC OS 3 Desk_Font_Paint SWI.
             If someone could convert this into assembler...
*/

#include "swis.h"

#include "Desk.Font.h"
#include "Desk.Error2.h"


#ifndef Desk_SWI_Font_Paint
#define Desk_SWI_Font_Paint	0x40086
#endif

void	Desk_Font_Paint3( 
			Desk_font_handle		font, 
			const char			*string, 
			unsigned int			plottype,
			int				x,
			int				y,
			Desk_font_coorblock		*coorblock,
			Desk_font_transformation	*transformation,
			int				length
			)
{
/*Desk_SWI2( 8, 0, Desk_SWI_Font_Paint, font, string, plottype, x, y, coorblock, transformation, length);*/
Desk_Error2_CheckOS(
	_swix(
		Font_Paint, _INR(0,7),
		font, string, plottype, x, y, coorblock, transformation, length
		)
	);
}

