Exemple #1
0
        //配列の参照に回転がかかっているのに注意
        private static void DrawRoundCorner(IntPtr hdc, int bx, int by, int dx, int dy, RoundRectColors colors)
        {
            int y = by;

            for (int j = 0; j < 3; j++)
            {
                int x = bx;
                for (int i = 0; i < 3; i++)
                {
                    Win32.SetPixel(hdc, x, y, colors.GetColor(_round_border_info[i, j]));
                    x += dx;
                }
                y += dy;
            }
        }
Exemple #2
0
 //�z��̎Q�Ƃɉ�]���������Ă���̂ɒ���
 private static void DrawRoundCorner(IntPtr hdc, int bx, int by, int dx, int dy, RoundRectColors colors)
 {
     int y = by;
     for (int j = 0; j < 3; j++) {
         int x = bx;
         for (int i = 0; i < 3; i++) {
             Win32.SetPixel(hdc, x, y, colors.GetColor(_round_border_info[i, j]));
             x += dx;
         }
         y += dy;
     }
 }