1 /* 2 * FIG : Facility for Interactive Generation of figures 3 * Copyright (c) 1985-1988 by Supoj Sutanthavibul 4 * Parts Copyright (c) 1989-2015 by Brian V. Smith 5 * Parts Copyright (c) 1991 by Paul King 6 * Parts Copyright (c) 2016-2020 by Thomas Loimer 7 * 8 * Any party obtaining a copy of these files is granted, free of charge, a 9 * full and unrestricted irrevocable, world-wide, paid up, royalty-free, 10 * nonexclusive right and license to deal in this software and documentation 11 * files (the "Software"), including without limitation the rights to use, 12 * copy, modify, merge, publish, distribute, sublicense and/or sell copies of 13 * the Software, and to permit persons who receive copies from any such 14 * party to do so, with the only requirement being that the above copyright 15 * and this permission notice remain intact. 16 * 17 */ 18 19 #ifndef E_SCALE_H 20 #define E_SCALE_H 21 22 #include <X11/Intrinsic.h> 23 #include "object.h" 24 25 extern void scale_compound(F_compound *c, double sx, double sy, 26 int refx, int refy); 27 extern void scale_radius(F_line *old, F_line *new, int owd, int oht, 28 int nwd, int nht); 29 extern Boolean rescale_dimension_line(F_compound *dimline, 30 float scalex, float scaley, int refx, int refy); 31 32 extern void scale_selected (void); 33 34 #endif 35