[Top][All Lists]

[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;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]