Robby Findler
6fff26ad12
2htdp/image: relax the constraints on 'crop' so that you can crop outside the bounding box
2011-02-21 05:28:37 -06:00
Robby Findler
c1668d894e
added overlay/align, underlay/align, overlay/align/offset, and underlay/align/offset
2011-02-20 15:37:16 -06:00
Robby Findler
4d9c150b7b
2htdp/image: adjust tests
2011-02-11 19:50:15 -06:00
Robby Findler
eb45a6f15b
2htdp/image: place-image/align doesn't really need to check that the second image argument has a pinhole
2011-02-06 07:25:08 -06:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07: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
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
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
Robby Findler
4917d2af4a
added freeze to 2htdp/image
2010-12-17 13:51:10 -06:00
Sam Tobin-Hochstadt
d92ce41a6f
Make 2htdp/image produce png-convertible results.
2010-12-17 12:32:25 -05:00
Robby Findler
db116cd14b
don't go up past the collection with relative requires
2010-12-12 16:24:18 -06:00
Robby Findler
2a7ccc552a
clean up test suite ala gr2
2010-11-29 13:49:47 -06:00
Robby Findler
6e7530ff86
added empty-image
2010-11-25 06:55:00 -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
e80fb21c7c
unbreak test suite
2010-10-31 10:12:03 -05:00
Robby Findler
ebe486886c
change 2htdp/image to export image=?
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
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
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
3d5843aa81
fixed pen and color so they signal errors properly
2010-08-28 08:52:59 -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
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
a5d969607b
fixed PR 10998
2010-07-06 15:26:26 -05:00
Robby Findler
132867518c
added support for flipping bitmaps
2010-06-18 16:21:14 -05:00
Robby Findler
27bd7934d7
fixed flipping for curves
2010-06-18 16:21:13 -05:00
Robby Findler
ca7bf92054
added basic flipping (bitmaps not done yet)
2010-06-18 16:21:13 -05:00
Robby Findler
31b507aa51
Rackety 2htdp/image
2010-05-25 21:35:04 -05:00
Eli Barzilay
7b14a1f585
"Racunit" -> "Rackunit"
2010-05-17 12:07:32 -04:00
Jay McCarthy
bc5cf30ebe
Renaming rktunit to racunit
2010-04-30 10:57:32 -06:00