Initial revision
[ssr] / StraySrc / Sculptrix / sculptrix / sh / bbox
1 ;
2 ; bbox.sh
3 ;
4 ; Bounding box calculations for Sculptrix borders
5 ;
6 ; © 1995-1998 Straylight
7 ;
8
9 ;----- Licensing note -------------------------------------------------------
10 ;
11 ; This file is part of Straylight's Sculptrix.
12 ;
13 ; Sculptrix is free software; you can redistribute it and/or modify
14 ; it under the terms of the GNU General Public License as published by
15 ; the Free Software Foundation; either version 2, or (at your option)
16 ; any later version.
17 ;
18 ; Sculptrix is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ; GNU General Public License for more details.
22 ;
23 ; You should have received a copy of the GNU General Public License
24 ; along with Sculptrix. If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27 ;----- Overview -------------------------------------------------------------
28 ;
29 ; Functions provided:
30 ;
31 ; bbox_calc
32
33 [ :LNOT::DEF:bbox__dfn
34 GBLL bbox__dfn
35
36 ; --- bbox_calc ---
37 ;
38 ; On entry: R1 == pointer to icon block
39 ;
40 ; On exit: R0 == 0 if there was no border, or nonzero otherwise
41 ;
42 ; Use: Updates the block to represent the size of the border.
43
44 IMPORT bbox_calc
45
46 ]
47
48 ;----- That's all, folks ----------------------------------------------------
49
50 END