Use fuzzy text bounding rect computation to improve performance

Do not use QGraphicsScene as it is not thread-safe
This commit is contained in:
2018-11-11 14:10:38 +01:00
parent 078fc93783
commit d6f6a0eb3d
9 changed files with 207 additions and 85 deletions

View File

@ -1,7 +1,7 @@
TARGET = pbf
TEMPLATE = lib
CONFIG += plugin
QT += gui widgets
QT += gui
PROTOS = protobuf/vector_tile.proto
include(protobuf/vector_tile.pri)
@ -17,8 +17,9 @@ HEADERS += src/pbfhandler.h \
src/tile.h \
src/function.h \
src/textpathitem.h \
src/textitem.h \
src/font.h
src/textpointitem.h \
src/font.h \
src/textitem.h
SOURCES += src/pbfplugin.cpp \
src/pbfhandler.cpp \
src/gzip.cpp \
@ -28,7 +29,7 @@ SOURCES += src/pbfplugin.cpp \
src/text.cpp \
src/function.cpp \
src/textpathitem.cpp \
src/textitem.cpp \
src/textpointitem.cpp \
src/font.cpp
RESOURCES += pbfplugin.qrc