VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Gv::Overlay Class Reference

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
 

Detailed Description

A class that can add a text overlay to an image.

Definition at line 44 of file gvoverlay.h.

Member Function Documentation

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.


The documentation for this class was generated from the following files: