Softanza
StartFrançais
Softanza
The library documents itself · Graphics

stzGraphCanvas

18 own methods · 2 forms written with extensions, listed under their method

the source: base/graphics/stzGraphCanvas.ring(opens in a new tab) · All classes · The area reference: Graphics

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

No method of this class has an example yet: the page cannot build an object of this class yet, nor compose the arguments of its methods.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Width
(no comment in the source: the name reads as a sentence) widthno extension
Height
(no comment in the source: the name reads as a sentence) heightno extension
EdgeRoutes
The bend points of every edge that spans more than one rank, in the SAME normalised space as Positions() -- so a face transforms both with one rule and cannot place an edge in a different frame from the nodes it joins.no extension
RawSpanX
(no comment in the source: the name reads as a sentence) raw span xno extension
RawSpanY
(no comment in the source: the name reads as a sentence) raw span yno extension
LayerCount
(no comment in the source: the name reads as a sentence) layer countno extension
IsUnitX
(no comment in the source: the name reads as a sentence) is unit xno extension
LayoutCrossings
(no comment in the source: the name reads as a sentence) layout crossingsno extension
SetSize
Validate HERE. Passing 0 used to be accepted and then surfaced much later as "stzCanvas refused a 0x0 canvas" from inside ToCanvas -- an error naming a class the caller never touched, pointing away from the line responsible. A window reports 0x0 while mapping and while minimised, so this is an ordinary input, not an exotic one.QCSXTZZZIBWU
MetricValues
The computed values behind the picture, so a caller can ASSERT on them instead of squinting at pixels.no extension
Positions
(no comment in the source: the name reads as a sentence) positionsno extension
RawPositions
The layout's OWN coordinates, before the fit to the canvas -- the space a pin is expressed in, and therefore the space a cursor position has to be translated back into.no extension
ToCanvas
the two tiers, inherited by handing back an stzCanvasQCSXTZZZIBWU
ToSVG
(no comment in the source: the name reads as a sentence) to svgno extension
ToPNG
(no comment in the source: the name reads as a sentence) to pngno extension
ModeOf
Which mode each node landed in, and how many there are -- read by the face, which turns a mode of two or more states into a drawn REGION.no extension
ModeCount
(no comment in the source: the name reads as a sentence) mode countno extension