Command: wcloth (deprecated)

Syntax

wcloth <window> {,<file>}

or

wcloth <window> {
    <data_block>
}

Description

Define the backcloth characteristics for a graphic window. A backcloth is one or more image files over which entity graphics are displayed.

Several layers (levels) of image files are permitted to accommodate different levels of detail.

Parameters

Switches

Block

Each line within <data_block> should contain one or more backcloth definition phrases. Multiple phrases on a line should be separated by commas. Each level of backcloth should have the following:

Within each level of backcloth, the following phrases are permitted to defining the image ‘tiles’:

The following phrases is permitted once only in the data block, and provide general information for the whole cloth system:

Notes

A window's backcloth characteristics may also be set to the contents of a file by setting the window.cloth attribute.

Examples

# Cloth definition:
wcloth mywin, -q {
# Define a grey bitmap for lower intensity ...
    stencil=grey50
# Define the units to be meters ...
    units = 'm'
# Define level 1 as a small scale overview ...
    level=1, scale=139, max=500, view=plan
    file=$MXIMAGES/xras/index.ras, title='Index Raster',\
        p=(194600,5718700.9746,0)
# Define level 2 as larger scale, transparent
#   so that level 1 shows through:
    level=2, scale=10, max=20, min=0.1, view=plan, trans, -fc=blue
    file=$MXIMAGES/xras/s10_1.ras, title='Streets 1',\
        p=(278610,5758763.3711,0)
    file=$MXIMAGES/xras/s10_2.ras, title='Streets 2',\
        p=(286550,5758763.3711,0)
    file=$MXIMAGES/xras/s10_3.ras, title='Streets 3’,\
        p=(282580,5770005.2126,0)

The above code within { and }, if stored in a file named clothinfo.dat, could be assigned to a window by the following:

wcloth win1, clothinfo.dat

See Also

Commands:

rasdump, tile, window, wpaint

Structures:

window (graphic)