public static void Paint(this TextureImage image, IGUIContext ctx, RectangleF dest) { image.Paint(ctx, Rectangle.Round(dest)); }