A Question

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

A Question

Gtk+ - General mailing list
Gentle People:

    A question on Cairo: The X Y inputs to Cairo drawing functions are
type double.

Dose this imply that pixel or line spacing could be less than 1.0?

Could the spacing be say 0.5 or 0.25?

Thomas Dineen

Thomas Dineen <[hidden email]>


_______________________________________________
gtk-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-list
Reply | Threaded
Open this post in threaded view
|

Re: A Question

Paul Davis


On Fri, Feb 22, 2019 at 7:26 PM Thomas Dineen via gtk-list <[hidden email]> wrote:
Gentle People:

    A question on Cairo: The X Y inputs to Cairo drawing functions are
type double.

Dose this imply that pixel or line spacing could be less than 1.0?

Could the spacing be say 0.5 or 0.25?

No.

However, there is an important semantic sense to units in Cairo that end in .5, which you and should read more about here:


Understanding what is described there is critical to working with Cairo, and more generally to almost any computer graphics based on pixel displays (ie. everything at this point).


_______________________________________________
gtk-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-list