Header menu logo issie

SymbolResizeHelpers Module

Nested modules

Modules Description

Constants

Functions and values

Function or value Description

adjustPosForRotation rotation h w pos

Full Usage: adjustPosForRotation rotation h w pos

Parameters:
Returns: XYPos
rotation : Rotation
h : float
w : float
pos : XYPos
Returns: XYPos

changeSymbolCorners showCorners sym

Full Usage: changeSymbolCorners showCorners sym

Parameters:
Returns: Symbol
showCorners : ShowCorners
sym : Symbol
Returns: Symbol

flipSideHorizontal edge

Full Usage: flipSideHorizontal edge

Parameters:
Returns: Edge

Flips a side horizontally

edge : Edge
Returns: Edge

flipSymbol orientation sym

Full Usage: flipSymbol orientation sym

Parameters:
Returns: Symbol

Takes in a symbol and returns the same symbol flipped

orientation : FlipType
sym : Symbol
Returns: Symbol

hideCompCorners model

Full Usage: hideCompCorners model

Parameters:
Returns: Model
model : Model
Returns: Model

manualSymbolResize model compId fixedCornerLoc mPos

Full Usage: manualSymbolResize model compId fixedCornerLoc mPos

Parameters:
Returns: Model * Cmd<'a>

Resize a custom component so corner follows current mouse location. Note that we expect current mouse to be close to one of the corners.

model : Model
compId : ComponentId
fixedCornerLoc : XYPos
mPos : XYPos
Returns: Model * Cmd<'a>

rotateAntiClockByAng rotAngle sym

Full Usage: rotateAntiClockByAng rotAngle sym

Parameters:
Returns: Symbol
rotAngle : Rotation
sym : Symbol
Returns: Symbol

rotatePortInfo rotation portMaps

Full Usage: rotatePortInfo rotation portMaps

Parameters:
Returns: PortMaps

rotates the portMap information left or right as per rotation

rotation : Rotation
portMaps : PortMaps
Returns: PortMaps

rotateSide rotation side

Full Usage: rotateSide rotation side

Parameters:
Returns: Edge
rotation : Rotation
side : Edge
Returns: Edge

rotateSymbol rotation sym

Full Usage: rotateSymbol rotation sym

Parameters:
Returns: Symbol

Takes a symbol in and returns the same symbol rotated left or right

rotation : Rotation
sym : Symbol
Returns: Symbol

showCompCorners model cornerShow compIds

Full Usage: showCompCorners model cornerShow compIds

Parameters:
Returns: Model

Given a model it will change the appearance of all the specified components' corners

model : Model
cornerShow : ShowCorners
compIds : ComponentId list
Returns: Model

Type something to start searching.