Beispiel #1
0
        public byte GetAlpha(int x, int y)
        {
            int offset = (y * _width + x) * 4 + 3;

            return(CPP.ReturnByte("$px8[offset]"));
        }
Beispiel #2
0
 public static byte ValueOf(String s, int radix = 10)
 {
     return(CPP.ReturnByte("$check(s)->$value()->toInt(nullptr, radix)"));
 }