Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / DrawScene Method
The viewport to draw
Image resolution scale
The factor applied to the line weight of the wire entities
Zoom rectangle
If true, the overlaying UI elements are drawn
If true, front and back OpenGL buffers will be swapped

In This Topic
    DrawScene Method (ViewportLayout)
    In This Topic
    Main drawing method.
    Syntax
    'Declaration
     
    Protected Sub DrawScene( _
       ByVal viewport As Viewport, _
       ByVal drawScale As Single, _
       ByVal lineWeightFactor As Single, _
       ByVal zoomRect As RectangleF, _
       ByVal drawOverlay As Boolean, _
       ByVal swapBuffer As Boolean, _
       ByVal designTime As Boolean _
    ) 
    protected void DrawScene( 
       Viewport viewport,
       float drawScale,
       float lineWeightFactor,
       RectangleF zoomRect,
       bool drawOverlay,
       bool swapBuffer,
       bool designTime
    )

    Parameters

    viewport
    The viewport to draw
    drawScale
    Image resolution scale
    lineWeightFactor
    The factor applied to the line weight of the wire entities
    zoomRect
    Zoom rectangle
    drawOverlay
    If true, the overlaying UI elements are drawn
    swapBuffer
    If true, front and back OpenGL buffers will be swapped
    designTime
    See Also