scaling image using rectcopy

New Message Reply Date view Thread view Subject view Author view

Takeshi Hashimoto (hasimoto++at++bach.iml.mkhar.sharp.co.jp)
Wed, 30 Mar 1994 10:00:51 +0900


Hi,
 I wrote a program in Performer whose window size is 320x240
pixel. I want to display it's 320x240 window to NTSC full
screen by Galileo Video.
How can I do it?

I tried to scale image after pfDraw ,using rectzoom and rectcopy
but it didn't work as I want.

in draw process
DrawFunc( pfChannel *chan, void *data)
  ....

  pfDraw();
  afunction(0,AF_ALWAYS);
  viewport(0,639,0,479);
  rectzoom(2.0f,2.0f);
  rectcopy(0,0,319,239,0,0);
}

Is it wrong?
   

---
 //\\  The sky above Chiba-City was the color of television
 (O O)   tuned to a 'video' channel.....
  \o/
  WOW	hasimoto++at++iml.mkhar.sharp.co.jp

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:13 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.