Difference between revisions of "Component: Marking control (Misc)"

From Flowcode Help
Jump to navigationJump to search
(Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.1 |- | width="20%" style="color:gray...")
 
 
Line 20: Line 20:
  
 
==Detailed description==
 
==Detailed description==
 +
 +
  
  
Line 32: Line 34:
  
 
==Examples==
 
==Examples==
 +
 +
  
  
Line 378: Line 382:
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
 
 
|-
 
|-
 
|}
 
|}

Latest revision as of 17:21, 9 November 2022

Author Matrix Ltd
Version 1.1
Category Misc


Marking control component

A control to draw markings on any component

Component Pack

MODELS

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png DrawStripY
Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()  
Fc9-s16-icon.png - INT OffsetX
Offset to add to X 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetTarget
Sets the target image to draw on 
Fc9-u32-icon.png - ULONG Target
 
Fc9-s16-icon.png - INT AreaX
The X area to draw on 
Fc9-s16-icon.png - INT AreaY
The Y area to draw on 
Fc9-bool-icon.png - BOOL AutoCreate
Set true to auto-create the graphic 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png DrawStripX
Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()  
Fc9-s16-icon.png - INT OffsetY
Offset to add to Y 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png BoundRange
Bounds a range to be between RangeStart and RangeEnd 
Fc9-f32-icon.png - FLOAT Range
The unbounded range 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png DrawArc
Draw the marks on the readout Set up the position and range with SetRange() and SetArc()  
Fc9-f32-icon.png - FLOAT Radius
Scale of the radius to draw at 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetAngles
Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 
Fc9-s16-icon.png - INT Start
 
Fc9-s16-icon.png - INT End
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetShow
Decides on the presentation of the dial 
Fc9-bool-icon.png - BOOL ShowNumbers
True to show numbers on the dial, else false 
Fc9-bool-icon.png - BOOL ShowMarks
Show marks 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png CalcScaleRange
Decide the range value for a 0->1 value Returned value may be out of range  
Fc9-f32-icon.png - FLOAT ScaledRange
 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png CalcAngRange
Decide the range value for an angle Returned value may be out of range  
Fc9-f32-icon.png - FLOAT AngleDegrees
 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png CalcScale
Decide the scale (0->1) to display at given a range value 
Fc9-f32-icon.png - FLOAT RangeVal
 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png SetMarks
Decides on the presentation of the dial 
Fc9-s16-icon.png - INT Marks
Number of marks on the dial 
Fc9-s16-icon.png - INT Subs
Number of marks before a 'main' mark - can be zero 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ClearArea
Clears the draw area 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetRange
Sets the min-max range to draw on the dial Used for setting the needle 
Fc9-s16-icon.png - INT Start
 
Fc9-s16-icon.png - INT End
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetGaps
Sets the min-max of the span to draw on the X/Y marks Defaults are 0 and 1 
Fc9-s16-icon.png - INT Start
 
Fc9-s16-icon.png - INT End
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png SetJustify
 
Fc9-bool-icon.png - BOOL RAlign
True for right/top/outer alignment 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png CalcAngle
Decide the angle to display at given a range value 
Fc9-f32-icon.png - FLOAT RangeVal
 
Fc9-f32-icon.png - FLOAT Return



Property reference

Fc9-prop-icon.png Properties