290d8c3f37
Add JPEG export support
2014-09-17 11:25:40 +02:00
7fe6a16401
Add a rendering parameter to ag_chart_create_svg()
...
Based upon this parameter a <rect> is included in the resulting SVG
document, providing a background color, and so is the chart CSS.
2014-09-17 11:25:40 +02:00
8e60f5611c
Refactor SVG save action/dialog to be a general image saving function
2014-09-17 11:25:40 +02:00
4549c9fab3
Refactor AgDb
...
Rename functions and type names so they are clearly related to charts.
This is required to implement display theme manipulation in the database.
2014-09-13 01:05:08 +02:00
3f14387018
Unify AgChart API, so ag_chart_get_*() that return strings are const
2014-08-26 13:19:17 +02:00
88fb58a527
Import Placidus charts
2014-08-10 14:31:38 +02:00
a30d19d1bb
Generalize chart loading functions
...
* ag_app_import_chart() became ag_app_import_file(), and has the potential
to load any file type
* ag_app_import_cb() so it can open multiple file types
* ag_chart_load_from_file() is now called ag_chart_load_from_agc()
2014-08-10 14:31:38 +02:00
ab12922d8a
Rework chart save procedure
...
* Fixed some design flows: AgDb should not know about the window
* AgChart now only creates an AgDbSave structure, saving is done through
AgWindow
2014-08-02 01:37:11 +02:00
12e088b452
Add function ag_chart_save_to_db() to save the chart to the db
2014-07-31 21:23:23 +02:00
310caa9292
Add function ag_chart_new_from_db_save()
...
It constructs an AgChart from an AgDbSave struct
2014-07-31 01:00:22 +02:00
749a253f18
Code beautification in ag-chart.h
2014-07-21 23:46:20 +02:00
cad657c1b1
Move AgChartPrivate to ag-chart.c completely
2014-07-19 10:46:41 +02:00
9342ea63de
Code beautification
...
Wrap long lines in all files
2014-07-11 10:33:04 +02:00
86e5438807
Add chart note support
...
It is saved under /chartinfo/note, and may be non-existant or an empty
tag.
Fixes #28
2014-07-09 00:38:04 +02:00
70d38a379d
Add function ag_chart_get_planets()
2014-06-30 17:55:00 +02:00
c34ba055bc
Add SVG export functionality
2014-06-27 17:15:57 +02:00
f6e3f9e033
Change ag_chart_create_svg() to return the length of the SVG document
...
This is needed later for SVG export
2014-06-27 17:11:04 +02:00
ea3b038b57
Uncrustified sources
...
Also, added astrognome-uncrustify.cfg for later use
2013-09-21 18:37:27 +02:00
25e5abcbcb
Finished SVG generating code
2013-09-19 19:56:25 +02:00
2d93bca140
Started generating chart SVG
2013-09-18 11:41:20 +02:00
573f05ceb4
Changed ag_chart_save_to_file() prototype to a more sane one
2013-09-18 10:06:12 +02:00
160339d888
Moved chart loading into ag_chart_load_from_file(), where it was intended to be
2013-09-18 10:05:24 +02:00
1541e381c5
Created ag-chart-error-quark and AgChartError enum
2013-09-18 10:02:23 +02:00
a023606320
Added name, country and city properties to AgChart
2013-09-17 22:18:24 +02:00
58ac3786b1
Created ag_chart_new_full() instead of ag_chart_new()
2013-09-16 23:20:42 +02:00
c407023bc9
Started implementing load/save functionality
2013-09-16 23:20:42 +02:00