Page 1 of 1
Screen size question
Posted:
Feb 9, 2007 @ 9:14am
by patrickwai
Hi Edge,
For Symbian 9.1 S60, I know the graphics can be enlarged or reduced separately using the Blt(). I have the graphic set for 176x208 devices, can I enlarge the hole screen to fit the resolution 352x416?
Thanks
Posted:
Feb 9, 2007 @ 9:41am
by edge
Posted:
Feb 15, 2007 @ 10:41am
by patrickwai
Hi Edge,
As value equals to 65536 will no scale, what should be the value if I want to double size the image?
Posted:
Feb 15, 2007 @ 10:58am
by edge
Hi Patrick,
Just multiply 65536 * 2 to double size the image. 65536 / 2 will half its size.
Please note that in Blt(), x/y position 0,0 is the center of the screen.
Posted:
Feb 21, 2007 @ 9:58am
by patrickwai
Hi Edge,
After using Blt() to scale the image, the program ran slowly, what is the problem?
Thanks
Posted:
Feb 21, 2007 @ 12:40pm
by edge
Hi Patrick,
Blt() is an expensive operation, especially when scaling a whole buffer.
A better solution might be to scale your internal surfaces (sprite and tilesheets, title screens, etc.) when loading them. You may also create a different graphics resource pack with upscaled graphics.
Working with native high-resolution graphics is faster than doing an upscale at the end of OnNextFrame().
Posted:
Feb 22, 2007 @ 2:47am
by patrickwai
Hi Edge,
How can I scale the internal surfaces when loading?
I found the API of Symbian for zooming (TZoomfactor and MGraphicsDeviceMap), does Edge support this API? If yes, is there any reference or example?
Thanks
Posted:
Feb 22, 2007 @ 8:59am
by edge