Hi all,
i want to print some text with

Gnome.Print.Moveto (Context, x, y);
Gnome.Print.Show (Context, text);

how to convert (x/y) to cm depend on the Printer an Resolution ?
i found this

public double ConvertToPixel (double cm)
{
        return cm * (75.0 / 2.54);
}

is this the right way ?


Regards
Wolfgang
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
  • [Gtk-sharp-l... Wolfgang Mauer
    • Re: [Gt... Victor Rafael Rivarola Soerensen (FANATICO y LOCO por Cristo)

Reply via email to