VideoTools
|
A class that can add a text overlay to an image. More...
#include <gvoverlay.h>
Public Member Functions | |
Overlay (Gr::ImageData &out) | |
Constructor. | |
void | write (int x, int y, const std::string &format, const Gv::Timezone &) |
Writes the string at the given position, with text-substitution for "%t". More... | |
void | timestamp (int x, int y, const Gv::Timezone &) |
Writes a timestamp at the given position. | |
Friends | |
class | Gr::Glyph |
A class that can add a text overlay to an image.
Definition at line 44 of file gvoverlay.h.
void Gv::Overlay::write | ( | int | x, |
int | y, | ||
const std::string & | format, | ||
const Gv::Timezone & | tz | ||
) |
Writes the string at the given position, with text-substitution for "%t".
Definition at line 69 of file gvoverlay.cpp.