David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Robby Findler
670d58d134
added un/cache-image, a function that enables/disables the drawing cache in 2htdp/image images
2011-01-06 14:24:01 -06:00
Robby Findler
dd9e8c530b
fix the use of draw-caret in 2htdp/image
2011-01-03 20:54:07 -06:00
Matthew Flatt
cf344b9926
fix dimensions of cached image bitmap
2011-01-03 19:13:56 -07:00
Robby Findler
30f9c4338f
make sure make-bitmap gets exacts as args
2011-01-03 19:56:37 -06:00
Robby Findler
ac52a63d4a
cache drawing in 2htdp/image snip's draw method
2011-01-03 15:06:41 -06:00
Robby Findler
d886df2acc
2htdp/image: when selected, draw with some transparency so the selection is visible
2011-01-03 14:42:57 -06:00
Robby Findler
7716851cde
2htdp/image: added support for alpha as a mode? argument
2011-01-01 20:01:50 -06:00
Robby Findler
830c797ee4
use pen's alpha color stuff in 2htdp/image
2010-12-31 10:25:01 -06:00
Robby Findler
1d89cfc9d7
2htdp/image fix bitmap scaling to respect alpha channels
2010-12-28 19:08:11 -06:00
Robby Findler
54c337e5d3
2htdp/image: use erase instead of clear to zero out a bitmap
2010-12-27 21:51:16 -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
e896360dcf
take advantage of new equal<%> and snip% setup to make image-snip%s equal to 2htdp/image images (when appropriate)
2010-12-24 06:34:43 -06:00
Sam Tobin-Hochstadt
fb76a887d8
Refactor to create `racket/snip' collection.
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
8a8a8dbe4b
Separate snip% from the gui
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
13cae20838
Fixes for PNG conversion, and make `image-snip%' convertible.
2010-12-17 12:32:25 -05:00
Sam Tobin-Hochstadt
d92ce41a6f
Make 2htdp/image produce png-convertible results.
2010-12-17 12:32:25 -05:00
Robby Findler
52092eeb80
remove sillyness
2010-12-17 10:02:35 -06:00
Robby Findler
8add8cfdf5
Revert "change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree"
...
This reverts commit 9ce75b8f76
.
2010-12-12 15:18:06 -06:00
Robby Findler
91aa9f756a
finally, a fix that makes the 2htdp/image test suite pass!
2010-12-12 15:14:04 -06:00
Robby Findler
9ce75b8f76
change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree
2010-12-12 15:14:04 -06:00
Robby Findler
bf62d4b6d6
get two more 2htdp/image test cases to pass
2010-11-25 09:03:06 -06:00
Robby Findler
a658a7620b
a (failed) attempt to fix equality comparison (but at least it is a step in the right direction (I think))
2010-11-25 06:55:00 -06:00
Matthew Flatt
1db27b474f
fix merge mistake
2010-11-05 15:54:56 -06:00
Matthew Flatt
05cfffdf9e
v5.4.99.1, executable-yield-handler', and
make-bitmap' etc.
2010-11-05 15:54:50 -06:00
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
6a414bd18a
fixed some bugs in the way 2htdp/images were marshalled and unmarshalled
2010-10-28 17:20:43 -05:00
Robby Findler
7ef1e8bd90
fixed a bug in the way old 2htdp/image files were parsed (those that contain bitmaps)
2010-10-28 17:20:43 -05:00
Robby Findler
02d8b5cebf
2htdp/image: adjusted the image you get when parsing fails so that it draws inside its bounding box
2010-10-28 17:20:42 -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
Robby Findler
35f64145ca
adjusted the way caching works for bitmaps to be more effective
2010-10-22 06:45:57 -05:00
Robby Findler
1d0ebeae62
added a check to avoid creating a new bitmap struct (so caching works better when you flip images that are not scaled)
2010-10-14 14:05:12 -05:00
Robby Findler
05d16d9311
closes PR 11293
2010-10-07 19:36:18 -05:00
Robby Findler
08b9396e2f
closes PR 11236
2010-09-21 16:47:55 -05:00
Robby Findler
d2e443ac97
made equality check on images sensitive to 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
4fa7fa2994
Added docs and exported basic pinhole manipulation primitives
2010-09-06 20:39:10 -05:00
Robby Findler
748fc32bd1
added pinhole drawing
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
Robby Findler
7fead2875a
forgot the flip check (caught by the test suites)
2010-09-02 12:20:19 -05:00
Robby Findler
09bd56081b
fixed a performance bug (avoids computing the rotation of a bitmap when it isnt actually rotated...)
2010-09-02 11:01:23 -05:00
Robby Findler
f793360586
fixed a bug reported by Todd on the mailing list (probably this is his bug anyways)
2010-08-02 13:01:27 -05:00
Matthew Flatt
5d7f044488
change mrlib/image-core to use pen-list% cap and join support
2010-07-21 16:19:12 -06:00
Robby Findler
6cd277a36f
fixed a bug in the saving of bitmaps (and along the way added some randomized tests that found a few other things)
...
Please merge to release branch.
2010-07-20 22:59:52 -05:00
Robby Findler
070a39d902
fixed a bug in text's color argument, as noted in PR 10998
2010-07-07 13:42:40 -05:00
Robby Findler
0c0009465e
removed a bogus case in the definition of np-atomic-shape predicate
2010-06-18 16:21:14 -05:00
Robby Findler
132867518c
added support for flipping bitmaps
2010-06-18 16:21:14 -05:00
Robby Findler
22bc8f6d87
a bunch of little fixes to the 2htdp/image library (and related) for sfp submission:
...
- added in the htdp/image version of the performance test case
- made gui-eval work with things other than slideshow
- extended render-image so that it works on bitmaps and image-snips
2010-06-16 11:58:58 -05:00
Robby Findler
31b507aa51
Rackety 2htdp/image
2010-05-25 21:35:04 -05:00