Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #5403

Re: Printing dotted lines

From Martin Wuerthner <spamtrap@mw-software.com>
Newsgroups comp.sys.acorn.programmer
Subject Re: Printing dotted lines
Date 2018-02-08 12:06 +0100
Organization MW Software
Message-ID <mpro.p3tw7f000qzav020k.spamtrap@mw-software.com> (permalink)
References <ece4cdc456.harriet@blueyonder.co.uk> <cb223dc0-3aed-4fed-8d15-c336506abd35@googlegroups.com> <3aba32c556.harriet@blueyonder.co.uk> <mpro.p3ne3x043fndh01x2.news@stevefryatt.org.uk>

Show all headers | View raw


Steve Fryatt <news@stevefryatt.org.uk> wrote:

> On 4 Feb, Harriet Bazley wrote in message
>     <3aba32c556.harriet@blueyonder.co.uk>:
> 
> > On 4 Feb 2018 as I do recall,
> >           news@sprow.co.uk wrote:
> > 
> > > On Saturday, 3 February 2018 23:52:08 UTC, Harriet Bazley  wrote:
> > > > Trying to work out why Powerbase prints dotted lines to screen but
> > > > not to printer - I've managed the following attempted test case
> > > > program.
> > > >
> > > > Are the PLOT codes in the range 16-23 not suitable for use in hard
> > > > copy?
> > 
> > [snip]
> >
> > > Or, in short, no - solid lines only at the moment,
> > 
> > Thanks - is there a recommended way of printing dotted lines? (Surely
> > commercial programs must do this sometimes?)
> 
> The Draw module (Draw_Stroke, etc).
> 
> In fact, the PRM states (p 3-564) that "you should use calls to the Draw
> module to print object-oriented graphics such as rectangles. This is
> preferable to using VDU and PLOT sequences."

In addition to this generic advice, there is detailed information about each
individual PLOT code in the table headed "Treatment of character sequences"
in the WrchV section. Not surprisingly, on p 3-583 it states for PLOT
25,16-31: "Processed: plots solid line (use Draw_Stroke to get dotted
lines)". So, this is documented behaviour, not just an accident of the
current implementation. Various PLOT codes (e.g., line fill and rectangle
copy) are even faulted.

-- 
Martin Wuerthner         MW Software      http://www.mw-software.com/

------- RISC OS Software for Design, Printing and Publishing --------

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Printing dotted lines Harriet Bazley <harriet@bazleyfamily.co.uk> - 2018-02-03 23:42 +0000
  Re: Printing dotted lines news@sprow.co.uk - 2018-02-03 23:55 -0800
    Re: Printing dotted lines Harriet Bazley <harriet@bazleyfamily.co.uk> - 2018-02-04 18:03 +0000
      Re: Printing dotted lines Rick Murray <Rick@bogus.email.address> - 2018-02-04 20:27 +0100
      Re: Printing dotted lines Steve Fryatt <news@stevefryatt.org.uk> - 2018-02-04 22:50 +0000
        Re: Printing dotted lines Martin Wuerthner <spamtrap@mw-software.com> - 2018-02-08 12:06 +0100
        Re: Printing dotted lines Harriet Bazley <harriet@bazleyfamily.co.uk> - 2018-02-09 01:15 +0000
          Re: Printing dotted lines Matthew Phillips <spam2011m@yahoo.co.uk> - 2018-02-09 08:20 +0000
            Re: Printing dotted lines Harriet Bazley <harriet@bazleyfamily.co.uk> - 2018-02-09 14:52 +0000

csiph-web