Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version