You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under Linux and Mono I've a severe issue. I'm trying to get the object globalbounds but it returns the wrong top/left value.
I've tested this with :
using System;
using SFML.Graphics;
using SFML.Window;
namespace TestGlobalBounds
{
public class Program
{
private RenderWindow win;
private Text text;
public Program ()
{
win = new RenderWindow(new VideoMode(800,600), "Hello world");
text = new Text ("Hello world");
text.Position = new Vector2f(100,100);
Console.WriteLine (text.GetGlobalBounds());
}
public static void Main( string[] args)
{
Program prog = new Program();
}
}
}
With this result : [FloatRect] Left(1) Top(7) Width(145) Height(24)
So I wrote the same program directly in C with the good result : 107.000000:101.000000:145.000000:24.000000
The same issue occurred with Sprite object.
It seems to be the interface between C# and C whose do its job wrong.
I will search if this issue occurred under Windows and try to fix the issue.
The text was updated successfully, but these errors were encountered:
Under Linux and Mono I've a severe issue. I'm trying to get the object globalbounds but it returns the wrong top/left value.
I've tested this with :
With this result : [FloatRect] Left(1) Top(7) Width(145) Height(24)
So I wrote the same program directly in C with the good result : 107.000000:101.000000:145.000000:24.000000
The same issue occurred with Sprite object.
It seems to be the interface between C# and C whose do its job wrong.
I will search if this issue occurred under Windows and try to fix the issue.
The text was updated successfully, but these errors were encountered: