|
|
| (4 intermediate revisions by the same user not shown) |
| Line 22: |
Line 22: |
| | | | |
| | ==Detailed description== | | ==Detailed description== |
| | + | |
| | + | |
| | | | |
| | | | |
| Line 68: |
Line 70: |
| | | | |
| | | | |
| − | ''<span style="color:red;">No additional examples</span>''
| |
| | | | |
| | | | |
| − | ==Macro reference== | + | ''<span style="color:red;">No additional examples</span>'' |
| | | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripY'''
| |
| − | |-
| |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | OffsetX
| |
| − | |-
| |
| − | | colspan="2" | Offset to add to X
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| | | | |
| | | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTarget'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the target image to draw on
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
| |
| − | | width="90%" | Target
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | AreaX
| |
| − | |-
| |
| − | | colspan="2" | The X area to draw on
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | AreaY
| |
| − | |-
| |
| − | | colspan="2" | The Y area to draw on
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | AutoCreate
| |
| − | |-
| |
| − | | colspan="2" | Set true to auto-create the graphic
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| | | | |
| | | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripX'''
| |
| − | |-
| |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | OffsetY
| |
| − | |-
| |
| − | | colspan="2" | Offset to add to Y
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| | | | |
| | | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''BoundRange'''
| |
| − | |-
| |
| − | | colspan="2" | Bounds a range to be between RangeStart and RangeEnd
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | Range
| |
| − | |-
| |
| − | | colspan="2" | The unbounded range
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| | | | |
| | | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawArc'''
| |
| − | |-
| |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetArc()
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | Radius
| |
| − | |-
| |
| − | | colspan="2" | Scale of the radius to draw at
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| | | | |
| | | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetAngles'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Start
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | End
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| | | | |
| | + | ==Macro reference== |
| | | | |
| | + | ===BoundRange=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetShow''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''BoundRange''' |
| | |- | | |- |
| − | | colspan="2" | Decides on the presentation of the dial | + | | colspan="2" | Bounds a range to be between RangeStart and RangeEnd |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | ShowNumbers
| |
| − | |-
| |
| − | | colspan="2" | True to show numbers on the dial, else false
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | ShowMarks
| |
| − | |-
| |
| − | | colspan="2" | Show marks
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScaleRange'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the range value for a 0->1 value Returned value may be out of range
| |
| | |- | | |- |
| | |- | | |- |
| | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT |
| − | | width="90%" | ScaledRange | + | | width="90%" | Range |
| | |- | | |- |
| − | | colspan="2" | | + | | colspan="2" | The unbounded range |
| | |- | | |- |
| | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT | | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| Line 242: |
Line 106: |
| | | | |
| | | | |
| | + | ===CalcAngRange=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| Line 260: |
Line 125: |
| | | | |
| | | | |
| | + | ===CalcAngle=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScale''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcAngle''' |
| | |- | | |- |
| − | | colspan="2" | Decide the scale (0->1) to display at given a range value | + | | colspan="2" | Decide the angle to display at given a range value |
| | |- | | |- |
| | |- | | |- |
| Line 278: |
Line 144: |
| | | | |
| | | | |
| | + | ===CalcScale=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetMarks''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScale''' |
| | |- | | |- |
| − | | colspan="2" | Decides on the presentation of the dial | + | | colspan="2" | Decide the scale (0->1) to display at given a range value |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Marks
| |
| − | |-
| |
| − | | colspan="2" | Number of marks on the dial
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Subs
| |
| − | |-
| |
| − | | colspan="2" | Number of marks before a 'main' mark - can be zero
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearArea'''
| |
| − | |-
| |
| − | | colspan="2" | Clears the draw area
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetRange'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the min-max range to draw on the dial Used for setting the needle
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Start
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | End
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetGaps'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the min-max of the span to draw on the X/Y marks Defaults are 0 and 1
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Start
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | End
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetJustify'''
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | RAlign
| |
| − | |-
| |
| − | | colspan="2" | True for right/top/outer alignment
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcAngle'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the angle to display at given a range value
| |
| | |- | | |- |
| | |- | | |- |
| Line 396: |
Line 163: |
| | | | |
| | | | |
| − | | + | ===CalcScaleRange=== |
| − | | |
| − | ==Property reference== | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
| − | |-
| |
| − | |}==Macro reference==
| |
| − | | |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripY''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScaleRange''' |
| | |- | | |- |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan() | + | | colspan="2" | Decide the range value for a 0->1 value Returned value may be out of range |
| | |- | | |- |
| | |- | | |- |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT | + | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT |
| − | | width="90%" | OffsetX | + | | width="90%" | ScaledRange |
| − | |-
| |
| − | | colspan="2" | Offset to add to X
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTarget'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the target image to draw on
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
| |
| − | | width="90%" | Target
| |
| | |- | | |- |
| | | colspan="2" | | | | colspan="2" | |
| | |- | | |- |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| − | | width="90%" | AreaX
| |
| − | |-
| |
| − | | colspan="2" | The X area to draw on
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | AreaY
| |
| − | |-
| |
| − | | colspan="2" | The Y area to draw on
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | AutoCreate
| |
| − | |-
| |
| − | | colspan="2" | Set true to auto-create the graphic
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | |
| | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | | width="90%" style="border-top: 2px solid #000;" | ''Return'' |
| | |} | | |} |
| | | | |
| | | | |
| | + | ===ClearArea=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripX''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearArea''' |
| | |- | | |- |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan() | + | | colspan="2" | Clears the draw area |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | OffsetY
| |
| | |- | | |- |
| − | | colspan="2" | Offset to add to Y
| |
| | |- | | |- |
| | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |
| Line 476: |
Line 196: |
| | | | |
| | | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| + | ===DrawArc=== |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''BoundRange'''
| |
| − | |-
| |
| − | | colspan="2" | Bounds a range to be between RangeStart and RangeEnd
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | Range
| |
| − | |-
| |
| − | | colspan="2" | The unbounded range
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| Line 512: |
Line 215: |
| | | | |
| | | | |
| | + | ===DrawStripX=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetAngles''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripX''' |
| | |- | | |- |
| − | | colspan="2" | Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 | + | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan() |
| | |- | | |- |
| | |- | | |- |
| | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT | | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
| − | | width="90%" | Start | + | | width="90%" | OffsetY |
| | |- | | |- |
| − | | colspan="2" | | + | | colspan="2" | Offset to add to Y |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | End
| |
| − | |-
| |
| − | | colspan="2" |
| |
| | |- | | |- |
| | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |
| Line 535: |
Line 234: |
| | | | |
| | | | |
| | + | ===DrawStripY=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetShow''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripY''' |
| | |- | | |- |
| − | | colspan="2" | Decides on the presentation of the dial | + | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan() |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | ShowNumbers
| |
| − | |-
| |
| − | | colspan="2" | True to show numbers on the dial, else false
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | ShowMarks
| |
| − | |-
| |
| − | | colspan="2" | Show marks
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScaleRange'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the range value for a 0->1 value Returned value may be out of range
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | ScaledRange
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcAngRange'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the range value for an angle Returned value may be out of range
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | AngleDegrees
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScale'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the scale (0->1) to display at given a range value
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | RangeVal
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetMarks'''
| |
| − | |-
| |
| − | | colspan="2" | Decides on the presentation of the dial
| |
| | |- | | |- |
| | |- | | |- |
| | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT | | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
| − | | width="90%" | Marks | + | | width="90%" | OffsetX |
| | |- | | |- |
| − | | colspan="2" | Number of marks on the dial | + | | colspan="2" | Offset to add to X |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Subs
| |
| − | |-
| |
| − | | colspan="2" | Number of marks before a 'main' mark - can be zero
| |
| | |- | | |- |
| | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |
| Line 635: |
Line 253: |
| | | | |
| | | | |
| | + | ===SetAngles=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearArea''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetAngles''' |
| | |- | | |- |
| − | | colspan="2" | Clears the draw area
| + | | colspan="2" | Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetRange'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the min-max range to draw on the dial Used for setting the needle | |
| | |- | | |- |
| | |- | | |- |
| Line 671: |
Line 277: |
| | | | |
| | | | |
| | + | ===SetGaps=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| Line 694: |
Line 301: |
| | | | |
| | | | |
| | + | ===SetJustify=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| Line 712: |
Line 320: |
| | | | |
| | | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| + | ===SetMarks=== |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcAngle'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the angle to display at given a range value
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | RangeVal
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | | |
| − | | |
| − | ==Property reference==
| |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
| − | |-
| |
| − | |}==Macro reference==
| |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripY'''
| |
| − | |-
| |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | OffsetX
| |
| − | |-
| |
| − | | colspan="2" | Offset to add to X
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTarget'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the target image to draw on
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
| |
| − | | width="90%" | Target
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | AreaX
| |
| − | |-
| |
| − | | colspan="2" | The X area to draw on
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | AreaY
| |
| − | |-
| |
| − | | colspan="2" | The Y area to draw on
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | AutoCreate
| |
| − | |-
| |
| − | | colspan="2" | Set true to auto-create the graphic
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripX'''
| |
| − | |-
| |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | OffsetY
| |
| − | |-
| |
| − | | colspan="2" | Offset to add to Y
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''BoundRange'''
| |
| − | |-
| |
| − | | colspan="2" | Bounds a range to be between RangeStart and RangeEnd
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | Range
| |
| − | |-
| |
| − | | colspan="2" | The unbounded range
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawArc'''
| |
| − | |-
| |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetArc()
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | Radius
| |
| − | |-
| |
| − | | colspan="2" | Scale of the radius to draw at
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetAngles'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Start
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | End
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetShow'''
| |
| − | |-
| |
| − | | colspan="2" | Decides on the presentation of the dial
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | ShowNumbers
| |
| − | |-
| |
| − | | colspan="2" | True to show numbers on the dial, else false
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | ShowMarks
| |
| − | |-
| |
| − | | colspan="2" | Show marks
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScaleRange'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the range value for a 0->1 value Returned value may be out of range
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | ScaledRange
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcAngRange'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the range value for an angle Returned value may be out of range
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | AngleDegrees
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScale'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the scale (0->1) to display at given a range value
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | RangeVal
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| Line 969: |
Line 344: |
| | | | |
| | | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| + | ===SetRange=== |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearArea'''
| |
| − | |-
| |
| − | | colspan="2" | Clears the draw area
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| Line 1,005: |
Line 368: |
| | | | |
| | | | |
| | + | ===SetShow=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetGaps''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetShow''' |
| | |- | | |- |
| − | | colspan="2" | Sets the min-max of the span to draw on the X/Y marks Defaults are 0 and 1 | + | | colspan="2" | Decides on the presentation of the dial |
| | |- | | |- |
| | |- | | |- |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT | + | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL |
| − | | width="90%" | Start | + | | width="90%" | ShowNumbers |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | End
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetJustify'''
| |
| − | |-
| |
| − | | colspan="2" |
| |
| | |- | | |- |
| | + | | colspan="2" | True to show numbers on the dial, else false |
| | |- | | |- |
| | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL | | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL |
| − | | width="90%" | RAlign | + | | width="90%" | ShowMarks |
| | |- | | |- |
| − | | colspan="2" | True for right/top/outer alignment | + | | colspan="2" | Show marks |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcAngle'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the angle to display at given a range value
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | RangeVal
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − | | |
| − | | |
| − | | |
| − | | |
| − | ==Property reference==
| |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
| − | |-
| |
| − | |}==Macro reference==
| |
| − | | |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripY'''
| |
| − | |-
| |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | OffsetX
| |
| − | |-
| |
| − | | colspan="2" | Offset to add to X
| |
| | |- | | |- |
| | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |
| Line 1,093: |
Line 392: |
| | | | |
| | | | |
| | + | ===SetTarget=== |
| | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
| | |- | | |- |
| Line 1,124: |
Line 424: |
| | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | | width="90%" style="border-top: 2px solid #000;" | ''Return'' |
| | |} | | |} |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawStripX'''
| |
| − | |-
| |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | OffsetY
| |
| − | |-
| |
| − | | colspan="2" | Offset to add to Y
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''BoundRange'''
| |
| − | |-
| |
| − | | colspan="2" | Bounds a range to be between RangeStart and RangeEnd
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | Range
| |
| − | |-
| |
| − | | colspan="2" | The unbounded range
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DrawArc'''
| |
| − | |-
| |
| − | | colspan="2" | Draw the marks on the readout Set up the position and range with SetRange() and SetArc()
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | Radius
| |
| − | |-
| |
| − | | colspan="2" | Scale of the radius to draw at
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetAngles'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Start
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | End
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetShow'''
| |
| − | |-
| |
| − | | colspan="2" | Decides on the presentation of the dial
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | ShowNumbers
| |
| − | |-
| |
| − | | colspan="2" | True to show numbers on the dial, else false
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | ShowMarks
| |
| − | |-
| |
| − | | colspan="2" | Show marks
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScaleRange'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the range value for a 0->1 value Returned value may be out of range
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | ScaledRange
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcAngRange'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the range value for an angle Returned value may be out of range
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | AngleDegrees
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcScale'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the scale (0->1) to display at given a range value
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | RangeVal
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetMarks'''
| |
| − | |-
| |
| − | | colspan="2" | Decides on the presentation of the dial
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Marks
| |
| − | |-
| |
| − | | colspan="2" | Number of marks on the dial
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Subs
| |
| − | |-
| |
| − | | colspan="2" | Number of marks before a 'main' mark - can be zero
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ClearArea'''
| |
| − | |-
| |
| − | | colspan="2" | Clears the draw area
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetRange'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the min-max range to draw on the dial Used for setting the needle
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Start
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | End
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetGaps'''
| |
| − | |-
| |
| − | | colspan="2" | Sets the min-max of the span to draw on the X/Y marks Defaults are 0 and 1
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | Start
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT
| |
| − | | width="90%" | End
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetJustify'''
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| |
| − | | width="90%" | RAlign
| |
| − | |-
| |
| − | | colspan="2" | True for right/top/outer alignment
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| − | {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| − | |-
| |
| − | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CalcAngle'''
| |
| − | |-
| |
| − | | colspan="2" | Decide the angle to display at given a range value
| |
| − | |-
| |
| − | |-
| |
| − | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" | RangeVal
| |
| − | |-
| |
| − | | colspan="2" |
| |
| − | |-
| |
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| |
| − | | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| − | |}
| |
| − |
| |
| − |
| |
| | | | |
| | | | |