Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
metapost [2021/11/24 09:32] – image beni | metapost [2024/11/17 06:04] (current) – [Area Symbols] add link to https://colorcodes.io brucemutton | ||
---|---|---|---|
Line 224: | Line 224: | ||
fi; | fi; | ||
picture thetext; | picture thetext; | ||
- | thetext: | + | thetext: |
if A = (-1,1): | if A = (-1,1): | ||
p_label.ulft(thetext, | p_label.ulft(thetext, | ||
Line 1136: | Line 1136: | ||
zz3 := postcontrol t of P; | zz3 := postcontrol t of P; | ||
zz4 := precontrol t+1 of P; | zz4 := precontrol t+1 of P; | ||
+ | linecap_prev: | ||
linecap:=0; | linecap:=0; | ||
if (length(zz3-1/ | if (length(zz3-1/ | ||
Line 1157: | Line 1158: | ||
draw zz1--zz2 withcolor background; | draw zz1--zz2 withcolor background; | ||
fi; | fi; | ||
+ | linecap: | ||
endfor; | endfor; | ||
enddef; | enddef; | ||
Line 1695: | Line 1697: | ||
Colors are in order R, G, B --- 0=0 1=255. Color (0.1, 0.2, 0.8) means (25 51 204) in Photoshop - quite dark blue. Light blue could be for example (123 213 255) in Photoshop - it is (123/255, 213/255, 255/255) or (0.48, 0.84 1.0) for Metapost. | Colors are in order R, G, B --- 0=0 1=255. Color (0.1, 0.2, 0.8) means (25 51 204) in Photoshop - quite dark blue. Light blue could be for example (123 213 255) in Photoshop - it is (123/255, 213/255, 255/255) or (0.48, 0.84 1.0) for Metapost. | ||
- | See also [[tips#RGB to Therion Colour Mapping Calculator|this spreadsheet]] to visualise and convert between colour formats. | + | See also |
---- | ---- |