Draw a rectangle using the current pen color. The rectangle is filled with the current brush color.
| 604 | // Draw a rectangle using the current pen color. |
| 605 | // The rectangle is filled with the current brush color. |
| 606 | void ScrollView::Rectangle(int x1, int y1, int x2, int y2) { |
| 607 | if (x1 == x2 && y1 == y2) |
| 608 | return; // Scrollviewer locks up. |
| 609 | SendMsg("drawRectangle(%d,%d,%d,%d)", |
| 610 | x1, TranslateYCoordinate(y1), x2, TranslateYCoordinate(y2)); |
| 611 | } |
| 612 | |
| 613 | // Draw an ellipse using the current pen color. |
| 614 | // The ellipse is filled with the current brush color. |
no outgoing calls
no test coverage detected