Symbol Module
Nested modules
Modules | Description |
Functions and values
Function or value | Description |
|
|
|
|
|
|
Full Usage:
busSelectTitle wob lsb
Parameters:
int
lsb : int
Returns: string
|
|
Full Usage:
busTitleAndBits t n
Parameters:
string
n : int
Returns: string
|
|
|
|
|
|
Full Usage:
createNewSymbol ldcs pos comptype label theme
Parameters:
LoadedComponent list
pos : XYPos
comptype : ComponentType
label : string
theme : ThemeType
Returns: Symbol
|
|
Full Usage:
customStringToLength lst
Parameters:
string list
Returns: float
|
|
Full Usage:
customToLength lst
Parameters:
(string * int) list
Returns: int
|
|
|
|
Full Usage:
getBoundingBox symModel compid
Parameters:
Model
compid : ComponentId
Returns: BoundingBox
Modifiers: inline |
|
Full Usage:
getBoundingBoxes symModel
Parameters:
Model
Returns: Map<ComponentId, BoundingBox>
|
|
Full Usage:
getCompRotatedHAndW comp transform hScale vScale
Parameters:
Component
transform : STransform
hScale : float option
vScale : float option
Returns: float * float
Modifiers: inline |
|
Full Usage:
getComponentLegend componentType rotation
Parameters:
ComponentType
rotation : Rotation
Returns: string
|
|
Full Usage:
getComponentProperties compType label
Parameters:
ComponentType
label : string
Returns: int * int * float * float
|
|
|
|
|
|
Full Usage:
getGateNComponentLegend numInputs gType
Parameters:
int
gType : GateComponentType
Returns: string
|
|
Full Usage:
getInputPortLocation defPos model portId
Parameters:
XYPos option
model : Model
portId : InputPortId
Returns: XYPos
Modifiers: inline |
|
|
|
Full Usage:
getLabelBoundingBox model compId
Parameters:
Model
compId : ComponentId
Returns: BoundingBox
|
|
Full Usage:
getLabelBoundingBoxes model
Parameters:
Model
Returns: Map<ComponentId, BoundingBox>
|
|
|
|
Full Usage:
getOutputPortLocation defPos model portId
Parameters:
XYPos option
model : Model
portId : OutputPortId
Returns: XYPos
Modifiers: inline |
|
|
|
|
|
|
|
Full Usage:
getPortLocations model symbolIds
Parameters:
Model
symbolIds : ComponentId list
Returns: Map<InputPortId, XYPos> * Map<OutputPortId, XYPos>
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
getRotatedCompCentre comp transform hScale vScale
Parameters:
Component
transform : STransform
hScale : float option
vScale : float option
Returns: XYPos
Modifiers: inline |
|
|
|
|
|
Full Usage:
getSymbolBoundingBox sym
Parameters:
Symbol
Returns: BoundingBox
Modifiers: inline |
|
Full Usage:
getSymbolColour compType clocked theme
Parameters:
ComponentType
clocked : bool
theme : ThemeType
Returns: string
|
|
|
|
|
|
Full Usage:
getTwoPortLocations model inputPortId outputPortId
Parameters:
Model
inputPortId : InputPortId
outputPortId : OutputPortId
Returns: XYPos * XYPos
Modifiers: inline |
|
|
|
|
|
|
|
Full Usage:
makeComponent pos compType id label
Parameters:
XYPos
compType : ComponentType
id : string
label : string
Returns: Component
|
|
|
|
|
|
Full Usage:
movePortsToCorrectEdgeForComponentType ct portMaps
Parameters:
ComponentType
portMaps : PortMaps
Returns: PortMaps
|
|
Full Usage:
nBitsGateTitle gateType n
Parameters:
string
n : int
Returns: string
|
|
|
Type extensions
Type extension | Description |
|
Extended Type:
|
|
Extended Type:
|