| 697 | } |
| 698 | |
| 699 | PyObject* Tr2HostBitmap::GetPixelPy( PyObject* tuple ) |
| 700 | { |
| 701 | int x, y, val = 0; |
| 702 | if( !PyArg_ParseTuple( tuple, "ii", &x, &y ) || |
| 703 | !GetPixel( x, y, &val ) ) |
| 704 | { |
| 705 | Py_RETURN_NONE; |
| 706 | } |
| 707 | return ToPython( val ); |
| 708 | } |
| 709 | |
| 710 | PyObject* Tr2HostBitmap::PySetPixel( PyObject* args ) |
| 711 | { |
nothing calls this directly
no test coverage detected