/* 扇形を描画 */ BOOL Pie( HDC hdc, // デバイスコンテキストハンドル int nLeftRect, // 左上x座標 int nTopRect, // 左上y座標 int nRightRect, // 右下x座標 int nBottomRect, // 右下y座標 int nXRadial1, // 直線1の端のx座標 int nYRadial1, // 直線1の端のy座標 int nXRadial2, // 直線2の端のx座標 int nYRadial2, // 直線2の端のy座標 ); /* 説明 */ 指定した長方形内に内接する円で、 その中心から引かれる直線1で区切られる場所から 直線2で区切られる場所までの円を描画します。