* WHERE-IS library doc * Gather keyboard files, add VIRTUAL.TEDIT * add UNIXCOMM.TEDIT * rest of TEdit library files * save table of contents index for reworking * Don't move around VIRTUALKEYBOARDS files; will move in separate commit * Add MATMULT from Envos/Medley
69 lines
43 KiB
Plaintext
69 lines
43 KiB
Plaintext
1
|
||
|
||
Lisp Library Modules, Medley Release 1.15, EDITBITMAP
|
||
1
|
||
|
||
Lisp Library Modules, Medley Release 1.15, EDITBITMAP
|
||
EDITBITMAP
|
||
1
|
||
|
||
EDITBITMAP
|
||
1
|
||
|
||
|
||
EDITBITMAP
|
||
6
|
||
|
||
EditBitMap(EDITBITMAP NIL EditBitMap NIL NIL 61) provides an interface (EDIT.BITMAP) for creating and editing bitmaps, which may exist as named files or as part of another type of a file (for example, a document written in TEdit).
|
||
EditBitMap puts up a menu of bitmap-manipulation commands, one of which is HAND.EDIT, which accesses EDITBM(EDITBM (function) NIL NIL NIL 61), the Interlisp-D bitmap editor.
|
||
EditBitMap also works on cursors (produces new cursor) and symbols (works on the value and resets the value with the result).
|
||
Requirements
|
||
1
|
||
|
||
READNUMBER
|
||
SCALEBITMAP
|
||
Installation
|
||
1
|
||
|
||
Load EDITBITMAP.LCOM and the required .LCOM modules from the library.
|
||
User Interface
|
||
1
|
||
|
||
The user interface consists of a function (EDIT.BITMAP), a main operation menu, and a three-part window for low-level pixel editing.
|
||
There are two principal ways of entering the bitmap editor. If the bitmap is an object in a document being edited, you can enter the bitmap editor by pressing the left button over the bitmap. If the bitmap is an object you are manipulating as part of a program, you can call the function EDIT.BITMAP from the Executive, passing it the bitmap (typically the value of some variable).
|
||
In either case, EditBitMap presents its main menu, from which you select the operation you desire. If the operation is "Hand Edit", EditBitMap brings up a three-part window to show, create, or edit a bitmap. The individual EditBitMap operations can also be performed programmatically or from the Executive (see "Functions").
|
||
EDIT.BITMAP
|
||
The function EDIT.BITMAP is the principal way to create, view or edit bitmaps stored as the values of variables (or other easily accessible Lisp values):
|
||
(EDIT.BITMAP(EDIT.BITMAP (function) NIL NIL NIL 61) BITMAP) [Function]
|
||
BITMAP may be a bitmap, a cursor, or a symbol. If BITMAP is a bit map, then EDIT.BITMAP returns a new bitmap as the result of the edit. If BITMAP is a cursor, then EDIT.BITMAP operates on its bitmap and returns a new cursor. If BITMAP is a symbol, then EDIT.BITMAP operates on the symbol's value (a bitmap or cursor), and resets the symbol's value to the result of the edit.
|
||
EditBitMap brings up a main menu containing the following items:
|
||
|