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


Groups > comp.lang.postscript > #2503

Re: How long is a path? Alas currentdash is silent

Newsgroups comp.lang.postscript
Date 2016-04-06 14:55 -0700
References (3 earlier) <7f3d04a0-d6c3-4665-bae3-142f0c149284@googlegroups.com> <c50435f5-05ba-4793-b557-55dff3575a5e@googlegroups.com> <87y48qkanw.fsf@hemphills.net> <150b8144-ad32-455d-b2d9-02dd2d69acf3@googlegroups.com> <0142f49a-aa90-4a88-808a-f5ef1b26c270@googlegroups.com>
Message-ID <910cf73a-e22c-4f40-b1e1-6cccbe9c5b04@googlegroups.com> (permalink)
Subject Re: How long is a path? Alas currentdash is silent
From jdaw1 <jdawiseman@gmail.com>

Show all headers | View raw


On Wednesday, 6 April 2016 20:05:28 UTC+1, sjprou...@gmail.com  wrote:
> currentdash does not compute any lengths.  It simply reports the dash parameters set in the current graphics state.

True, but it could have been otherwise. It could have been that dashes are dispensed along the path, and the dash phase updated. If it had worked thus then the dash phase would be the initial dash phase, plus the length of the path, modulo the sum of the elements of the dash array. Which would have allowed a neat way to calculate the length of the path.

As it is, even though the code must be able to calculate the length (to dispense dashes along that length), the PostScript isn't told. Alas.

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-05 16:34 -0700
  Re: How long is a path? Alas currentdash is silent tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2016-04-05 21:45 -0400
    Re: How long is a path? Alas currentdash is silent luser- -droog <mijoryx@yahoo.com> - 2016-04-05 19:09 -0700
      Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 01:26 -0700
        Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 05:07 -0700
          Re: How long is a path? Alas currentdash is silent Scott Hemphill <hemphill@hemphills.net> - 2016-04-06 11:40 -0400
            Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 09:52 -0700
              Re: How long is a path? Alas currentdash is silent sjprouty3765@gmail.com - 2016-04-06 12:05 -0700
                Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 14:55 -0700
              Re: How long is a path? Alas currentdash is silent Scott Hemphill <hemphill@hemphills.net> - 2016-04-06 17:12 -0400
                Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 14:34 -0700
        Re: How long is a path? Alas currentdash is silent Scott Hemphill <hemphill@hemphills.net> - 2016-04-06 11:35 -0400
          Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 09:38 -0700
  Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-07 01:39 -0700
  Re: How long is a path? Alas currentdash is silent Carlos <angus@quovadis.com.ar> - 2016-04-08 15:04 +0200
    Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-08 14:32 -0700
      Re: How long is a path? Alas currentdash is silent Carlos <angus@quovadis.com.ar> - 2016-04-09 01:19 +0200
    Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-08 14:57 -0700
      Re: How long is a path? Alas currentdash is silent Carlos <angus@quovadis.com.ar> - 2016-04-09 01:31 +0200

csiph-web