Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How to load vector art?  (Read 2249 times)

0 Members and 1 Guest are viewing this topic.

Voroz

  • Full Member
  • ***
  • Posts: 128
    • View Profile
How to load vector art?
« on: March 19, 2010, 08:46:40 pm »
Hi, is it possible to load vector art files? And if so, how?. The normal way:

Code: [Select]
if (!Image[4].LoadFromFile("Tree.eps"))
    return 0;
sf::Sprite tree;
tree.SetImage(Image[4]);


does not work, says eps is not a known file type.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
How to load vector art?
« Reply #1 on: March 19, 2010, 08:58:09 pm »
Vector images are not supported in SFML.
Laurent Gomila - SFML developer

Voroz

  • Full Member
  • ***
  • Posts: 128
    • View Profile
How to load vector art?
« Reply #2 on: March 19, 2010, 11:13:26 pm »
ok thanks.

 

anything