home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / d / desklib / !DeskSrc / FN / Libraries / Coord / c / Convert3 < prev    next >
Encoding:
Text File  |  1996-05-13  |  1005 b   |  28 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Coord.Convert3.c
  12.     Author:  Copyright © 1992 Jason Williams
  13.     Version: 1.00 (22 Mar 1992)
  14.     Purpose: Window <--> Screen coordinate conversion routines
  15. */
  16.  
  17.  
  18. #include "Desk.Core.h"
  19. #include "Desk.Coord.h"
  20. #include "Desk.Wimp.h"
  21.  
  22.  
  23. extern void Desk_Coord_RectToScreen(Desk_wimp_rect *rect, const Desk_convert_block *convert)
  24. {
  25.   Desk_Coord_PointToScreen(&rect->min, convert);
  26.   Desk_Coord_PointToScreen(&rect->max, convert);
  27. }
  28.