> > Hi, > sorry, I don't know what happened. I hope this time they are complete. Hello Thomas, I still can not get your files. It is NOT your fault. It is a feature of MY E-mail server. You should not try to attach anything. It will not go through :-( Can you upload your script or include directly into your message? Sorry, Valeri > Thomas. > On > Mon, 3 May 2004, Valeriy Onuchin wrote: > > Hi Thomas, > > two files in attachment are empty. > > > > Regards. Valeriy > > > > ----- Original Message ----- > > From: "Thomas Bretz" <Thomas_Bretz@ph.tum.de> > > To: <roottalk@pcroot.cern.ch> > > Sent: Monday, May 03, 2004 6:45 PM > > Subject: [ROOT] gVirtualX->PutImage and TCanvas > > > > > > > Hi, > > > > > > with the (very simple) attached class I try to display a gray scaled > > > bitmap in a canvas. It doesn't work. Can somebody explain me, what I'm > > > doing wrong? > > > > > > (I'm developing this class, because I need a really fast access to the > > > screen - 25fps - which I think I won't get with the big overgead of > > > TASImage) > > > > > > Thanks in advance, > > > Thomas. > > > > > > > > > > > > ------------------------------------------------------------------------ ------ > -- > > > > > > > void test() > > > { > > > TCanvas *c=new TCanvas; > > > > > > MImage2 *i = new MImage2(100, 100); > > > > > > byte buf[100*100]; > > > > > > for (int j=0; j<100*100; j++) > > > buf[j]=j; > > > > > > i->DrawImg(buf); > > > i->Draw(); > > > } > > > > > > ----- > Würden Sie Windows 95 die Kontrolle eines AKWs überlassen? > Hiroshima '45...! Tschernobyl '86...!! Windows 95...!!! > Unix ist benutzerfreundlich - es ist nur etwas wählerisch..." (Walter Misar) > Was sagt ein arbeitsloser Physiker zu einem Physiker mit Arbeit? > - "Eine Currywurst mit Pommes bitte!"
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET