[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please Explain Graphics



"Rex the Strange" <roger.main@widgetinc.com> wrote in message
1112038540.101467.244060@l41g2000cwc.googlegroups.com">news:1112038540.101467.244060@l41g2000cwc.googlegroups.com...
> I don't have it handy, but I can recreate it (extremely short program):
>
> 10 HGR2
> 20 HCOLOR = 2
> 30 HPLOT 0,0 TO 0,191
> 40 HPLOT 0,191 TO 279,191
> 50 HPLOT 279,191 TO 279,0
> 60 HPLOT 279,0 TO 0,0
>
> This looks like it should work to me and, in fact, I get three of the
> four lines (although the top and bottom lines may be "trimmed" - I
> don't know. At any rate, it comes out looking like a big C - the right
> hand vertical line is not displayed (so, if it's a code problem then I
> would expect line 50 to be the culprit).
>
> rts
>

OK, the problem is line 20.  Change it to HCOLOR = 3 (white if my memory
serves me correctly) and you should get the full border.  HiRes has 280
horizontal pixels but when you pick a color other than white you can only
turn on every other one.

Charlie