next node: WinRegulator,
prev node: WinFontMetrics,
up to node: Subsystem Opal Windows


WinImage

This structure provides images.

Note: documentation missing.

Signature of WinImage

List of Import References :
See BOOL
See BTUnion
See Char
See Com
See DENOTATION
See Int
See Nat
See Option
See Real
See Seq
See Set
See String
See Void
See WinConfig
See WinInternal
See WinTclTk

SIGNATURE WinImage

$Date: 2010-09-30 18:24:17 +0200 (Do, 30. Sep 2010) $ ($Revision: 616 $)

IMPORT  Void            ONLY    void:SORT
        Nat             ONLY    nat:SORT
        Real            ONLY    real:SORT
        String          ONLY    string:SORT
        Seq[image]      ONLY    seq:SORT

IMPORT  Com[image]      ONLY    com:SORT
        Com[void]       ONLY    com:SORT
        Com[size]       ONLY    com:SORT
        Com[seq[image]] ONLY    com:SORT

IMPORT  WinConfig       ONLY    size:SORT
        WinInternal     ONLY    config:SORT

Images in General

TYPE image              == image(name: denotation)
SORT iconfig
FUN  {}                 : iconfig
FUN  ++                 : iconfig ** iconfig -> iconfig

FUN images              :                          com[seq[image]]
FUN delete              : image                 -> com[void]

FUN size                : image                 -> com[size]

FUN set                 : image ** iconfig      -> com[void]

Bitmaps

FUN bitmap              :                          com[image]
FUN bitmap              : iconfig               -> com[image]

FUN data                : string                -> iconfig
FUN data                : denotation            -> iconfig
FUN maskData            : string                -> iconfig
FUN maskData            : denotation            -> iconfig

FUN file                : string                -> iconfig
FUN file                : denotation            -> iconfig
FUN maskFile            : string                -> iconfig
FUN maskFile            : denotation            -> iconfig

Photos

FUN photo               :                          com[image]
FUN photo               : iconfig               -> com[image]

FUN data                : string                -> iconfig
FUN data                : denotation            -> iconfig

FUN file                : string                -> iconfig
FUN file                : denotation            -> iconfig

FUN gamma               : real                  -> iconfig

FUN greyPalette         : nat                   -> iconfig
FUN colorPalette        : nat ** nat ** nat     -> iconfig

FUN pixelWidth          : nat                   -> iconfig
FUN pixelHeight         : nat                   -> iconfig

/*
Missing: editing operations on photos. Need a gate
photoEditor.
*/

Attaching Images to Views or Items

FUN image               : image                 -> config


next node: WinRegulator,
prev node: WinFontMetrics,
up to node: Subsystem Opal Windows