| 933 | } |
| 934 | |
| 935 | void PiuViewPushClip(PiuView* self, PocoCoordinate x, PocoCoordinate y, PocoDimension w, PocoDimension h) |
| 936 | { |
| 937 | Poco poco = (*self)->poco; |
| 938 | x += poco->xOrigin; |
| 939 | y += poco->yOrigin; |
| 940 | #ifdef piuGPU |
| 941 | PocoClipPush(poco, x, y, w, h); |
| 942 | #else |
| 943 | { |
| 944 | PIUQueueCommand(PushClipCommand); |
| 945 | command->x = x; |
| 946 | command->y = y; |
| 947 | command->w = w; |
| 948 | command->h = h; |
| 949 | } |
| 950 | #endif |
| 951 | } |
| 952 | |
| 953 | void PiuViewPushColor(PiuView* self, PiuColor color) |
| 954 | { |
no test coverage detected