Commit Graph

254 Commits

Author SHA1 Message Date
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
d419e8c12a changed the ->d contracts to ->i contracts 2010-09-09 14:21:35 -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
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04: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
476dd36eec modified the draw-button-label contract so that it would work with a let*-style scoping for ->d 2010-07-10 10:01:25 -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
9f5593c222 rackety mrlib/name-message 2010-06-22 14:22:35 -05:00
Robby Findler
c5b0c73111 added docs and minor cleanups in mrlib/name-message 2010-06-22 14:22:34 -05:00
Robby Findler
2e67f8bb9f Refactored the rotation code to support an arbitrary linear transformation 2010-06-20 14:13:16 -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
Robby Findler
8c98f9d979 made a start on the image-core library's documentation 2010-05-25 16:10:23 -05:00
Robby Findler
0c1afebb5a made a start on the image-core library's documentation 2010-05-25 16:10:23 -05:00
Robby Findler
b7a20594ef added \newpage to the latex-style keybindings 2010-05-17 11:39:38 -05:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
d8fec78585 Some renames for this dusty code. 2010-05-16 18:26:25 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Robby Findler
700a530f4e PR 10783 addendum
svn: r18346
2010-02-26 03:38:00 +00:00
Robby Findler
39dd21c240 PR 10783
svn: r18340
2010-02-25 20:57:45 +00:00
Robby Findler
50a6a585b1 fixed some repl-printing related bugs that would make 'write' sensitive to pretty-print's parameters in drscheme's repl
svn: r18321
2010-02-24 17:35:09 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +00:00
Robby Findler
e74e46d9ca drdr-ized the rest of the drscheme test suite
svn: r17945
2010-02-02 21:06:07 +00:00
Robby Findler
540f43327d added a little more error checking
svn: r17912
2010-01-31 13:32:19 +00:00
Matthew Flatt
73a1675286 fix select #f for hierlist
svn: r17888
2010-01-29 20:30:46 +00:00
Robby Findler
be5b6cd32e some improvements to the new language dialog
svn: r17886
2010-01-29 18:29:03 +00:00
Robby Findler
cf4294a280 changed the internal representation of normalized images so that crop structs do no have to be duplicated, improved test suites
svn: r17808
2010-01-24 20:22:58 +00:00
Robby Findler
3c1d7e9aca simple fix to deal with performance problem noticed by jpr (this is not a complete fix, but should work in the common case of lots of repeated place-image calls)
svn: r17783
2010-01-23 20:36:54 +00:00
Robby Findler
a9597eeb8b fixed up the docs for the base shapes to reflect the new pen arguments; added a section about pixels
svn: r17683
2010-01-17 02:50:41 +00:00
Robby Findler
ddf0b4ec01 added finer control over pens
svn: r17670
2010-01-16 02:03:54 +00:00
Robby Findler
fc8f84d616 fixed a bug I introduced
svn: r17638
2010-01-13 20:18:48 +00:00
Robby Findler
8c9088a770 changed the overlaying functions so they default to putting the images overlay'd on their centers, not upper lefts
svn: r17632
2010-01-13 16:32:21 +00:00
Robby Findler
8838d90cd5 removed extra depenencies
svn: r17630
2010-01-13 15:12:46 +00:00
Robby Findler
708d4c10d6 fixed image equality for zero width & zero height images
svn: r17593
2010-01-10 13:55:11 +00:00
Robby Findler
179f3615e2 added fast path for image equality that covers the case where the images have the same structure (roughly)
svn: r17560
2010-01-08 02:25:11 +00:00
Robby Findler
911123bf94 added add-curve
svn: r17523
2010-01-07 01:56:46 +00:00
Robby Findler
b5e54fe2eb applied Ian's patch to the bitmap rotation code
svn: r17513
2010-01-06 21:43:34 +00:00
Robby Findler
0b3c30f18e added place-image and fixed a bunch of bugs related to equality, rotating and other things
svn: r17491
2010-01-06 05:12:48 +00:00
Robby Findler
f5bb840950 added cropping to 2htdp/image
svn: r17474
2010-01-04 01:39:09 +00:00
Robby Findler
ca96ddd889 switched to a bitmap-based image comparison
svn: r17466
2010-01-02 22:32:44 +00:00
Robby Findler
0d16beda3c made the define popup and the file popup appear when the toolbar is on the left/right
svn: r17452
2009-12-31 13:27:49 +00:00
Robby Findler
2ec790424b added section symbol
svn: r17407
2009-12-27 22:09:43 +00:00
Robby Findler
57f9a7063e PR 10633
svn: r17159
2009-12-02 05:08:04 +00:00
Robby Findler
b310c35a38 PR 10634
svn: r17158
2009-12-02 05:01:08 +00:00
Robby Findler
4c18e8212f PR 10635
svn: r17156
2009-12-02 04:42:35 +00:00
Robby Findler
b80c782046 fixed a bug in bitmap scaling (ie I no longer forgot to write the code ...)
svn: r16883
2009-11-18 22:23:39 +00:00
Robby Findler
cc60cdc02b fixed rotation of bitmaps
svn: r16861
2009-11-18 14:58:15 +00:00
Robby Findler
cef2d065df removed printf
svn: r16767
2009-11-14 13:21:30 +00:00
Robby Findler
d783011981 fixed scrolling for image snips
svn: r16740
2009-11-13 02:00:16 +00:00
Robby Findler
7411fdfa57 added 'line'
svn: r16699
2009-11-11 21:29:59 +00:00
Robby Findler
1a8d681ed2 added a bunch more polygons
svn: r16681
2009-11-11 02:20:18 +00:00
Robby Findler
4e3b1b4c26 fixed some bad behavior (that I never completely understood) by changing the interpretation of the base images as drawing their centers at (0,0) instead of drawing their upper left corners at (0,0)
svn: r16676
2009-11-10 23:36:32 +00:00
Robby Findler
53f8290928 fixed an imprecision error
svn: r16633
2009-11-09 16:59:53 +00:00
Robby Findler
c239a21885 added text and text/font (but with some problems still) and changed the image saving setup so the filenames are not so long
svn: r16623
2009-11-08 22:00:07 +00:00
Robby Findler
faf055c858 added circle and star-polygon
svn: r16617
2009-11-08 00:19:53 +00:00
Robby Findler
3159a06389 (hopefully) sorted out polygons; added a few other polygon-based primitives
svn: r16570
2009-11-06 14:34:25 +00:00
Matthew Flatt
c483470deb fix some bad aligned-pasteboard tests
svn: r16348
2009-10-17 14:28:46 +00:00
Robby Findler
11e87632dc rearranged things so that 2htdp/image has its core snip stuff loaded into drscheme so that saving files with 2htdp/image images in them works
svn: r16317
2009-10-13 23:06:24 +00:00
Robby Findler
dfaf397cac added iota
svn: r16147
2009-09-28 19:36:38 +00:00
Robby Findler
6de735bf59 added sqrt
svn: r15749
2009-08-16 22:00:15 +00:00
Robby Findler
3f0b94e58a svn: r15712 2009-08-12 19:42:53 +00:00
Matthew Flatt
2850d101f3 clear bitmap created for a snip->cached-image-snip conversion
svn: r15656
2009-08-01 16:17:35 +00:00
Robby Findler
3c4bdf86fe added a close icon to the yellow warning message
svn: r15611
2009-07-28 20:40:54 +00:00
Robby Findler
3c6234efd9 svn: r15454 2009-07-16 01:07:16 +00:00
Robby Findler
ad856384a3 svn: r14818 2009-05-14 19:23:24 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Matthew Flatt
52d6fb4e1d aligned-pasteboard and cue-text% repairs
svn: r14463
2009-04-08 12:59:22 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Eli Barzilay
28d35ebb6a typo
svn: r14397
2009-04-01 06:10:22 +00:00
Eli Barzilay
0adc7a50f2 clarification
svn: r14388
2009-03-31 14:56:55 +00:00
Eli Barzilay
c5d2342999 added set-flip-labels?
svn: r14386
2009-03-31 14:54:40 +00:00
Eli Barzilay
a58ba38c52 added remove-links
svn: r14383
2009-03-31 12:22:29 +00:00
Eli Barzilay
3d04c4ce10 set-links-label! -> set-link-label
svn: r14382
2009-03-31 12:16:39 +00:00
Eli Barzilay
33c30e7dd7 document set-links-label!
svn: r14381
2009-03-31 12:13:47 +00:00
Eli Barzilay
202134e45c added set-links-label! to change a link label
svn: r14374
2009-03-31 05:57:44 +00:00
Eli Barzilay
fb3846cb43 always keep the lables right-side-up
svn: r14373
2009-03-31 04:53:23 +00:00
Matthew Flatt
5c7b122118 fix swiatchble-button to lose its hilite state when its hidden
svn: r13764
2009-02-21 13:30:01 +00:00
Robby Findler
265f75379a fixed a bug in a call to update-arrowhead-polygon
svn: r13250
2009-01-21 17:28:56 +00:00
Robby Findler
af810c8a6f added support for special-case drawing of individual edges to the graph library and support to be able to use that to redex
svn: r13226
2009-01-19 18:02:33 +00:00
Robby Findler
a4799be53c added support for customizing the edge label font to the graph library and propogated that argument to the redex traces and traces/ps functions
svn: r13155
2009-01-15 21:29:26 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Matthew Flatt
b58664d1f8 fix coerce-to-cache-image-snip
svn: r12973
2009-01-02 20:15:58 +00:00
Matthew Flatt
1642a84e69 add equal?/recur; implement equal? for image-snip% via properties
svn: r12950
2008-12-29 22:36:53 +00:00
Robby Findler
2207df048d now using the normalized versions of all of these unicode thingies
svn: r12605
2008-11-27 00:46:25 +00:00
Robby Findler
00abb80504 fixed a bug in copy/paste of images that have a zero dimension
svn: r12448
2008-11-14 14:53:20 +00:00
Robby Findler
788443072b misc improvements after writing a beginner program with contracts
svn: r12371
2008-11-10 05:54:04 +00:00
Eli Barzilay
ad2928e32a typo (PR9789)
svn: r11898
2008-09-28 22:59:34 +00:00