At 5:10 PM +0000 3/4/05, you wrote:
Hi there,
Unfortunatly it doesnt work.

The image does resize to the dimensions for the window.rect

Is it possible to copypixels directly into a members image?

yes - (just as Kraig wrote)

member().image.copypixels(sourceImage, ...

will copy the sourceImage into the member().image

hth
-Buzz


Regards Jon



On 4 Mar 2005, at 16:20, James Newton wrote:

On 4/3/05 3:54 pm, "Jayp" <[EMAIL PROTECTED]> wrote:

I cant seem to get the lingo right for copying the image into a
member rather than the window.image


Hi Jayp,

Does this work:

  tBitmap = new(#bitmap) -- or an existing bitmap member
  tImage  = image(R, B, 32)
  tImage.copyPixels(bg, rect(0,0,R,B), rect(0,0,R,B))
  tBitmap.image = tImage

Cheers,

James

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to