Robby Findler
ae5cd21a1b
2htdp/image: changed the way drawing works, specifically avoid normalization before drawing to preserve sharing
2010-11-04 13:55:41 -05:00
Robby Findler
4941aec617
removed unused argument to normalize-image
2010-11-04 13:55:40 -05:00
Robby Findler
d082e805b2
fix bug in error checking for save-image
2010-10-31 10:12:04 -05:00
Robby Findler
e80fb21c7c
unbreak test suite
2010-10-31 10:12:03 -05:00
Robby Findler
cc0f246048
unbreak 2htdp/image
2010-10-29 14:55:56 -05:00
Matthias Felleisen
18a81f8552
record images during world program, not events; Closes PR11351
2010-10-28 18:43:19 -04:00
Robby Findler
82d11cfa6c
fix up Matthias's tests so they are more drdr friendly
2010-10-28 17:20:43 -05:00
Robby Findler
ebe486886c
change 2htdp/image to export image=?
2010-10-28 17:20:43 -05: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
a744958fd5
added support to the 2htdp/image library for reading files when there is no GUI around.
...
currently the support is limited to images that can only report their sizes and pinholes and where equal?
signals an error unless the arguments are eq?.
2010-10-28 11:32:14 -05:00
Matthias Felleisen
f600531e50
improved testing for record?
2010-10-27 10:35:11 -04:00
Matthias Felleisen
f876a854c6
partial fix for pr11350
2010-10-27 10:21:36 -04:00
Matthias Felleisen
6457f1e4cc
record? is working as it used, plus ability to auto-save images so I can write a test case, Closes PR11348 and PR11349
2010-10-26 19:02:43 -04:00
Robby Findler
35f64145ca
adjusted the way caching works for bitmaps to be more effective
2010-10-22 06:45:57 -05:00
Matthias Felleisen
49060ff57c
merged two error checking files
2010-10-13 15:07:33 -04:00
Matthias Felleisen
ae04ddc7d9
the mouse and key handler shouldn't be set to defaults; when there are no on-* clauses, they should be ignored
2010-10-13 14:50:55 -04:00
Matthias Felleisen
8fb58bb74e
making the stepper (mostly) happy
2010-10-12 18:10:35 -04:00
Matthias Felleisen
0eed02bd0d
typo in world.rkt
2010-10-08 16:31:52 -04:00
Matthias Felleisen
58684bbf4e
merged keywords back into universe
2010-10-08 16:17:41 -04:00
Matthias Felleisen
995ce61434
to-draw and on-draw check
2010-10-08 16:17:03 -04:00
Matthias Felleisen
96bf9d2518
deleted
2010-10-08 16:16:04 -04:00
Matthias Felleisen
963adb64ce
run tests all at once
2010-10-08 14:04:32 -04:00
Robby Findler
05d16d9311
closes PR 11293
2010-10-07 19:36:18 -05:00
Matthias Felleisen
8ef896431a
adjusting big-bang and universe so that they call functions and don't expand into object construction
2010-10-07 18:49:43 -04:00
Matthias Felleisen
767d72ed03
re-exported keywords
2010-10-04 20:41:38 -04:00
Matthias Felleisen
8bed0b6a30
function protocol for world creation
2010-10-04 18:22:04 -04:00
Robby Findler
08b9396e2f
closes PR 11236
2010-09-21 16:47:55 -05:00
Eli Barzilay
ee138cf2cb
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Robby Findler
31685bc496
Adjusted 2htdp/image's frame primitive so that it does not draw
...
outside of the bounding box.
2010-09-09 06:58:55 -05:00
Robby Findler
9105b92240
added overlay/pinhole and underlay/pinhole
2010-09-07 09:35:21 -05:00
Robby Findler
6f0b6eebbe
Added pinholes as x-place and y-place arguments
2010-09-06 20:39:13 -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
cc96864868
added pinhole support to cropping primitives and to frame
2010-09-06 20:39:12 -05:00
Robby Findler
9b720b9c0d
added pinhole support to add-line, add-curve, scene+line, and scene+curve
2010-09-06 20:39:12 -05:00
Robby Findler
d2e443ac97
made equality check on images sensitive to pinholes
2010-09-06 20:39:11 -05:00
Robby Findler
9087348b7e
added pinhole support to the flipping prims
2010-09-06 20:39:11 -05:00
Robby Findler
157e9c2512
made rotation work with pinholes
2010-09-06 20:39:11 -05:00
Robby Findler
e3b51e8cf4
made scaling work with pinholes
2010-09-06 20:39:11 -05:00
Robby Findler
986b36d761
added basic pinhole tests
2010-09-06 20:39:10 -05:00
Robby Findler
4fa7fa2994
Added docs and exported basic pinhole manipulation primitives
2010-09-06 20:39:10 -05:00
Robby Findler
5e01ac5537
added a pinhole property to images
2010-09-06 20:39:10 -05:00
Matthew Flatt
081fc3bad5
fix 2htdp/image bitmap rotation direction
2010-09-04 16:43:38 -06:00
Robby Findler
1fa6be75b5
added image->color-list and color-list->bitmap
2010-09-04 13:52:49 -05:00
Matthew Flatt
e0d9d2565c
fix problem with rotation on images such as bitmaps
...
and replace internal `bring-between' with an efficient version
Closes PR 11124
2010-08-30 20:15:20 -06: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
Robby Findler
3d5843aa81
fixed pen and color so they signal errors properly
2010-08-28 08:52:59 -05:00
Robby Findler
405fded9c3
change empty scene so that it draws the border for the scene inside the scene,
...
instead of using the usual rectangle "right/bottom outside" drawing
(hopefully) closes PR 11139
2010-08-28 07:57:52 -05:00
Robby Findler
8d2db5f4bf
fixed a bug found by random testing
2010-08-22 20:33:30 -05:00
Robby Findler
720a86052f
improved crop so that it doesn't fail when the coordinates are out of range
2010-08-22 15:12:10 -05:00
Robby Findler
f1e38247e0
improved the error message for save-image
...
closes PR 11076
2010-08-20 17:39:45 -05:00