René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

Simple text [Ming wrapper example]

This flash movie was created with the following program.
SimpleText.cpp
#include "SWFMovie.h"

int main() {
  Movie movie("SimpleText.swf", 800, 100);

  int margin   = 5;
  int font_size=44;

  Font verdana("Verdana.fdb");
  Text hallo(verdana, font_size, margin, font_size+margin, "abcdefghijklmnopqrstuvwxyz", 255, 0, 0);

  movie.Add(hallo);
}
This is one of a series of examples that demonstrates the C++ ming wrapper classes. Other examples can be found here.