FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version