[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master afdbbeb 6/9: Consolidate commentary
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master afdbbeb 6/9: Consolidate commentary |
Date: |
Wed, 4 Apr 2018 21:27:38 -0400 (EDT) |
branch: master
commit afdbbebf1fdefe91b4bb5ae6e2632471b69d6d4b
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Consolidate commentary
---
pdf_writer_wx.hpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/pdf_writer_wx.hpp b/pdf_writer_wx.hpp
index 826120d..8abdf45 100644
--- a/pdf_writer_wx.hpp
+++ b/pdf_writer_wx.hpp
@@ -62,7 +62,9 @@ class pdf_writer_wx
// std::move() is required to call it.
void save() &&;
- // High level functions which should be preferably used if possible.
+ // Wherever possible, use the following high-level functions
+ // instead of working at a lower level with the dc() accessor.
+
int output_html
(int x
,int y
@@ -80,12 +82,12 @@ class pdf_writer_wx
,oenum_render_or_only_measure output_mode = oe_render
);
- // Accessors allowing to use lower level wxDC API directly.
wxDC& dc();
// Page metrics: the page width and height are the size of the page region
// reserved for the normal contents, excluding horizontal and vertical
// margins. Total width and height include the margins.
+
int get_horz_margin() const;
int get_vert_margin() const;
int get_page_width() const;
- [lmi-commits] [lmi] master updated (d9f9215 -> f4580cf), Greg Chicares, 2018/04/04
- [lmi-commits] [lmi] master 035e5a0 2/9: Simplify, Greg Chicares, 2018/04/04
- [lmi-commits] [lmi] master afdbbeb 6/9: Consolidate commentary,
Greg Chicares <=
- [lmi-commits] [lmi] master 38df10a 4/9: Simplify diagnostics, Greg Chicares, 2018/04/04
- [lmi-commits] [lmi] master 6586cab 1/9: Simplify, Greg Chicares, 2018/04/04
- [lmi-commits] [lmi] master ecd1362 3/9: Shorten diagnostics, Greg Chicares, 2018/04/04
- [lmi-commits] [lmi] master 783f4dd 5/9: Consolidate and revise documentation, Greg Chicares, 2018/04/04
- [lmi-commits] [lmi] master f4580cf 9/9: Don't ref-qualify save(), Greg Chicares, 2018/04/04
- [lmi-commits] [lmi] master 5d225f5 7/9: Move commentary to point of member-function definition, Greg Chicares, 2018/04/04
- [lmi-commits] [lmi] master f5651d1 8/9: Prevent save() from being called twice, Greg Chicares, 2018/04/04