Exemple #1
0
        public static DMDFrame DMDFrameCreate(DMDSize size)
        {
            DMDFrame result = new DMDFrame();

            result.buffer = new byte[size.width * size.height];
            result.size   = size;
            return(result);
        }
Exemple #2
0
        public static DMDSize DMDSizeMake(int w, int h)
        {
            DMDSize s = new DMDSize()
            {
                width = w, height = h
            };

            return(s);
        }
Exemple #3
0
 public static DMDSize DMDSizeMake(int w, int h)
 {
     DMDSize s = new DMDSize() { width = w, height = h };
     return s;
 }
Exemple #4
0
 public static DMDFrame DMDFrameCreate(DMDSize size)
 {
     DMDFrame result = new DMDFrame();
     result.buffer = new byte[size.width * size.height];
     result.size = size;
     return result;
 }