realbasic-nug.fr
[Top] [All Lists]

Re: Pb avec drawpicture

To: REALbasic NUG French <realbasic-nug dot fr at lists dot realsoftware dot com>
Subject: Re: Pb avec drawpicture
From: Emile Schwarz <emile dot a dot schwarz at wanadoo dot fr>
Date: Thu, 25 Oct 2007 13:52:16 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug dot fr at lists dot realsoftware dot com
References: <9B52C982-8151-11DC-93DE-000A27AE3336 at sucellus dot net> <CB89038A-50F2-4CA6-87FE-4066A6362FE7 at e-topics dot net> <7B8818E1-2537-4617-83BC-6FF99BF10058 at e-topics dot net> <0D14BE83-B2BA-46B0-A3C8-B6D2E2FECE81 at cretaux dot fr> <471F7C32 dot 1060200 at wanadoo dot fr> <47205D44 dot 8060604 at realsoftware dot fr>
Je ne comprends pas:

Syntax

Graphics.DrawPicture Image, X, Y, [DestWidth], [DestHeight], [SourceX], [SourceY], [SourceWidth], [SourceHeight]



Seuls "Image" et x,y sont nécessaires, DestWidth est optionel tout seul (comme les autres)...


   <quote>
   Notes

DestWidth and DestHeight are used to change the scaling of the picture when it is drawn and default to the Width and Height of the picture. SourceX and SourceY default to 0 and are used to determine the upper-left coordinate you wish to copy from. SourceWidth and SourceHeight default to the Width and Height of the picture and are used to indicate the portion of the picture you wish to copy.
</quote>

Ah, donc il ne manque que quelques crochets...

C'est comme çà depuis quand ?

olivier corouge a écrit :
Emile Schwarz wrote:
Nouvelle.Graphics.DrawPicture(Moncarre ,35,35,36,36)
Cinq paramètres ?

oui sans aucun problème, repporte toi a la documentation de drawPicture.


Pour le problème de l'image il faut vérifier que cela ne vienne pas d'un probleme de mask (ce n'est qu'une piste).

Cordialement,
Olivier Corouge





<Prev in Thread] Current Thread [Next in Thread>