[metapost] defaultcolormodel

Taco Hoekwater taco at elvenkind.com
Fri Jul 8 11:54:35 CEST 2011


On 07/08/2011 12:43 PM, Karel wrote:
> Taco Hoekwater napsal(a):
>> On 07/08/2011 12:01 AM, Stephan Hennig wrote:
>>> Hi,
>>>
>>> I'm wondering what the meaning of variable defaultcolormodel is. The
>>> manual is rather terse (p.28):
>>>
>>> The ‘current default’ color model can be set up using the internal
>>> variable defaultcolormodel. Table 2 lists the valid values.
>>>
>>> Well, variable defaultcolormodel determines the colour space of the
>>> black ink that is used for drawing and filling strokes, i.e., whether 0,
>>> (0,0,0) or (0,0,0,1) is written into the output.
>>
>> Yes.
>>
>
> I think it is not the case. I tried

I think you misunderstood my reply. 'defaultcolormodel' is not about
this:

   draw fullcircle scaled 10mm withcolor .5white;

but about this:

   draw fullcircle scaled 10mm;

best wishes,
Taco


More information about the metapost mailing list