(int width, int x, int y)
| 4 | |
| 5 | public class Question { |
| 6 | public static int computeByteNum(int width, int x, int y) { |
| 7 | return (width * y + x) / 8; |
| 8 | } |
| 9 | |
| 10 | public static void drawLine(byte[] screen, int width, int x1, int x2, int y) { |
| 11 | int start_offset = x1 % 8; |