Метод | Описание | |
---|---|---|
PictureInstruction ( PictureExtendedOpcode extendedOpcode ) : System |
Initialise the instruction.
|
|
PictureInstruction ( PictureOpcode opcode ) : System |
Initialise the instruction.
|
|
ReadInstruction ( Stream stream, PicturePatternFlags &patternFlags, byte &patternNumber ) : |
Read an instruction from the stream.
|
|
Render ( |
Render the instruction.
|
Метод | Описание | |
---|---|---|
PeekByte ( Stream stream ) : byte |
Peek at a byte without reading it.
|
|
PeekContinue ( Stream stream ) : bool |
Peek at the next byte and return whether it's not an opcode.
|
|
ReadAbsoluteCoordinates ( Stream stream ) : Vector2i |
Read absolute coordinates from the stream.
|
|
ReadAbsoluteCoordinatesList ( Stream stream ) : List |
Read a list of absolute coordinates from the stream.
|
|
ReadByte ( Stream stream ) : byte |
Read a byte from the stream.
|
|
ReadMediumRelativeCoordinates ( Stream stream, Vector2i start ) : Vector2i |
Read medium relative coordinates from the stream.
|
|
ReadPatternNumber ( Stream stream, PicturePatternFlags patternCode, byte &patternNumber ) : byte |
Read a pattern number from the stream.
|
|
ReadShortRelativeCoordinates ( Stream stream, Vector2i to ) : Vector2i |
Read short relative coordinates from the stream.
|
|
Skip ( Stream stream, int count = 1 ) : void |
Skip a number of bytes in the stream.
|
protected static PeekByte ( Stream stream ) : byte | ||
stream | Stream | |
Результат | byte |
protected static PeekContinue ( Stream stream ) : bool | ||
stream | Stream | |
Результат | bool |
public PictureInstruction ( PictureExtendedOpcode extendedOpcode ) : System | ||
extendedOpcode | PictureExtendedOpcode | |
Результат | System |
public PictureInstruction ( PictureOpcode opcode ) : System | ||
opcode | PictureOpcode | |
Результат | System |
protected static ReadAbsoluteCoordinates ( Stream stream ) : Vector2i | ||
stream | Stream | |
Результат | Vector2i |
protected static ReadAbsoluteCoordinatesList ( Stream stream ) : List |
||
stream | Stream | |
Результат | List |
protected static ReadByte ( Stream stream ) : byte | ||
stream | Stream | |
Результат | byte |
public static ReadInstruction ( Stream stream, PicturePatternFlags &patternFlags, byte &patternNumber ) : |
||
stream | Stream | |
patternFlags | PicturePatternFlags | |
patternNumber | byte | |
Результат |
protected static ReadMediumRelativeCoordinates ( Stream stream, Vector2i start ) : Vector2i | ||
stream | Stream | |
start | Vector2i | |
Результат | Vector2i |
protected static ReadPatternNumber ( Stream stream, PicturePatternFlags patternCode, byte &patternNumber ) : byte | ||
stream | Stream | |
patternCode | PicturePatternFlags | |
patternNumber | byte | |
Результат | byte |
protected static ReadShortRelativeCoordinates ( Stream stream, Vector2i to ) : Vector2i | ||
stream | Stream | |
to | Vector2i | |
Результат | Vector2i |
public abstract Render ( |
||
renderer | ||
Результат | void |
protected static Skip ( Stream stream, int count = 1 ) : void | ||
stream | Stream | |
count | int | |
Результат | void |