pro IDLitgrLayer__define

    compile_opt idl2, hidden

    struct = {IDLitgrLayer,           $
        inherits _IDLitContainer,       $ ; Superclass: _IDLitContainer
        inherits IDLgrView,             $ ; Superclass: IDLgrView
        INHERITS IDLitSelectParent,     $ ; Superclass
        inherits IDLitIMessaging,       $
        isSelected : 0b,                $
        bAspect: 0b,                    $ ; Maintain aspect ratio?
        bFrustumDirty: 0b,              $ ; 1= aspect or zoom dirty
        origFrustumRect: DBLARR(4),     $ ; Original Frustum
        aspectFrustumRect: DBLARR(4),   $ ; Virtual viewplane rect
                                        $ ;   corrected for aspect ratio
        virtualFrustumRect: DBLARR(4),  $ ; Virtual viewplane rect (scrolling)
                                        $ ;   corrected for aspect & zoom
        margin2DX: 0.0d,                $ ; Reported 2D margin (normalized
        margin2DY: 0.0d                 $ ;   relative to view layer)
    }
end