summaryrefslogtreecommitdiff
path: root/svgio/inc/svgvisitor.hxx
blob: 2aa1f978fe4ea197f1c0e5e1f85b4383b5143e37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 */

#pragma once

#include <basegfx/DrawCommands.hxx>
#include <memory>
#include "svgnode.hxx"

namespace svgio::svgreader
{
class SvgDrawVisitor final : public Visitor
{
private:
    std::shared_ptr<gfx::DrawRoot> mpDrawRoot;
    std::shared_ptr<gfx::DrawBase> mpCurrent;

public:
    SvgDrawVisitor();

    void visit(svgio::svgreader::SvgNode const& rNode) override;
    void goToChildren(svgio::svgreader::SvgNode const& rNode);

    std::shared_ptr<gfx::DrawRoot> const& getDrawRoot() const { return mpDrawRoot; }
};
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
soffice.xcodeproj/project.pbxproj?id=0b18b6b85de4088280f0be88016424562b207c9d'>Add more source files for debugging convenienceTor Lillqvist 2021-12-30use concrete types in chart2, SvxShapeRectNoel Grandin 2021-12-30use concrete types in chart2, SvxGroupShape and SvxShapePolyPolygonNoel Grandin 2021-12-06Retire build-nocheckThorsten Behrens 2021-11-24Add source files from basic/source/sbxTor Lillqvist 2021-10-21Add source files from fpicker/source/aquaTor Lillqvist 2021-01-14Add more source files for breakpointing convenienceTor Lillqvist 2021-01-14Add some more source files and drop dead onesTor Lillqvist 2020-12-08Add source files from svx/source/tbxctrlsTor Lillqvist 2020-12-06Add source files from dbaccess/source/ui/miscTor Lillqvist 2020-12-06Fix some bogus pathsTor Lillqvist 2020-10-16Rename CLANG_CC, CLANG_CXX configuration vars (avoid clash with scan-build)Stephan Bergmann 2020-06-12PopupMenuFloatingWindow is now unusedCaolán McNamara 2020-05-25Add source files from sfx2/source/applTor Lillqvist 2020-05-22Add source files from xmlsecurity/source/xmlsecTor Lillqvist 2020-05-22Add source files from desktop for breakpointing convenienceTor Lillqvist 2020-05-12Add some more source files for breakpointing convenienceTor Lillqvist 2020-05-11Add some more source files for breakpointing convenienceTor Lillqvist 2020-05-06Add source files from cui/source/options and unotools/source/i18nTor Lillqvist 2020-04-29Add source files in the C++/UNO bridge for easier breakpointingTor Lillqvist 2019-11-20Add some more source files for breakpointing convenienceTor Lillqvist 2019-10-08Add missing source files in vcl/source/gdiTor Lillqvist 2018-05-21Add sal/osl/unx/file.cxx for debugging convenienceTor Lillqvist 2018-05-21Updates by Xcode 9.3Tor Lillqvist 2018-01-08Add a few Mac-specific source files in avmedia for easier breakpointingTor Lillqvist 2016-10-20Add some more source files for breakpointing convenienceTor Lillqvist 2016-02-08vcl: cmdevt.[hc]xx -> commandevent.[hc]xxChris Sherlock 2014-03-06Add an Xcode project to make it easier to debug a running soffice on OS XTor Lillqvist