freelanceprogrammers.org Forum Index » Delphi

errors in wrapdelphigraphics ?


View user's profile Post To page top
jobbyworld2 Posted: Wed Nov 29, 2006 6:19 pm


Joined: 23 Oct 2006

Posts: 5
errors in wrapdelphigraphics ?
It seems there is a little error in
TPyDelphiCanvas.StretchDraw_Wrapper in module wrapdelphigraphics :

oRect is object and not array of int so



replace this line



if (PyArg_ParseTuple( args, `iiO:StretchDraw`, [@_oRect, @_oGraphic] )
<> 0) and



by



if (PyArg_ParseTuple( args, `OO:StretchDraw`, [@_oRect, @_oGraphic] )
<> 0) and



Thanks.

Good Dev..
Reply with quote
Send private message
View user's profile Post To page top
morgan_martinet Posted: Sun Dec 10, 2006 9:54 pm


Joined: 29 Apr 2005

Posts: 103
errors in wrapdelphigraphics ?
Good catch! Thanks.

--- In pythonfordelphi@yahoogroups.com, "jobbyworld2" <jobbyworld@...>
wrote:
>
> It seems there is a little error in
> TPyDelphiCanvas.StretchDraw_Wrapper in module wrapdelphigraphics :
>
> oRect is object and not array of int so
>
>
>
> replace this line
>
>
>
> if (PyArg_ParseTuple( args, `iiO:StretchDraw`, [@_oRect, @_oGraphic] )
> <> 0) and
>
>
>
> by
>
>
>
> if (PyArg_ParseTuple( args, `OO:StretchDraw`, [@_oRect, @_oGraphic] )
> <> 0) and
>
>
>
> Thanks.
>
> Good Dev..
>
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
English Courses in England - reservation calendar script
Land Surveying -Stonex instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help