Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HybridOS
hiSVG
Commits
201a9cb3
Commit
201a9cb3
authored
May 14, 2021
by
XueShuming
Browse files
update license
parent
5dfff407
Changes
4
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
201a9cb3
#
#
# IMPORTANT NOTICE
#
# The following open source license statement does not apply to any
# entity in the Exception List published by FMSoft.
#
# For more information, please visit:
#
# https://www.fmsoft.cn/exception-list
#
#
# This file is part of HiDOMLayout. hiDOMLayout is a library to
# maintain a DOM tree, lay out and stylize the DOM nodes by
# using CSS (Cascaded Style Sheets).
#
# Copyright (C) 2021 Beijing FMSoft Technologies Co., Ltd.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General License for more details.
#
# You should have received a copy of the GNU Lesser General License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Or,
#
# As this program is a library, any link to this program must follow
# GNU Lesser General License version 3 (LGPLv3). If you cannot accept
# LGPLv3, you need to be licensed from FMSoft.
#
# If you have got a commercial license of this program, please use it
# under the terms and conditions of the commercial license.
#
# For more information about the commercial license, please refer to
# <http://www.minigui.com/blog/minigui-licensing-policy/>.
#
cmake_minimum_required
(
VERSION 3.10
)
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_SOURCE_DIR
}
/cmake"
)
...
...
src/CMakeLists.txt
View file @
201a9cb3
#
#
# IMPORTANT NOTICE
#
# The following open source license statement does not apply to any
# entity in the Exception List published by FMSoft.
#
# For more information, please visit:
#
# https://www.fmsoft.cn/exception-list
#
#
# This file is part of HiDOMLayout. hiDOMLayout is a library to
# maintain a DOM tree, lay out and stylize the DOM nodes by
# using CSS (Cascaded Style Sheets).
#
# Copyright (C) 2021 Beijing FMSoft Technologies Co., Ltd.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General License for more details.
#
# You should have received a copy of the GNU Lesser General License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Or,
#
# As this program is a library, any link to this program must follow
# GNU Lesser General License version 3 (LGPLv3). If you cannot accept
# LGPLv3, you need to be licensed from FMSoft.
#
# If you have got a commercial license of this program, please use it
# under the terms and conditions of the commercial license.
#
# For more information about the commercial license, please refer to
# <http://www.minigui.com/blog/minigui-licensing-policy/>.
#
cmake_minimum_required
(
VERSION 3.10
)
...
...
tests/CMakeLists.txt
View file @
201a9cb3
#
#
# IMPORTANT NOTICE
#
# The following open source license statement does not apply to any
# entity in the Exception List published by FMSoft.
#
# For more information, please visit:
#
# https://www.fmsoft.cn/exception-list
#
#
# This file is part of HiDOMLayout. hiDOMLayout is a library to
# maintain a DOM tree, lay out and stylize the DOM nodes by
# using CSS (Cascaded Style Sheets).
#
# Copyright (C) 2021 Beijing FMSoft Technologies Co., Ltd.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General License for more details.
#
# You should have received a copy of the GNU Lesser General License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Or,
#
# As this program is a library, any link to this program must follow
# GNU Lesser General License version 3 (LGPLv3). If you cannot accept
# LGPLv3, you need to be licensed from FMSoft.
#
# If you have got a commercial license of this program, please use it
# under the terms and conditions of the commercial license.
#
# For more information about the commercial license, please refer to
# <http://www.minigui.com/blog/minigui-licensing-policy/>.
#
cmake_minimum_required
(
VERSION 3.10
)
project
(
svg2png
)
...
...
tests/svg2png.c
View file @
201a9cb3
/////////////////////////////////////////////////////////////////////////////// //
// IMPORTANT NOTICE
//
// The following open source license statement does not apply to any
// entity in the Exception List published by FMSoft.
//
// For more information, please visit:
//
// https://www.fmsoft.cn/exception-list
//
//////////////////////////////////////////////////////////////////////////////
/**
\verbatim
This file is part of hiSVG. hiSVG is a high performance SVG
rendering library.
Copyright (C) 2021 Beijing FMSoft Technologies Co., Ltd.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General License for more details.
You should have received a copy of the GNU Lesser General License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Or,
As this program is a library, any link to this program must follow
GNU Lesser General License version 3 (LGPLv3). If you cannot accept
LGPLv3, you need to be licensed from FMSoft.
If you have got a commercial license of this program, please use it
under the terms and conditions of the commercial license.
For more information about the commercial license, please refer to
<http://www.minigui.com/blog/minigui-licensing-policy/>.
\endverbatim
*/
#include <stdio.h>
#include <stdlib.h>
...
...
@@ -57,9 +104,9 @@ int MiniGUIMain (int argc, const char* argv[])
cairo_paint (cr);
#endif
HiSVGRect
rect
=
{
0
,
0
,
1
00
,
1
00
};
//
hisvg_handle_render_cairo (svg, cr, &rect, NULL, NULL);
hisvg_handle_render_cairo
(
svg
,
cr
,
NULL
,
NULL
,
NULL
);
HiSVGRect
rect
=
{
0
,
0
,
2
00
,
2
00
};
hisvg_handle_render_cairo
(
svg
,
cr
,
&
rect
,
NULL
,
NULL
);
//
hisvg_handle_render_cairo (svg, cr, NULL, NULL, NULL);
cairo_surface_write_to_png
(
surface
,
png_name
);
cairo_surface_destroy
(
surface
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment