> Yes, you need to write a "display target", along side where palemu
> is.  Probably copying lib/libggi/display/palemu or lib/libggi/display/sub
> and modifying it would be best.  Both of those display targets also
> load another display target underneath themselves.

Don't use "sub" as a starting point. It's a horrible hack IMHO (I did it, so
...:-)

But as said, a generic scaling/rotating target would be very welcome !

One might want to consider writing two versions for both cases:

1. scaling: 
a) a quick one that does only scale at integer factors or uses a "crude
heuristic" to scale, like making very other row two pixels wide when scaling
by 1.5 or something.
b) a slow one that scales nicely at any factor and maybe does antialiasing
or something.

2. rotating:
a) only 90,180,270 degrees
b) Any angle (not too useful IMHO, but well - maybe someone finds a use for
it ...)


CU, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]>        =

Reply via email to