mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 19:02:53 +00:00
38 lines
668 B
C++
38 lines
668 B
C++
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
|
|
|
|
/* glyph.cpp
|
|
*
|
|
* part of kdvi, a dvi-previewer for the KDE desktop environement
|
|
*
|
|
* written by Stefan Kebekus, originally based on code by Paul Vojta
|
|
* and a large number of co-authors */
|
|
|
|
#include <config.h>
|
|
|
|
#include "glyph.h"
|
|
#include "kvs_debug.h"
|
|
|
|
bitmap::bitmap()
|
|
{
|
|
bits = 0;
|
|
}
|
|
|
|
bitmap::~bitmap()
|
|
{
|
|
delete bits;
|
|
}
|
|
|
|
glyph::glyph()
|
|
{
|
|
#ifdef DEBUG_GLYPH
|
|
kDebug(kvs::dvi) << "glyph::glyph()";
|
|
#endif
|
|
|
|
addr = 0;
|
|
x = 0;
|
|
y = 0;
|
|
dvi_advance_in_units_of_design_size_by_2e20 = 0;
|
|
}
|
|
|
|
glyph::~glyph()
|
|
{}
|