Welcome, Guest. Please login or register.

Author Topic: Using the picture.datatype  (Read 3740 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Thomas

Re: Using the picture.datatype
« on: July 25, 2003, 09:01:44 AM »

You can use this as an example: http://home.t-online.de/home/thomas-rapp/download/dtpic.c

Bye,
Thomas

Offline Thomas

Re: Using the picture.datatype
« Reply #1 on: July 27, 2003, 05:22:43 PM »

You should read the autodocs.

DoMethod() is a varargs stub for DoMethodA() and DoMethodA() takes two arguments, obj and msg, where msg in this case is struct pdtBlitPixelArray.

So MethodID is not a copy of PDTM_READPIXELARRAY, it is the place where PDTM_READPIXELARRAY belongs to.

If you want to use DoMethod() instead of DoMethodA() you can write all fields of struct pdtBlitPixelArray into the arguments:

DoMethod (obj,PDTM_READPIXELARRAY,data,format,mod,left,top,width,height);

Bye,
Thomas