Package guidoengine

Class guidobinaryparser


  • public class guidobinaryparser
    extends java.lang.Object
    Parse guido binary export and add draw command into guidocommandbattery object.
    • Field Detail

      • C_CHAR_SIZE

        public static int C_CHAR_SIZE
      • C_INT_SIZE

        public static int C_INT_SIZE
      • C_UNSIGNED_INT_SIZE

        public static int C_UNSIGNED_INT_SIZE
      • C_FLOAT_SIZE

        public static int C_FLOAT_SIZE
      • JAVA_CHAR_SIZE

        public static int JAVA_CHAR_SIZE
      • JAVA_INT_SIZE

        public static int JAVA_INT_SIZE
      • JAVA_UNSIGNED_INT_SIZE

        public static int JAVA_UNSIGNED_INT_SIZE
      • JAVA_FLOAT_SIZE

        public static int JAVA_FLOAT_SIZE
      • BEGIN_DRAW_CODE

        public static char BEGIN_DRAW_CODE
      • END_DRAW_CODE

        public static char END_DRAW_CODE
      • LINE_CODE

        public static char LINE_CODE
      • POLYGON_CODE

        public static char POLYGON_CODE
      • RECTANGLE_CODE

        public static char RECTANGLE_CODE
      • SET_MUSIC_FONT_CODE

        public static char SET_MUSIC_FONT_CODE
      • GET_MUSIC_FONT_CODE

        public static char GET_MUSIC_FONT_CODE
      • SET_TEXT_FONT_CODE

        public static char SET_TEXT_FONT_CODE
      • GET_TEXT_FONT_CODE

        public static char GET_TEXT_FONT_CODE
      • PUSH_PEN

        public static char PUSH_PEN
      • POP_PEN

        public static char POP_PEN
      • PUSH_FILL_COLOR

        public static char PUSH_FILL_COLOR
      • POP_FILL_COLOR

        public static char POP_FILL_COLOR
      • SET_SCALE_CODE

        public static char SET_SCALE_CODE
      • SET_ORIGIN_CODE

        public static char SET_ORIGIN_CODE
      • OFFSET_ORIGIN_CODE

        public static char OFFSET_ORIGIN_CODE
      • NOTIFY_SIZE_CODE

        public static char NOTIFY_SIZE_CODE
      • DRAW_MUSIC_SYMBOL_CODE

        public static char DRAW_MUSIC_SYMBOL_CODE
      • DRAW_STRING_CODE

        public static char DRAW_STRING_CODE
      • SET_FONT_COLOR_CODE

        public static char SET_FONT_COLOR_CODE
      • GET_FONT_COLOR_CODE

        public static char GET_FONT_COLOR_CODE
      • SET_FONT_ALIGN_CODE

        public static char SET_FONT_ALIGN_CODE
      • SELECT_PEN_COLOR_CODE

        public static char SELECT_PEN_COLOR_CODE
      • PUSH_PEN_COLOR_CODE

        public static char PUSH_PEN_COLOR_CODE
      • POP_PEN_COLOR_CODE

        public static char POP_PEN_COLOR_CODE
      • PUSH_PEN_WIDTH_CODE

        public static char PUSH_PEN_WIDTH_CODE
      • POP_PEN_WIDTH_CODE

        public static char POP_PEN_WIDTH_CODE
    • Constructor Detail

      • guidobinaryparser

        public guidobinaryparser()
    • Method Detail

      • getUnsignedChar

        public static char getUnsignedChar​(byte[] data,
                                           int place)
      • getUnsignedInt32

        public static int getUnsignedInt32​(byte[] data,
                                           int place)
      • getInt32

        public static int getInt32​(byte[] data,
                                   int place)
      • getFloat

        public static float getFloat​(byte[] data,
                                     int place)
      • getString

        public static java.lang.String getString​(byte[] data,
                                                 int place,
                                                 int n)
      • moveReadPositionByChar

        public static int moveReadPositionByChar​(int place)
      • moveReadPositionByUnsignedInt32

        public static int moveReadPositionByUnsignedInt32​(int place)
      • moveReadPositionByInt32

        public static int moveReadPositionByInt32​(int place)
      • moveReadPositionByFloat

        public static int moveReadPositionByFloat​(int place)
      • moveReadPositionByString

        public static int moveReadPositionByString​(int place,
                                                   java.lang.String str)
      • parseIntoDrawCommands

        public static void parseIntoDrawCommands​(byte[] data,
                                                 guidocommandbattery commandBattery)
      • BeginDraw

        public static int BeginDraw​(byte[] data,
                                    int place,
                                    guidocommandbattery commandBattery)
      • EndDraw

        public static int EndDraw​(byte[] data,
                                  int place,
                                  guidocommandbattery commandBattery)
      • Line

        public static int Line​(byte[] data,
                               int place,
                               guidocommandbattery commandBattery)
      • Polygon

        public static int Polygon​(byte[] data,
                                  int place,
                                  guidocommandbattery commandBattery)
      • Rectangle

        public static int Rectangle​(byte[] data,
                                    int place,
                                    guidocommandbattery commandBattery)
      • SetMusicFont

        public static int SetMusicFont​(byte[] data,
                                       int place,
                                       guidocommandbattery commandBattery)
      • GetMusicFont

        public static int GetMusicFont​(byte[] data,
                                       int place,
                                       guidocommandbattery commandBattery)
      • SetTextFont

        public static int SetTextFont​(byte[] data,
                                      int place,
                                      guidocommandbattery commandBattery)
      • GetTextFont

        public static int GetTextFont​(byte[] data,
                                      int place,
                                      guidocommandbattery commandBattery)
      • PushPen

        public static int PushPen​(byte[] data,
                                  int place,
                                  guidocommandbattery commandBattery)
      • PopPen

        public static int PopPen​(byte[] data,
                                 int place,
                                 guidocommandbattery commandBattery)
      • PushFillColor

        public static int PushFillColor​(byte[] data,
                                        int place,
                                        guidocommandbattery commandBattery)
      • PopFillColor

        public static int PopFillColor​(byte[] data,
                                       int place,
                                       guidocommandbattery commandBattery)
      • SetScale

        public static int SetScale​(byte[] data,
                                   int place,
                                   guidocommandbattery commandBattery)
      • SetOrigin

        public static int SetOrigin​(byte[] data,
                                    int place,
                                    guidocommandbattery commandBattery)
      • OffsetOrigin

        public static int OffsetOrigin​(byte[] data,
                                       int place,
                                       guidocommandbattery commandBattery)
      • NotifySize

        public static int NotifySize​(byte[] data,
                                     int place,
                                     guidocommandbattery commandBattery)
      • DrawMusicSymbol

        public static int DrawMusicSymbol​(byte[] data,
                                          int place,
                                          guidocommandbattery commandBattery)
      • DrawString

        public static int DrawString​(byte[] data,
                                     int place,
                                     guidocommandbattery commandBattery)
      • SetFontColor

        public static int SetFontColor​(byte[] data,
                                       int place,
                                       guidocommandbattery commandBattery)
      • GetFontColor

        public static int GetFontColor​(byte[] data,
                                       int place,
                                       guidocommandbattery commandBattery)
      • SetFontAlign

        public static int SetFontAlign​(byte[] data,
                                       int place,
                                       guidocommandbattery commandBattery)
      • SelectPenColor

        public static int SelectPenColor​(byte[] data,
                                         int place,
                                         guidocommandbattery commandBattery)
      • PushPenColor

        public static int PushPenColor​(byte[] data,
                                       int place,
                                       guidocommandbattery commandBattery)
      • PopPenColor

        public static int PopPenColor​(byte[] data,
                                      int place,
                                      guidocommandbattery commandBattery)
      • PushPenWidth

        public static int PushPenWidth​(byte[] data,
                                       int place,
                                       guidocommandbattery commandBattery)
      • PopPenWidth

        public static int PopPenWidth​(byte[] data,
                                      int place,
                                      guidocommandbattery commandBattery)