Commit Graph

92 Commits

Author SHA1 Message Date
Robby Findler
e9ddc54b18 added the #:draw-border? argument to disk and filled-ellipse 2012-06-10 11:53:54 -05:00
Matthew Flatt
b098ca7aa6 slideshow: run a slideshow' or main' submodule, if any
A common Slideshow pattern is to put a subset of slides in its
own module with a `run-slides' function, and then you'd
(un)comment a `(run-slides)' call at the end of the module to
work on the subset by itself. Now, you can write
`(module+ main (run-slides))' atthe end of the module and not
have to comment it out. Adding `main' support to the `slideshow'
executable makes it more consistent with using `racket' directly.
Checking first for a `slideshow' submodule makes it possible
for `slideshow' and `racket' to do different things, in case
that's useful.
2012-05-29 11:00:43 -06:00
Matthew Flatt
5962e542f7 slideshow: add `slide->pict' 2012-05-22 06:20:54 -04:00
Matthew Flatt
1ee2b6a522 slideshow: add current-gap-size' and some #:gap-size' arguments 2012-05-20 13:39:08 -06:00
Robby Findler
9d000cdd1a added thermometer 2012-05-18 10:48:24 -05:00
Matthew Flatt
81eb15f655 doc correction 2012-04-19 08:15:11 -06:00
Matthew Flatt
351e82735b move and rename pict `convert' support
Renamed `convert' to `pict-convert', etc., to avoid confusion
with `file/convert' bindings.

Moved out of `slideshow/pict' to `slideshow/pict-convert', because
most `slideshow/pict' clients do not need it.
2012-04-06 18:51:10 -06:00
Matthew Flatt
d635b93644 slideshow/pict: sync text' size limit with font%' 2012-04-02 16:45:37 -06:00
Matthew Flatt
b3002cfab0 add hinting configuration to `font%'
The default is that hiniting is enabled, which causes some text
metrics (notably width) to be rounded to integer values, which makes
spacing more consistent. This default is backward-compatible. The
non-default 'unaligned mode refrains from rounding, which makes metric
information scale correctly and improves output for PS/PDF (such as
Redex output).

The `text' function from `slideshow/pict' defaults to
disabling hinting --- which is consistent with its default to combine
text instead of drawing character-by-character -- so slides and Redex
inherit the improvement.
2012-03-27 11:16:27 -06:00
Robby Findler
df4dbe615f add a convertible interface to texpict that lets
values be convertiable to picts.

use that interface in DrRacket, but via the suboptimal
screen-bitmap route (for now)
2012-02-24 10:48:19 -06:00
Matthew Flatt
323c74fd09 added docs for a&d args of slideshow's dc procedure
Based on John Clements's correction

Also, improve some cross references.
2012-01-29 06:50:35 -07:00
Neil Toronto
076453dacc Use bitmap' instead of icon->pict'
Rename `pict->icon' to `pict->bitmap' and put in `slideshow/pict'
2011-12-01 17:04:31 -07:00
Robby Findler
9b4e0ad15a add a #:draw-border? to filled-rounded-rectangle 2011-11-11 16:05:24 -06:00
Rodolfo Carvalho
a3890f7e32 Fix typo in Slideshow documentation 2011-10-10 11:49:24 -04:00
Robby Findler
d5e28ced91 fix documented contract to match actual function 2011-10-05 15:13:54 -05:00
Matthew Flatt
fa82d70cc6 slideshow/pict: add linestyle' and #:style' argument to `pin-line' 2011-08-24 09:07:13 -06:00
Eli Barzilay
d61eb53686 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Robby Findler
230f18a366 add some detail about bullet and o-bullet to slideshow docs
closes PR 12055
2011-07-19 16:17:02 -05:00
Matthew Flatt
25329c203c typo 2011-07-18 19:59:05 -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
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
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
679e9ef2e0 slideshow/pict: adjust `linewidth' to allow #f => transparent 2011-03-08 07:55:52 -06:00
Matthew Flatt
dce2ffc05c add missing doc 2011-01-06 12:53:17 -07:00
Matthew Flatt
8681e73278 set `dc-for-text-size' default to a bitmap DC (instead of #f) 2010-12-17 07:16:54 -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
Matthew Flatt
1b56d84155 have the pict datatype support conversion to PNG, EPS, or PDF bytes 2010-11-26 11:50:07 -07:00
Matthew Flatt
434236e8c9 doc typo 2010-08-24 05:39:47 -06:00
Robby Findler
7c3b8eadf8 adjusted the default code keywords to include racket/base 2010-08-20 09:19:14 -05:00
Robby Findler
2faca724e3 generalized the #:steps argument to play so different phases on an animation can take different amounts of time 2010-08-18 16:58:58 -05:00
Vincent St-Amour
477dc43a9d Fixed typoes in the slideshow documentation. 2010-08-13 18:48:33 -04:00
Matthew Flatt
59de3b4f5e fix doc typo
Closes PR 10905
 Merge to 5.0.1
2010-07-20 10:35:00 -06:00
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Eli Barzilay
c4f67b3e74 Small typos, some reformatting.
Fixes PR10920
2010-05-21 16:30:16 -04:00
Matthew Flatt
b072d85107 adjust Slideshow to not re-export printable<%>; improve docs for both Slideshow and Scribble 2010-05-14 11:33:08 -06:00
Matthew Flatt
ce21cf9fd8 rackety slideshow doc 2010-05-02 12:19:25 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Robby Findler
861c494693 added a keyword argument to filled-rectangle to make it avoid using a pen
svn: r18527
2010-03-12 20:50:26 +00:00
Matthew Flatt
8ea9b6e7c3 fix slide-assembler docs
svn: r16493
2009-10-31 21:32:04 +00:00
Robby Findler
74c1a6b0cb svn: r16426 2009-10-24 21:19:42 +00:00
Robby Findler
aa7a99112e fixed indentation of an example
svn: r16409
2009-10-22 14:48:42 +00:00
Matthew Flatt
83f9c99cf1 adjust para decoding to better work with @ notation
svn: r16220
2009-10-02 19:44:10 +00:00
Matthew Flatt
f25e8976b5 doc slideshow/play (merge to 4.2.2)
svn: r16116
2009-09-23 10:53:56 +00:00
Matthew Flatt
1a37d891ac change slideshow pict's 'last' field to contain a pict path
svn: r15759
2009-08-17 12:51:04 +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
Robby Findler
d5ee6c6813 added #:hide-arrowhead? flag
svn: r13881
2009-02-28 15:44:41 +00:00
Matthew Flatt
b2ae4264e3 change pin-line pull to a ratio
svn: r13821
2009-02-24 17:47:24 +00:00
Matthew Flatt
5c957f915c actually, just fold pin-curve, etc. into pin-line
svn: r13820
2009-02-24 17:39:21 +00:00