Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## inflate-box

Arguments: box dx dy

Modifies and returns box by subtracting dx from its left, and adding it to its right; and subtracting dy from its top, and adding it to its bottom. The result, which is returned, is a box `(* 2 dx)` wider and `(* 2 dy)` higher. dx and dy must be fixnums. This function is effectively equivalent to

    (setq box
    (nmake-box box
      (- (box-left box) dx) (- (box-top box) dy)
      (+ (box-right box) dx) (+ (box-bottom box) dy)))

See the description of the `box` class and make-box for information on boxes. See nmake-box, which modifies an existing box rather than creating a new one.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version