z88dk forums

z80 Development Kit

You are not logged in.

#1 2016-11-28 18:03:59

stefano
Administrator
Registered: 2007-07-16
Posts: 1581

[z88dk-dev] draw_profile scale extended

The recently added targets feature high resolution graphics options for which I could provide support for most of the advanced features (stencil, putsprite ..bksave and others are still missing almost everything).
The SVG conversion tool creates a good''profile' for 256 pixel boxes but was easily overflowing,  so I extended the scale range from a max factor of 250% to the current 510%
Moreover the X axis scale Ôs furthermore doubled when the X resolution i>= 512 pixels.
It may create portability problems in those cases where the drawing techniques are mixed due to the different resulting coordinates but makes easier a port of the simpler programs because the picture aspect ratio is preserved a bit more.
The reduced overflow gives a better stability feeling, but the screen boundaries are still unprotected.. watch out!



------------------------------------------------------------------------------

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson