[metapost] Color of a point

Boguslaw Jackowski B_Jackowski at GUST.org.pl
Mon Jun 22 14:46:42 CEST 2009


Luigi Scarso:
> Sorry, again .
> Maybe a silly question:
> given a point, how can I know the background color of this point ?

Taco Hoekwater:
> All in all: not simple at all.

Would be much easier if we could operate on bitmaps in METAPOST
(yes, yes, it's my olden golden dream ;-) -- then, at least within
some accuracy, we might have check the colour of a given point...

Note that checking whether two B\'zier intersect, or are tangent, or
are just very close to each other is not at all robust operations anyway.

Cheers -- Jacko

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Bogus\l{}aw Jackowski: B_Jackowski at GUST.ORG.PL
----------------------------------------------------------------
  Hofstadter's Law: It always takes longer than you expect, even
                    when you take into account Hofstadter's Law.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the metapost mailing list