]> gitweb.factorcode.org Git - factor.git/blob - extra/cap/cap-docs.factor
909ee8562d6ab9ad5b7e909d49cc0b36b4faab70
[factor.git] / extra / cap / cap-docs.factor
1 USING: cap help.markup help.syntax images opengl ui.gadgets.worlds ;
2 IN: cap
3
4 HELP: screenshot.
5   { $values { "window" world } }
6   { $description
7     "Opens a window with a screenshot of the currently active window."
8   } ;
9
10 HELP: screenshot
11   { $values { "window" world } { "bitmap" image } }
12   { $description
13     "Creates a bitmap image of a UI window."
14   }
15   { $notes "If the current " { $link gl-scale-factor } " is " { $snippet "2.0" } ", then the " { $snippet "2x" } " slot in the resulting " { $link image } " will be " { $link t } "." } ;