diff options
| author | Konstantin Ritt <ritt.ks@gmail.com> | 2013-08-10 23:17:36 +0300 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-14 22:47:19 +0200 |
| commit | fe3c34c2595cfbf466d899b5431ee1de03ce52a7 (patch) | |
| tree | 29a263a4e1492de405a9010dd0d34742d928b5db /qmake/doc/snippets/code | |
| parent | cb7921a4331c523a9843a2d825ed9e58b24bf26d (diff) | |
Don't allocate QGlyphLayout data, when possible
...and operate directly on a passed array pointers,
without having to copy the input and output data.
Calling QFontEngine:: stringToCMap()/recalcAdvances() with
partially-constructed QGlyphLayout is completely safe
iff `glyphs` and `advances_?` members were initialized.
Also get rid of QGlyphLayoutInstance that was used just in a single place
and never was really needed.
Change-Id: I48fab246fd69fc869f948220a553c3574d93c772
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'qmake/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
