Меня интересует простое отсечение прямоугольников в Directx9. На верхней картинке вы видите, что я получаю. Я хочу получить то, что на нижней картинке, без изменения координат и/или области просмотра. Это означает, что я нарисую весь круг, а Directx9 просто обрежет его.
Было бы предпочтительнее, чтобы прямоугольник клипа был задан в координатах WINDOW, чтобы на него не влияли преобразования текущего состояния. Кроме того, это должно повлиять на все, что теперь происходит в окне, включая полигоны, спрайты, текстуры, текст и т. д.
Может кто подскажет как это сделать?