The Racket repository
![]() Also, add a `convert-bounds-padding` parameter that defaults to adding 3 units (= pixels, usually) on each side of a pict when converting to a format that supports padding. Combined with changes to Scribble to use the new formatting, the extra padding solves the long-standing problem of rendering picts and having an edge (especially the bottom and right) cut off due to rounding effects. For example, see `file-icon` in section 7.1 of the `pict` documentation. The choice of 3 pixels is more or less arbitrary; it covers the case of edge pixels and italic fonts for typical font sizes, but it obviously won't cover all drawing outside of a bounding box, as for the documentation example `(desktop-machine 1 '(devil plt))`. |
||
---|---|---|
native-pkgs@60c510ba85 | ||
pkgs | ||
racket | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
INSTALL.txt | ||
Makefile | ||
README.txt |
This is the source code for the main Racket distribution. See "INSTALL.txt" for information on building Racket. License ------- Racket Copyright (c) 2010-2014 PLT Design Inc. Racket is distributed under the GNU Lesser General Public License (LGPL). This means that you can link Racket into proprietary applications, provided you follow the rules stated in the LGPL. You can also modify Racket; if you distribute a modified version, you must distribute it under the terms of the LGPL, which in particular means that you must release the source code for the modified software. See racket/src/COPYING_LESSER.txt for more information.