The only letter (g) I have left in the logo has two spaces that I want to cut
out.
I can't make a single path out of it so that it doesn't go through the entire
letter, so what to do in this case?
Here's the example:
%%%
\starttext
On 02/21/2011 05:09 PM, Reviczky, Adam wrote:
The only letter (g) I have left in the logo has two spaces that I want to cut
out.
I can't make a single path out of it so that it doesn't go through the entire
letter, so what to do in this case?
Can't you construct four outlines instead of three,
On Mon, Feb 21, 2011 at 10:09, Reviczky, Adam adam.revic...@kcl.ac.uk wrote:
The only letter (g) I have left in the logo has two spaces that I want to
cut out.
I can't make a single path out of it so that it doesn't go through the entire
letter, so what to do in this case?
Just as a thought
Just as a thought ... what you currently do with metapost at the
moment is a bit of cheating to overcome lack of a feature in metapost
- there is still an infinitely thin line between segments and a dumb
renderer might display artifacts.
Yes, I am aware of this, just wanted to hear something
On 02/20/2011 04:25 PM, Reviczky, Adam wrote:
As a workaround I fill out the bigger one with color black and the smaller one
with color white, but I need to put this on different background colors, so the
use of this is very limited.
You can fill out the bigger one, than clips the smaller
You can fill out the bigger one, than clips the smaller one.
Can you give me an example with the clip? I can't get it work in a way I want
to have it.
I've found another thread here:
http://www.tug.org/pipermail/metapost/2006-September/000650.html
But I fail to see the conclusion there too.
On 02/21/2011 03:52 AM, Reviczky, Adam wrote:
As for the path of the difference, how do you mean that? Example?
\startMPpage
path p ;
p := fullcircle scaled 1cm ;
path q ;
q := fullcircle scaled .5cm ;
path r ;
r := p -- reverse q -- cycle ;
drawarrow r withcolor green ;
fill r withcolor red ;
\startMPpage
path p ;
p := fullcircle scaled 1cm ;
path q ;
q := fullcircle scaled .5cm ;
path r ;
r := p -- reverse q -- cycle ;
drawarrow r withcolor green ;
fill r withcolor red ;
\stopMPpage
This works here.
Based on this I can now cut out the smaller one from a fullcircle, but it
On 02/21/2011 01:12 PM, Reviczky, Adam wrote:
\starttext
\framed[background=color,backgroundcolor=red,height=fit,width=fit]{
\startMPcode
path p[];
p1 := (6.949220,13.046900)..controls (9.539060,13.046900) and
(10.023400,10.781200)..(10.023400,8.679690)..controls (10.023400,5.335940) and
Maybe you can know why now, from the above code. The direction of the
path is important.
I get it now, thanks for your help!
___
If your question is of interest to others as well, please add an entry to the
Wiki!
So with this method, I can cut out some fillings of letters in a logo,
but for this example it draws a small line through the letter:
%%%
\starttext
\framed[background=color,backgroundcolor=red,height=fit,width=fit]{
\startMPcode
path db[],df[],dc[];
drawoptions (withcolor
On 02/21/2011 02:41 PM, Reviczky, Adam wrote:
but for this example it draws a small line through the letter:
\starttext
\framed[background=color,backgroundcolor=red,height=fit,width=fit]{
\startMPcode
path db[],df[],dc[];
drawoptions (withcolor (0.00,0.329412,0.560784));
db1 :=
12 matches
Mail list logo