[AD] [ alleg-Bugs-2934722 ] Scaling sprites over axis

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


Bugs item #2934722, was opened at 2010-01-18 20:50
Message generated for change (Comment added) made by trentg
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2934722&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core Library
Group: 4.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alejandro Ramallo (snakeinalake)
Assigned to: Nobody/Anonymous (nobody)
Summary: Scaling sprites over axis

Initial Comment:
Why do the scaling functions only take one argument for the Scale factor? wouldn't it be easier and better to use two values, 1 for X and 1 for Y.

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

>Comment By: Trent Gamblin (trentg)
Date: 2010-01-19 07:55

Message:
A potential fix for this would be adding _ex versions of the
rotate_sprite_* and pivot_sprite_* calls. They would be the same except
they would take separate x and y scaling factors. The workhorse of all of
these functions supports separate scaling already.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2934722&group_id=5665




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