1. New Library! Viewport.e

--------------CE15F4F9B6F1569DF7941F75

A while back, someone had asked if several BASIC (ack!)
functions could be 'ported' to Euphoria, or were available
in Euphoria.  ABS and OUT and WINDOW and sumfin else.
During those discussions, ABS got a large feedback,
OUT was understood to be handled by ports.e (i think)
and WINDOW was *ahem* determined to be out of the
running.  After doing a bit of homework, and remembering
how nice WINDOW could actually be, I've developed a
library that allows you to specify *your own*
coordinate system that will remap to the actual CRT.

It doesn't automatically convert coordinates for you
whenever you call a pixel drawing/placing routine as
WINDOW does.  It is only a step away from that, however.
It will allow you to specify your coordinate system
and the viewport on the screen where you wish the
coordinates to actually be placed, and then you simply
pass your values desiring to be drawn thru my function
just before calling the drawing function you will
be using.

The only way I can think of/know of that would give
"true" WINDOW functionality would be if Euphoria's
main drawing routines were to be altered inside ex.exe.

Hopefully, this library will prove useful.
Take care all, and care of as well.
--Hawke'

without further ado, here is the library...
(attached as viewport.zip, containing:
viewport.e, viewport.ex and viewport.txt)
--------------CE15F4F9B6F1569DF7941F75

new topic     » topic index » view message » categorize

2. Re: New Library! Viewport.e

great. juno doesn't support attatchments and i see a uuencoded library at
the end of the message.

-------------------------------------
When it comes to programming languages, Euphoria is a cut above -
matt1278 at juno.com Euphoria programmer

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

new topic     » goto parent     » topic index » view message » categorize

3. New Library! Viewport.e

oh yeah, a P.S. to my last message introducing this
library (viewport.e).
would it be possible to add this to the euphoria pages?
thanks in advance. --Hawke'

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu