diff options
author | Siddhartha Jejurkar <f20180617@goa.bits-pilani.ac.in> | 2021-12-17 16:01:32 +0300 |
---|---|---|
committer | Siddhartha Jejurkar <f20180617@goa.bits-pilani.ac.in> | 2021-12-17 16:01:32 +0300 |
commit | dbc41b30f88b96f7d8c6e995b17f5930eb55cc77 (patch) | |
tree | c6c495328443ea3621e5df2ef483b0e0dd504496 /source/blender/io/gpencil/intern/gpencil_io_export_pdf.hh | |
parent | 99a2af76d10e05a18987be5d554ada197b1ca086 (diff) | |
parent | 7c9e4099854a4fc8eab4db97173c1aacd25f9e08 (diff) |
Merge branch 'master' into soc-2021-uv-edge-select-supportsoc-2021-uv-edge-select-support
Diffstat (limited to 'source/blender/io/gpencil/intern/gpencil_io_export_pdf.hh')
-rw-r--r-- | source/blender/io/gpencil/intern/gpencil_io_export_pdf.hh | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/source/blender/io/gpencil/intern/gpencil_io_export_pdf.hh b/source/blender/io/gpencil/intern/gpencil_io_export_pdf.hh index 89d97f79783..18de321914c 100644 --- a/source/blender/io/gpencil/intern/gpencil_io_export_pdf.hh +++ b/source/blender/io/gpencil/intern/gpencil_io_export_pdf.hh @@ -45,20 +45,31 @@ class GpencilExporterPDF : public GpencilExporter { protected: private: - /* PDF document. */ + /** PDF document. */ HPDF_Doc pdf_; - /* PDF page. */ + /** PDF page. */ HPDF_Page page_; + /** Create PDF document. */ bool create_document(); + /** Add page. */ bool add_page(); + /** Main layer loop. */ void export_gpencil_layers(); + /** + * Export a stroke using poly-line or polygon + * \param do_fill: True if the stroke is only fill + */ void export_stroke_to_polyline(bGPDlayer *gpl, bGPDstroke *gps, const bool is_stroke, const bool do_fill, const bool normalize); + /** + * Set color. + * \param do_fill: True if the stroke is only fill. + */ void color_set(bGPDlayer *gpl, const bool do_fill); }; |