mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
19d98d6a74
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \; If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
39 lines
630 B
C++
39 lines
630 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 environment
|
|
*
|
|
* written by Stefan Kebekus, originally based on code by Paul Vojta
|
|
* and a large number of co-authors */
|
|
|
|
#include <config.h>
|
|
|
|
#include "debug_dvi.h"
|
|
#include "glyph.h"
|
|
|
|
bitmap::bitmap()
|
|
{
|
|
bits = nullptr;
|
|
}
|
|
|
|
bitmap::~bitmap()
|
|
{
|
|
delete[] bits;
|
|
}
|
|
|
|
glyph::glyph()
|
|
{
|
|
#ifdef DEBUG_GLYPH
|
|
qCDebug(OkularDviDebug) << "glyph::glyph()";
|
|
#endif
|
|
|
|
addr = 0;
|
|
x = 0;
|
|
y = 0;
|
|
dvi_advance_in_units_of_design_size_by_2e20 = 0;
|
|
}
|
|
|
|
glyph::~glyph()
|
|
{
|
|
}
|