Robby Findler
c36dd1fdfd
2htdp/image: use erase instead of clear to zero out a bitmap
...
original commit: 54c337e5d3860fa7333fae79a8d3fa39366c1873
2010-12-27 21:51:16 -06:00
Robby Findler
f9c8cb6676
generalize the color structs to have an alpha field and then use that in the bitmap conversion functions
...
original commit: 835f7753dcb98d508d86c653dd6fc2d7c3f21b1e
2010-12-27 21:51:14 -06:00
Robby Findler
5a6f74a959
take advantage of new equal<%> and snip% setup to make image-snip%s equal to 2htdp/image images (when appropriate)
...
original commit: e896360dcfdedbab5d231c41cb9c697622edd153
2010-12-24 06:34:43 -06:00
Sam Tobin-Hochstadt
7828941338
Refactor to create `racket/snip' collection.
...
original commit: fb76a887d82ac613af2f02049e2edf9cdd8fd83f
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
6085753209
Separate snip% from the gui
...
original commit: 8a8a8dbe4ba0eb9ece3ca7dabe0e278de64e467e
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
95fd314cad
Fixes for PNG conversion, and make `image-snip%' convertible.
...
original commit: 13cae20838e8d7a6de1fff3c242fb8d85fca22cb
2010-12-17 12:32:25 -05:00
Sam Tobin-Hochstadt
942143113a
Make 2htdp/image produce png-convertible results.
...
original commit: d92ce41a6f00c9219cd8213ca2df39907d6c8236
2010-12-17 12:32:25 -05:00
Robby Findler
fc3cb61653
remove sillyness
...
original commit: 52092eeb803ad9a542bc383a0143d6c31c59d658
2010-12-17 10:02:35 -06:00
Robby Findler
a0d80c6038
Revert "change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree"
...
This reverts commit 9ce75b8f76d607237659c3c457f6ceb52752c64b.
original commit: 8add8cfdf596c5ea833b3a83e4b2d7df550ad218
2010-12-12 15:18:06 -06:00
Robby Findler
590b3c2747
finally, a fix that makes the 2htdp/image test suite pass!
...
original commit: 91aa9f756a258a8b9de624024fe81c4864f1b1dd
2010-12-12 15:14:04 -06:00
Robby Findler
908ece5030
change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree
...
original commit: 9ce75b8f76d607237659c3c457f6ceb52752c64b
2010-12-12 15:14:04 -06:00
Robby Findler
0590579daa
get two more 2htdp/image test cases to pass
...
original commit: bf62d4b6d6e1968ddaf3adc835c4f70d7321228a
2010-11-25 09:03:06 -06:00
Robby Findler
439d046c98
a (failed) attempt to fix equality comparison (but at least it is a step in the right direction (I think))
...
original commit: a658a7620b268edef2fe2af014b0e8a892619393
2010-11-25 06:55:00 -06:00
Matthew Flatt
e4ffaabd35
fix merge mistake
...
original commit: 1db27b474f32f0c136f91b509b02b4a48da0f2dd
2010-11-05 15:54:56 -06:00
Matthew Flatt
da874c1c04
v5.4.99.1, executable-yield-handler', and
make-bitmap' etc.
...
original commit: 05cfffdf9e13b6868a19384e88bcb9331f9631f1
2010-11-05 15:54:50 -06:00
Robby Findler
ee07830984
2htdp/image: changed the way drawing works, specifically avoid normalization before drawing to preserve sharing
...
original commit: ae5cd21a1b9de4058a8b57948551f351f2def9cf
2010-11-04 13:55:41 -05:00
Robby Findler
984005b3a1
removed unused argument to normalize-image
...
original commit: 4941aec6177f0059c3a3c09e76e391b732b8e7cc
2010-11-04 13:55:40 -05:00
Robby Findler
1b32d2dab2
fixed some bugs in the way 2htdp/images were marshalled and unmarshalled
...
original commit: 6a414bd18afb6e53a11601781e2917539a321e1e
2010-10-28 17:20:43 -05:00
Robby Findler
6b991a5f60
fixed a bug in the way old 2htdp/image files were parsed (those that contain bitmaps)
...
original commit: 7ef1e8bd907b5f18f563848346628da0dcd2406f
2010-10-28 17:20:43 -05:00
Robby Findler
d75777d57d
2htdp/image: adjusted the image you get when parsing fails so that it draws inside its bounding box
...
original commit: 02d8b5cebf9341c1d07823e9c048e751e576a50f
2010-10-28 17:20:42 -05:00
Robby Findler
0b029011dd
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?.
original commit: a744958fd539471315b7515e3e9460af861aa7b7
2010-10-28 11:32:14 -05:00
Robby Findler
2270612ece
adjusted the way caching works for bitmaps to be more effective
...
original commit: 35f64145ca1ca9ecc858222b333af4e8cb25b474
2010-10-22 06:45:57 -05:00
Robby Findler
0cf93e975c
added a check to avoid creating a new bitmap struct (so caching works better when you flip images that are not scaled)
...
original commit: 1d0ebeae62bce8ec43dde86a772d62f587b4c7f1
2010-10-14 14:05:12 -05:00
Robby Findler
872c587255
closes PR 11293
...
original commit: 05d16d931121f56a2b98454d61d17588635cbadc
2010-10-07 19:36:18 -05:00
Robby Findler
7a1c34c546
closes PR 11236
...
original commit: 08b9396e2fdea6e1430cfabc130efafe14a5c4b1
2010-09-21 16:47:55 -05:00
Robby Findler
189edf7686
made equality check on images sensitive to pinholes
...
original commit: d2e443ac97bfea7806f5709ba40c3b0b4ba77f10
2010-09-06 20:39:11 -05:00
Robby Findler
973ed02887
made scaling work with pinholes
...
original commit: e3b51e8cf4da6fb1308d967129421386efeab4bc
2010-09-06 20:39:11 -05:00
Robby Findler
4d26bbc40a
Added docs and exported basic pinhole manipulation primitives
...
original commit: 4fa7fa299490cf1cb7acf71ec4797a9a714c8e14
2010-09-06 20:39:10 -05:00
Robby Findler
31af2360af
added pinhole drawing
...
original commit: 748fc32bd1e0b3d99315fb69f3cfa810585f60f6
2010-09-06 20:39:10 -05:00
Robby Findler
ad9a2a8721
added a pinhole property to images
...
original commit: 5e01ac55373d2987410da7d95f26f42535cfae3b
2010-09-06 20:39:10 -05:00
Robby Findler
33957b3b3c
forgot the flip check (caught by the test suites)
...
original commit: 7fead2875a4c4503344a06a688b83e40561f0d3b
2010-09-02 12:20:19 -05:00
Robby Findler
62f4b7e9d5
fixed a performance bug (avoids computing the rotation of a bitmap when it isnt actually rotated...)
...
original commit: 09bd56081b68ddbcbc46201af5ee2f4855e5d7a5
2010-09-02 11:01:23 -05:00
Robby Findler
7c5fa6e851
fixed a bug reported by Todd on the mailing list (probably this is his bug anyways)
...
original commit: f79336058620fb4d44a924af211f3a8fef5bacb4
2010-08-02 13:01:27 -05:00
Matthew Flatt
9314cff929
change mrlib/image-core to use pen-list% cap and join support
...
original commit: 5d7f04448802ef955c59cd68d47ed667652f2783
2010-07-21 16:19:12 -06:00
Robby Findler
b463b0ff13
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.
original commit: 6cd277a36fe6f8eba4cb02f46a8c8ea98f036802
2010-07-20 22:59:52 -05:00
Robby Findler
06f19bc758
fixed a bug in text's color argument, as noted in PR 10998
...
original commit: 070a39d902a3ccb73a0c0e7d50c6bda0fe9ee69e
2010-07-07 13:42:40 -05:00
Robby Findler
883413b6b2
removed a bogus case in the definition of np-atomic-shape predicate
...
original commit: 0c0009465ec61cfa09126614b3282ae69dc2b1dd
2010-06-18 16:21:14 -05:00
Robby Findler
7614ac4819
added support for flipping bitmaps
...
original commit: 132867518c12e2c4b223305130df7938bf1aa350
2010-06-18 16:21:14 -05:00
Robby Findler
9eeb5c8483
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
original commit: 22bc8f6d87f12efa6b720249a194db5dd555056e
2010-06-16 11:58:58 -05:00
Robby Findler
28ba1d1465
Rackety 2htdp/image
...
original commit: 31b507aa510388cec64d8d74e904f9a485c49461
2010-05-25 21:35:04 -05:00
Matthew Flatt
5adf804728
rename all files .ss -> .rkt
...
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00