Matthew Flatt
bed64be873
allow larger font sizes --- up to 1024
...
It's not clear that any limit is still needed, and probably
font sizes should be liberalized to reals instead of
integers (but I don't want to spend that kind of time
right now).
2011-07-15 19:43:47 -06:00
Asumu Takikawa
2fdc56db3a
Use real contract in bitmap% docs
2011-07-13 15:35:38 -04:00
Matthew Flatt
007614fc9f
add gradient transformation to `brush%'
2011-07-13 10:45:19 -06:00
Matthew Flatt
4905d344dd
slideshow/pict: add `rotate'
...
which requires two new fields in the `child' struct to support
`lt-find', etc., when child picts are rotated
2011-07-04 16:26:09 -06:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
e921f20b6a
disable (minimize?) smoothing for `draw-bitmap' in 'unsmoothed mode
2011-06-30 12:25:56 -06:00
Eli Barzilay
a38f384a00
Finish converting scheme' ->
racket'.
...
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
f34a31cac9
"under <platform>" -> "on <platform>"; "X" -> "Unix"
...
I originally picked "under" as the preposition to go before
a platform name, but obviously you should build "on" a
platform, and "under" suddenly annoys me. The choice of "on"
is now codified in the documentation style guide. Meanwhile,
"Unix" insted of "X" seems more clear and consistent in the
`racket/gui' docs.
More usefully, this patch also fixes a few out-of-date
platform-specific claims.
2011-06-17 18:54:43 -06:00
Matthew Flatt
80bd949531
add mode to arc' in
dc-path%' to support right/bottom alignment
2011-06-16 08:17:14 -06:00
Matthew Flatt
b6445880e2
add pre-multiplied mode for `{get,set}-argb-pixels'
2011-05-18 16:01:33 -07:00
Matthew Flatt
905eb11651
fix alpha-only mode of `get-argb-pixels'
...
Closes PR 11927
2011-05-17 16:00:36 -07:00
Matthew Flatt
0011f5957d
fix rotation problems and sense of `transform'-like operations
...
so that they conceptually apply after the current
transformation, instead of before the current transformation;
more general rotation problems were related to aligned drawing
and the calculation of the effective scale for alignment
2011-05-10 09:53:49 -06:00
Asumu Takikawa
14ef89c37d
Fix documentation for gui, draw, and framework.
...
- General cleanup/consistency (e.g. void -> void?)
- Fix misdocumented methods (found violations via contracts)
2011-04-22 11:27:08 -04:00
Matthew Flatt
52598af1c7
fix doc typo
...
Closes PR 11840
2011-04-09 17:12:23 -06:00
Robby Findler
d265231452
added some examples for pen cap and join styles
2011-03-30 09:44:54 -05:00
Matthew Flatt
0fda70b7ca
fix region% problems
...
- fail gracefully with pre 1.4 Cairo
- clip all drawing for an empty clipping region
- disallow `is-empty?' on a region without a DC
(since the test depends on the DC dimensions)
2011-03-28 15:15:57 -06:00
Matthew Flatt
ad922d545c
document Unix lib dependencies for racket/draw' and
racket/gui/base'
2011-03-28 06:23:14 -06:00
Matthew Flatt
84ad491837
fix docs to explain pen cap and join styles
...
--- in prose, but pictures would be good, if anyone wants to add them
2011-03-27 16:27:19 -06:00
Matthew Flatt
67b7c8f3f4
fix PS/PDF size
...
since a PS/PDF bounding box is an integer, take the ceiling
of a requested width & height
2011-03-27 16:27:19 -06:00
Matthew Flatt
95f0d16761
clean up drawing with 0-width pens (hairline mode)
2011-03-27 14:21:21 -06:00
Matthew Flatt
e8cb27c08c
add `get-device-scale' to dc<%>
2011-03-15 07:37:42 -06:00
Robby Findler
bd3a43db98
changed some nonnegative-real?'s into (and/c real? (not/c negative?))'s
2011-03-14 19:38:24 -05:00
Matthew Flatt
da3fd90256
doc repair
...
for PR 11734 follow-up
2011-02-14 07:11:45 -07:00
Matthew Flatt
2d7dfab9b9
fix docs for methods that accept a list of pairs as points
2011-02-11 06:07:09 -07:00
Matthew Flatt
784c3de563
fix port as PostScript/PDF/SVG destination
...
by putting port-calling work in a specific thread
2011-01-18 19:50:50 -07:00
Matthew Flatt
98822cf1f9
adjust `racket/gui' and dependencies to survive a locked preference file
...
- adds a `#:timeout-lock-there' argument to `get-preference'
- fixes preference looup in `racket/gui'
- make preference names consistently use `GRacket' and consistently
fall back on `MrEd' names
- fix Emacs-style undo mode while we're at it
2011-01-18 17:37:33 -07:00
Matthew Flatt
a9dd80110a
restore doc & page checking for `post-script-dc%' et al.
...
and also fix up wiring of `printer-dc%' in `editor<%>' so
that `is-a?' tests works as expected
2011-01-14 20:30:51 -07:00
Matthew Flatt
6afffb329c
add `svg-dc%'
2011-01-10 16:41:16 -07:00
Matthew Flatt
4f56618c6d
improve canvas-drawing docs
2011-01-06 07:43:26 -07:00
Matthew Flatt
577755630a
disable brush gradient when the target is monochrome
2011-01-05 07:02:00 -07:00
Kevin Tew
c0ec320be0
Gradient doc fixes
2011-01-04 14:45:18 -07:00
Kevin Tew
e35603988a
gradients get picture examples
2011-01-04 13:51:30 -07:00
Matthew Flatt
553723627c
gradients: refine checking and docs to fit various conventions
2011-01-04 12:44:36 -07:00
Kevin Tew
b88ff89837
racket/draw gradient support
2011-01-04 11:37:06 -07:00
Robby Findler
b3a1d7860a
added default value for alpha in color%
2010-12-31 09:58:50 -06:00
Matthew Flatt
eddae6749d
clean up handling of not-ok?',
bitmap-dc%'-selected, and mutated bitmaps
2010-12-30 08:35:56 -07:00
Matthew Flatt
8c7f829205
add make-font' to
racket/draw'
2010-12-30 07:05:25 -07:00
Matthew Flatt
a974dad8bf
add alpha value to `color%'
2010-12-30 07:05:25 -07:00
Matthew Flatt
d2fb0b8f7d
further `draw-bitmap' doc improvements
2010-12-16 21:20:13 -07:00
Matthew Flatt
6f114b318b
correct draw-bitmap docs
2010-12-16 20:41:54 -07:00
Matthew Flatt
37682242e5
docs: clarify effect of mask-bitmap alphas channel in dc<%> draw-bitmap
2010-12-16 19:36:13 -07:00
Sam Tobin-Hochstadt
dae1543255
Fix local file reference to water.png image.
2010-12-13 14:37:08 -05:00
Matthew Flatt
93126d1546
dc, pen, and brush doc corrections related to v5.1 changes
2010-12-01 15:48:55 -07:00
Matthew Flatt
68391fe2ea
reorganize racket/gui docs and expand canvas-drawing overview
2010-11-27 20:05:20 -07:00
Matthew Flatt
af318c4501
move racket/draw overview back to the racket/draw manual
...
but keep expanded roadmap of drawing and GUI libraries
2010-11-27 17:48:09 -07:00
Matthew Flatt
8b3165d55b
move racket/draw overview to the Guide and expand it
...
--- plus some minor collateral API improvements
2010-11-27 16:34:32 -07:00
Matthew Flatt
e97414b7bf
bitmap% convertible to 'png-bytes; more Scribble Latex; pict in Slideshow docs
2010-11-27 07:36:12 -07:00