uhmmm... I found that " a.Mirror(True, False) " function generates that effect. So, without that function X coordinate works normally.
Ok. Regards vuott -------------------------------------------- Mer 27/11/13, Ru Vuott <vu...@yahoo.it> ha scritto: Oggetto: [Gambas-user] X coordinate in Paint.DrawText works in reverse. A: gambas-user@lists.sourceforge.net Data: Mercoledì 27 novembre 2013, 11:58 Hello, I have this code: ************************************* Public Sub Button1_Click() Dim a As New Image Dim b As Picture ' I load a file image: a = a.Load("/path/of/file/image") With Paint .Begin(a) .Font.Size = 16 .DrawText("d", 100, 20, 10, 10) .End End With a.Mirror(True, False) b = a.Picture PictureBox1.Picture = b End *************************************** I do not understand why the X coordinate in "Paint.DrawText( )" metod works in reverse. ...if its value is near to zero, then the letter "b" is shown at the "right" edge of the image ! Increasing the value of the X coordinate, the letter approaches to the "left" edge of the image ! Same problem with "Paint.DrawRichText( )" metod ! Regards vuott ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user