<div dir="ltr">No that is incorrect. A line width less than one pixel will color in single pixels with less than 100% opaqueness. It can actually color in 2 pixels, if Cairo thinks the line width straddles the position between the pixels. The line width NEVER "rounds to zero".<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 27, 2019 at 2:05 AM Elmar Haneke <<a href="mailto:elmar@haneke.de">elmar@haneke.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
>    A question on Cairo: The X Y inputs to Cairo drawing functions are<br>
> type double.<br>
><br>
> Dose this imply that pixel or line spacing could be less than 1.0?<br>
><br>
> Could the spacing be say 0.5 or 0.25?<br>
<br>
<br>
On devices where an coordinate-distance of 1.0 does map to an single<br>
pixel this does make only limited sense as the space or line width might<br>
be rounded to 0.<br>
<br>
<br>
But for high resolution devices as printers or vector-graphics as PDF<br>
you can define coordinates to 72DPI or 300DPI or if you prefer to work<br>
metric even to millimeters.<br>
<br>
On such an setting an spacing of 0.25 does make an significant difference.<br>
<br>
<br>
Elmar<br>
<br>
<br>
-- <br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org" target="_blank">cairo@cairographics.org</a><br>
<a href="https://lists.cairographics.org/mailman/listinfo/cairo" rel="noreferrer" target="_blank">https://lists.cairographics.org/mailman/listinfo/cairo</a></blockquote></div>