File indexing completed on 2024-05-12 16:06:38

0001 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
0002 
0003 /* glyph.cpp
0004  *
0005  * part of kdvi, a dvi-previewer for the KDE desktop environment
0006  *
0007  * written by Stefan Kebekus, originally based on code by Paul Vojta
0008  * and a large number of co-authors */
0009 
0010 #include <config.h>
0011 
0012 #include "debug_dvi.h"
0013 #include "glyph.h"
0014 
0015 bitmap::bitmap()
0016 {
0017     bits = nullptr;
0018 }
0019 
0020 bitmap::~bitmap()
0021 {
0022     delete[] bits;
0023 }
0024 
0025 glyph::glyph()
0026 {
0027 #ifdef DEBUG_GLYPH
0028     qCDebug(OkularDviDebug) << "glyph::glyph()";
0029 #endif
0030 
0031     addr = 0;
0032     x = 0;
0033     y = 0;
0034     dvi_advance_in_units_of_design_size_by_2e20 = 0;
0035 }
0036 
0037 glyph::~glyph()
0038 {
0039 }