VisuFctAdjustElemRectAndSelectRect (FUN)

FUNCTION VisuFctAdjustElemRectAndSelectRect

Helper function to adjust the size of the element rectangle and position of the selection rectangle if the element is selected.

InOut:

Scope

Name

Type

Comment

Input

pCurrentPosition

POINTER TO VisuStructSimpleRectangle

current element rectangle

pSelectionData

POINTER TO Visu_StructSelectionData

iEffectiveLineWidth

INT

SelectedElement

IVisualElement

Output

iLineWidth

INT