Commit Graph

25 Commits

Author SHA1 Message Date
Matthew Flatt
68e005fb2c racket/draw: make-immutable-{color,brush,pen} => make-{color,brush,pen}
Also, use keywords for `make-pen' and `make-brush'.

Adding `make-pen' and `make-color' creates many conflicts among
teaching libraries, such as `2htdp/image'. These are easy to fix
up in the tree, but adding such obvious names to `racket/draw'
may create other compatibility problems, so we might have to reconsider
the names.

In consultation with Asumu.
2012-05-01 21:04:40 -06:00
Robby Findler
ed22a630fd fix predicates to return booleans 2012-02-07 20:33:05 -06:00
Stephen Bloch
83fd1e968d Corrected an error message that said it wanted a real, but actually
expected an integer.
2011-07-14 13:01:11 -04:00
Matthew Flatt
8271f7b182 export `step-count?'
Merge to 5.1.2
2011-07-09 08:47:21 -06:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Robby Findler
7716851cde 2htdp/image: added support for alpha as a mode? argument 2011-01-01 20:01:50 -06:00
Robby Findler
835f7753dc generalize the color structs to have an alpha field and then use that in the bitmap conversion functions 2010-12-27 21:51:14 -06:00
Robby Findler
7282e19178 tightened up the check on polygon to make sure the posns contain reals
closes PR 10997
2010-12-25 20:33:33 -06:00
Robby Findler
2dc15061a8 adjust Sam's edit so the file is now properly indented 2010-12-17 13:53:03 -06:00
Sam Tobin-Hochstadt
24ea7d34fc Fix use of 'fn-name in 2htdp/image error messages. 2010-12-17 12:37:32 -05:00
Sam Tobin-Hochstadt
8a8a8dbe4b Separate snip% from the gui 2010-12-17 12:32:26 -05:00
Robby Findler
4d04aa2b97 generalize define/chk to work with case-lambda-style functions 2010-12-17 10:02:40 -06:00
Robby Findler
e0b425e5d8 change more cross-collection requires 2010-12-17 10:02:38 -06:00
Robby Findler
b884623da2 use for/list intead of a (one off) map/i function. 2010-12-06 14:22:10 -06:00
Robby Findler
45a97cb561 off by one error in 2htdp/image error messages
closes PR 11476
2010-12-06 14:22:10 -06:00
Robby Findler
3782c2e749 change save-bitmap in 2htdp/image so that is uses the width and height of the image by default, but also so it accepts two optional arguments to change that. 2010-10-28 17:20:43 -05:00
Robby Findler
d10cd2e6fa preserve pinholes in overlaying and related functions
(also started to add "pinhole" as a place, but not done with that yet)
2010-09-06 20:39:12 -05:00
Robby Findler
1fa6be75b5 added image->color-list and color-list->bitmap 2010-09-04 13:52:49 -05:00
Robby Findler
3704e2d69f added a better explanation of pixels and fixed a bug in save-image 2010-08-28 20:41:58 -05:00
Jens Axel Søgaard
64c3a98e45 Added triangle/sss, triangle/ass, triangle/sas, triangle/ssa, triangle/aas, triangle/asa, and, triangle/saa. 2010-08-05 18:18:06 +02:00
Robby Findler
a612830b8e added the radial-star primitive 2010-06-25 20:24:18 -05:00
Robby Findler
132867518c added support for flipping bitmaps 2010-06-18 16:21:14 -05:00
Robby Findler
31b507aa51 Rackety 2htdp/image 2010-05-25 21:35:04 -05:00
Robby Findler
b319039468 fixed a bug in text so that inexact integers are converted to exact ones 2010-05-22 08:58:54 -05:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00