finished debugging parameter error, now test drawing without resetting clip
This commit is contained in:
@@ -207,13 +207,10 @@ static int devctxt_init(DevCtxtObject *self, PyObject *args, PyObject *kwds)
|
||||
static char *kwlist[] = { "type", NULL };
|
||||
const char *type;
|
||||
|
||||
Log(LDEBUG, "Creating a new DevCtxt object");
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "$s", kwlist, &type))
|
||||
return -1;
|
||||
Log(LDEBUG,"type argument is '%s'", type);
|
||||
if (strcmp(type, "screen") == 0)
|
||||
{
|
||||
Log(LDEBUG, "doing what we expect on screen context");
|
||||
self->pdctxt = DC_CreateScreenContext();
|
||||
if (!(self->pdctxt))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user