Re: [AD] RFC - Linux WM Fullscreen Patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Ok, that's what I figured. Not pointing fingers at primitives here Paul just looking for answers. So why does scaling the view transform not affect primitives (or so it seems)?

Thanks.

----- Original Message ----- From: "SiegeLordEx" <slabode@xxxxxxxxxx>
To: <alleg-developers@xxxxxxxxxx>
Sent: Thursday, August 07, 2014 9:12 AM
Subject: Re: [AD] RFC - Linux WM Fullscreen Patch


On 08/07/2014 10:52 AM, Trent Gamblin wrote:
Primitives and transforms have always been different for me. Paul,
what's the reason behind this? For example scaling everything up still
results in crisp lines etc?

Of course it does, primitives are drawn using polygons and they are
going to use screen pixels (i.e. the actual resolution). It's impossible
to emulate a scaled mode setting with transformations with respect to
how the primitives are drawn.

That's why you always use an intermediate bitmap that you then scale up
if you want large pixels with your primitives. If you really want a
virtual mode in Allegro, that is the method you need to use.

-SL


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/