Re: [ql-users] Transparent background

2001-05-13 Thread P Witte

Phoebus Dokos writes:

> >Use OVER#channel,0
> >
> >Wolfgang
>
> Yep but OVER has a very annoying property. Once you use AT and place
your
> text at the same position as your previous PRINT statement. ;-)

I think thats a wonderful property! It rubs your text out again,
restoring the background. (But if its not what you want, I agree, it
could get thoroughly annoying ;)

> Looks like I'll have to screen background saving code after all as
well as
> graphical font print routines :-(

You could also try PE sprites, pattern and/or blobs.

Per




Re: [ql-users] Transparent background

2001-05-13 Thread Andrew Halliwell

> 
> On 5/12/01 at 9:46 AM Phoebus Dokos wrote:
> 
> >>> Anyone know of a way to print characters on the screen without the
> >>> character's paper affecting the channel / background?
> 
> >>Use OVER#channel,0
> 
> >Yep but OVER has a very annoying property. Once you use AT and place your 
> >text at the same position as your previous PRINT statement. ;-)
> 
> Doesn't Over have three possible settings? 0, 1, -1? Now where is my
> manual? :-)

OVER -1 is exculsive OR.
So printing on the background with that might render the text unreadable.
If it's printed on a relatively blank area though, you could erase the text
by printing it again and then print something else.



Re: [ql-users] Transparent background

2001-05-13 Thread Andrew Halliwell

> 
> Anyone know of a way to print characters on the screen without the 
> character's paper affecting the channel / background?
> For example I want to lbytes a pic and then PRINT on it without affecting 
> the image for each character block but only for the character itself. In 
> essence I want to know if there's such a thing as a transparent PAPER 
> command :-) Or at least something similar...

PRINT OVER 1?



Re: [ql-users] Transparent background

2001-05-12 Thread Dilwyn Jones



>Anyone know of a way to print characters on the screen without the
>character's paper affecting the channel / background?
>For example I want to lbytes a pic and then PRINT on it without
affecting
>the image for each character block but only for the character itself.
In
>essence I want to know if there's such a thing as a transparent PAPER
>command :-) Or at least something similar...

Transparent PAPER is achieved with OVER#channel,1 which in effect ORs
the ink pixels into the picture, omitting the paper pixels. In other
words, if you print white text on black paper, only the white pixels
would be drawn (the dotsa of the character) and the rest of the
character space not coloured, you'd see the picture behind the
character printed.

If you use OVER #channel,-1 it will be fairly similar to OVER 1 but
the ink colour pixels are XORed, which means if you print the same
text twice in succession in the same place they will cancel out at the
second attempt. The effect varies a little with each colour.

Both are normally best used with black paper (less easy to mix
yourself up when you reset the commands with OVER #channel,0)

>Or I will have to draw the character's graphically on the screen
pixel by
>pixel? (Well I won't avoid that graphical character generator in the
end..
>I knew it :-)

Shouldn't be necessary assuming OVER and PRINT do what you want (i.e.
I understood what you meant).

--
Dilwyn Jones
[EMAIL PROTECTED]
http://www.soft.net.uk/dj/index.html




Re: [ql-users] Transparent background

2001-05-12 Thread ZN

On 5/12/01 at 9:46 AM Phoebus Dokos wrote:

>>> Anyone know of a way to print characters on the screen without the
>>> character's paper affecting the channel / background?

>>Use OVER#channel,0

>Yep but OVER has a very annoying property. Once you use AT and place your 
>text at the same position as your previous PRINT statement. ;-)

Doesn't Over have three possible settings? 0, 1, -1? Now where is my
manual? :-)

Nastae




Re: [ql-users] Transparent background

2001-05-12 Thread Phoebus Dokos

At 09:30 ðì 12/5/2001 +0200, you wrote:
>On 11 May 2001, at 23:06, Phoebus Dokos wrote:
>
> > Anyone know of a way to print characters on the screen without the
> > character's paper affecting the channel / background?
>
>
>Use OVER#channel,0
>
>Wolfgang

Yep but OVER has a very annoying property. Once you use AT and place your 
text at the same position as your previous PRINT statement. ;-)
Looks like I'll have to screen background saving code after all as well as 
graphical font print routines :-(


Phoebus




Re: [ql-users] Transparent background

2001-05-12 Thread Wolfgang Lenerz

On 11 May 2001, at 23:06, Phoebus Dokos wrote:

> Anyone know of a way to print characters on the screen without the 
> character's paper affecting the channel / background?


Use OVER#channel,0

Wolfgang



[ql-users] Transparent background

2001-05-11 Thread Phoebus Dokos

Anyone know of a way to print characters on the screen without the 
character's paper affecting the channel / background?
For example I want to lbytes a pic and then PRINT on it without affecting 
the image for each character block but only for the character itself. In 
essence I want to know if there's such a thing as a transparent PAPER 
command :-) Or at least something similar...

Or I will have to draw the character's graphically on the screen pixel by 
pixel? (Well I won't avoid that graphical character generator in the end.. 
I knew it :-)

Phoebus


P.S. I have a preliminary version of a ClarisWorks/AppleWorks document -> 
Plain QL text filter... anybody interested... Thanks to Dave Walker and his 
nice documentation of the Quill format he sent me I will be adapting it 
soon for use with Quill as well :-)