Table of Contents

Class GraphicsStatementStaticSemantics

Namespace
RDCore.SDK.Semantics.Static
Assembly
RDCore.SDK.dll

Where a Circle, Line, PSet or Scale statement draws.

public static class GraphicsStatementStaticSemantics
Inheritance
GraphicsStatementStaticSemantics
Inherited Members

Remarks

They are the methods of whatever can be drawn on - a form, a picture box, a printer - and a statement written with no object is the method of the form or report it is written in. The platform has no such surface, so a statement of that shape is as undefined as any other name the language does not declare. A statement that does name an object (or that is the member of the object of a With block) is a call like any other, which the object either has or has not.

🚧 TODO a document module that is a form or a report has these members, and an unqualified statement in one is the statement of its own surface.

Methods

Evaluate(GraphicsMethodStatementNode)

Evaluates a graphics statement for the object it draws on.

public static VBCompileErrorInfo? Evaluate(GraphicsMethodStatementNode graphics)

Parameters

graphics GraphicsMethodStatementNode

The statement.

Returns

VBCompileErrorInfo

The error, or null when the statement names an object to draw on.

Expressions(GraphicsMethodStatementNode)

The expressions of a graphics statement, in source order: the object, the coordinates of its points and its arguments, apart from those it leaves out.

public static IEnumerable<ExpressionNode> Expressions(GraphicsMethodStatementNode graphics)

Parameters

graphics GraphicsMethodStatementNode

The statement.

Returns

IEnumerable<ExpressionNode>