Define Initial View


Purpose

Syntax

Opcode format Opcode Operand Format Comments
Extended ASCII (View [<ws><IX1>,<IY1><ws><IX2>,<IY2>]['<TName>'][<ws>]) Indicates an area of the logical coordinate space to view

 

Details

Notes

    1. If this .dwf file was loaded by the execution of a URL, and the URL indicated a view, use it,
    2. else if the .dwf file contains a view opcode, execute it,
    3. else if the .dwf file contained a Define Drawing Bounds opcode, use the drawing extents as the view,
    4. else if the entire .dwf file has been transmitted and parsed, compute the extents of all geometric primitives in the scene and use that as the view,
    5. else set the view to the entire logical coordinate space.

    DWF reading applications may receive view information from the execution of URLs. The specification of this behavior is to be determined (TBD).

    It is possible that a .dwf file will have multiple view opcodes which can be used to animate the drawing while the file is being parsed. However, only the first view opcode, normally found in the Define Drawing Information Block block, is the official "initial" view.

Default

 

Implementation in WHIP! Versions

Toolkit Function

TBD

Partial

Full

Revised in

Define Initial View -

-

1.03

2.0

 See Also