1. RE: win32lib & pixmap

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C2164C.25D9C6F0
 charset=iso-8859-1

Jonas,
the setCtlSize is supposed to do this.

It first creates a new Pixmap of the new size, then bitblts the old image to
the new Pixmap, then deletes the old Pixmap and sets the old Pixmap's
control id to point ot the new one.

Can you supply a small demo that shows that it doesn't work?

--------------
Derek.

> -----Original Message-----
> From: Jonas Temple [mailto:jktemple at yhti.net]
> Sent: Tuesday, 18 June 2002 2:06
> To: EUforum
> Subject: win32lib & pixmap
> 
> 
> 
> Question: 
> 
> Is it possible to change the width/height of a pixmap once 
> it's created? 
>  I tried to do this using setCtlSize (you can't use setRect) but it 
> doesn't seem to do anything. 
> 
> Am I going about this wrong?
> 
> TIA,
> 
> Jonas
> 
> 
> 
> 

==================================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en 
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht 
onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en 
de afzender direct te informeren door het bericht te retourneren. 
==================================================================
The information contained in this message may be confidential 
and is intended to be exclusively for the addressee. Should you 
receive this message unintentionally, please do not use the contents 
herein and notify the sender immediately by return e-mail.


==================================================================

------_=_NextPart_000_01C2164C.25D9C6F0
Content-Type: application/ms-tnef

new topic     » topic index » view message » categorize

2. RE: win32lib & pixmap

Hi Jonas,

I read you're working with pixmaps. Any plans for a printing facility?

Last winter I started programming a baseball "analyser". It was getting 
on quit well but I didn't manage to print a pixmap. I want to continue 
this project after the baseball season and it would be nice to have 
found an example of printing a pixmap before then.

Bye,

Jasper.


Jonas  Temple wrote:
> Question: 
> 
> Is it possible to change the width/height of a pixmap once it's created? 
> 
>  I tried to do this using setCtlSize (you can't use setRect) but it 
> doesn't seem to do anything. 
> 
> Am I going about this wrong?
> 
> TIA,
> 
> Jonas
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

3. RE: win32lib & pixmap

Jasper,

No, unfortunately I'm not working on printing a pixmap.  I'm using 
pixmaps to speed screen drawing for a data grid control I've been 
working on.  I'm not getting much done on it right now, though, life has 
been crazy.  

Jonas
Jasper Holshuijsen wrote:
> Hi Jonas,
> 
> I read you're working with pixmaps. Any plans for a printing facility?
> 
> Last winter I started programming a baseball "analyser". It was getting 
> on quit well but I didn't manage to print a pixmap. I want to continue 
> this project after the baseball season and it would be nice to have 
> found an example of printing a pixmap before then.
> 
> Bye,
> 
> Jasper.

new topic     » goto parent     » topic index » view message » categorize

4. RE: win32lib & pixmap

Derek,

Didn't want to you think I was ignoring you... :) 

I went back and it was not a problem with setCtlSize, only my code.

Thanks for the willingness to help!

Jonas
Derek Parnell wrote:
> Jonas,
> the setCtlSize is supposed to do this.
> 
> It first creates a new Pixmap of the new size, then bitblts the old 
> image to
> the new Pixmap, then deletes the old Pixmap and sets the old Pixmap's
> control id to point ot the new one.
> 
> Can you supply a small demo that shows that it doesn't work?
> 
> --------------
> Derek.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu