ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jens-Uwe Morawski <morawski@gmx.net>
Subject: Re: MetaFun questions
Date: Thu, 6 Mar 2003 19:10:42 +0100	[thread overview]
Message-ID: <20030306191042.393233b1.morawski@gmx.net> (raw)
In-Reply-To: <5.1.0.14.1.20030303220936.02449970@server-1>

On Mon, 03 Mar 2003 22:10:27 +0100
Hans Hagen <pragma@wxs.nl> wrote:

> At 03:22 PM 2/28/2003 +0100, you wrote:
> 
> >\definecolor[sa][r=1,t=0.7,a=1]
> >\definecolor[ea][g=1,t=0.5,a=1]
> >
> >\definecolor[s][r=1]
> >\definecolor[e][g=1]
> >
> >\startMPgraphic
> >   path p ; p := unitsquare xscaled 5cm yscaled 5cm ;
> >   fill p shifted (4cm,4cm) withcolor .7white ;
> >   fill p shifted (-3cm,-3cm) withcolor .8white ;
> >
> >   linear_shade(p,0,\MPcolor{s},\MPcolor{e});
> >\stopMPgraphic
> >
> >\loadcurrentMPgraphic\placeMPgraphic
> 
> i'll have a look at it; i'm not even sure if transparent shades are 
> possible, since the shading vectors need color vectors (implementing 
> shading and transparency took me quite some time to figure out from the 
> fuzzy specs]

i had a look in the spec today and it seems that it is impossible since
transparency can only be applied to objects or groups but not to a color
vector. So, we need to wait until PDF1.X supports this. If somebody has
good connections to Adobe please ask for this very feature.

Jens

P.S. If somebody has access to Adobe Illustrator then i could help
     to know if it is possible there ;-)

      reply	other threads:[~2003-03-06 18:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 13:09 Jens-Uwe Morawski
2003-02-27 14:55 ` Hans Hagen
2003-02-27 19:05   ` Nigel King
2003-02-28  7:43     ` Hans Hagen
2003-02-28  9:17       ` Nigel King
2003-03-06 13:13         ` Hans Hagen
2003-03-06 17:16           ` Jens-Uwe Morawski
2003-03-07 10:21             ` Hans Hagen
2003-02-28 14:22   ` Jens-Uwe Morawski
2003-03-03 21:10     ` Hans Hagen
2003-03-06 18:10       ` Jens-Uwe Morawski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030306191042.393233b1.morawski@gmx.net \
    --to=morawski@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).