Text in a layer


/ Published in: C++
Save to your folder(s)



Copy this code and paste it in your HTML
  1. mLayer->createCaption(72, 10, 0, "Coco", 1.7);
  2. mLayer->createCaption(72, 10, 290, "Coco is a Chocolate point Siamese cat", 0.38);
  3. mLayer->createCaption(72, 10, 320, "She is eight years old", 0.68);
  4. mLayer->createCaption(72, 10, 380, "Coco has a brown face, paws and tail", 0.39);
  5. mLayer->createCaption(72, 10, 420, "She likes to play with toy mice, and uses cardboard boxes as forts", 0.22);
  6. mLayer->createCaption(72, 10, 440, "Coco talks a lot through a deep meow, which we call a 'row'", 0.24);
  7. mLayer->createCaption(72, 10, 460, "Her best friend is another Siamese cat called Ping", 0.29);
  8. mLayer->createCaption(72, 10, 490, "Ping likes to watch Coco get into mischief, which Coco gets into a lot", 0.205

URL: http://dl.dropbox.com/u/3507923/gorillacoco.png

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.