From 599dda47450e0e00eeee8ebe85a40a3e200e3046 Mon Sep 17 00:00:00 2001 From: Neil Toronto Date: Fri, 13 Jan 2012 22:00:06 -0900 Subject: [PATCH] Removed timing examples (not reliable) Please merge into release --- collects/images/scribblings/logos.scrbl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/collects/images/scribblings/logos.scrbl b/collects/images/scribblings/logos.scrbl index fcfd4373ac..1d5c40c47d 100644 --- a/collects/images/scribblings/logos.scrbl +++ b/collects/images/scribblings/logos.scrbl @@ -19,19 +19,18 @@ @doc-apply[plt-logo]{ Returns the PLT logo, rendered on clear glass and blue metal by the ray tracer that renders icons. +@examples[#:eval logos-eval (plt-logo)] + A 256×256 (default-size) rendering is compiled into the @racketmodname[images/logos] module using @racket[compiled-bitmap], meaning that constructing the logo at that size and smaller is cheap. -In fact, constructing the logo at the default size is essentially free: -@interaction[#:eval logos-eval - (time (plt-logo)) - (time (plt-logo 128)) - (time (plt-logo 257))] +In fact, constructing the logo at the default size is essentially free because it does not need to be downscaled. } @doc-apply[planet-logo]{ Returns an unofficial PLaneT logo. This is used as the PLaneT icon when DrRacket downloads PLaneT packages. +@examples[#:eval logos-eval + (planet-logo) + (planet-logo (default-icon-height))] + As with the @racket[plt-logo], a default-size rendering is compiled into the @racketmodname[images/logos] module for performance reasons. -@interaction[#:eval logos-eval - (time (planet-logo)) - (planet-logo (default-icon-height))] }