83 return new StringValue(encoder.GenerateMatrix(Level, Text).ToHalfBlockText());
93 QrMatrix M = encoder.GenerateMatrix(Level, Text);
98 Rgba = M.
ToRGBA(Width, Height);
105 Rgba = M.
ToRGBA(Width, Height);
Class used to compute a QR code matrix.
byte[] ToRGBA()
Converts the matrix to pixels, each pixel represented by 4 bytes in the order Red,...
Event arguments for events determoning if custom color coding of a QR code is to be applied.
ColorFunction Function
Custom color function.
bool AntiAlias
If anti-alias is to be applied.
QrEncode(Text,Level[,Width[,Height]])
QrEncode(ScriptNode Text, ScriptNode Level, ScriptNode Width, ScriptNode Height, int Start, int Length, Expression Expression)
QrEncode(Text, Level, Width, Height)
static EventHandler< ColorFunctionEventArgs > CustomColorFunction
Event raised to determine if a custom color function is to be applied.
QrEncode(ScriptNode Text, ScriptNode Level, int Start, int Length, Expression Expression)
QrEncode(Text, Level)
override string[] DefaultArgumentNames
Default Argument names
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
override string FunctionName
Name of the function
QrEncode(ScriptNode Text, ScriptNode Level, ScriptNode Width, int Start, int Length, Expression Expression)
QrEncode(Text, Level, Width)
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
Handles bitmap-based graphs.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
static readonly ArgumentType[] argumentTypes2Scalar
Two scalar parameters.
static readonly ArgumentType[] argumentTypes3Scalar
Three scalar parameters.
static readonly ArgumentType[] argumentTypes4Scalar
Four scalar parameters.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
override string ToString()
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Basic interface for all types of elements.
CorrectionLevel
QR Code correction level.