• ↖ Home
  • Developer´s Guide
    • ↑ Contents
    • Code
    • Embedding
    • Tcl
    • SVG
    • SVG-Import
    • Projects
    • License
    • Index
  • Download
    • Jeszra: Source Code

    • Ruby Wrapper Classes
    • Python Wrapper Classes
    • Lisp Wrapper Classes
  • Books@Lulu.com...
    • Jeszra: Design by Gestalt
    • Jeszra Library: Design by Gestalt

    • Gestalt Items
    • Runtime Library
  • Manual
    • Jeszra Book

    • Tcl Manual
    • Ruby Manual
    • Python Manual
    • Lisp Manual

    • API
  • About
screenshot
← Chapter 4. SVG- Code Generation →

Name

dumper::screenshot

Synopsis

          screenshot type \
             target
        

Description

NOT POSSIBLE

TkPath surface is not suitable to get a screen-shot from a certain section. Only packages such as »img«, »pixane« provide the necessary functions. - Img seems to have trouble with base64 encoding? And I don't want to make it mandatory. - pixane is closed source.

Issue remains open. This procedure remains a place holder, until it can be sorted out.

In order to get a functional SVG output, instantiate is called. Instantiate is being called »before« screenshot.

Some window classes are registered for using screen-shots:

Example 4.49. Register for Screen-shots

vgcode::register-screenshot \
TButton TRadiobutton TCheckbutton TMenubutton \
Spinbox TNotebook Radiobutton Checkbutton Menubutton \
Scale Scrollbar



... the registration code is shown above.

There is a Img related version included. That is, screen-shots are taken using Img. However the results are very bad under AQUA, some issue within Img 1.3, I think.

Under AQUA, Button is registered to use the screen-shot facility, too.


← ↖ →
complexText ↑ doarrow
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider