lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master e955302 2/3: Redundantly document meaning of


From: Greg Chicares
Subject: [lmi-commits] [lmi] master e955302 2/3: Redundantly document meaning of a wxPdfDoc pixel
Date: Sat, 21 Apr 2018 15:08:07 -0400 (EDT)

branch: master
commit e9553022765f4ae28685dce3148806d7ec35eed5
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Redundantly document meaning of a wxPdfDoc pixel
    
    Explicitly repeated what was already documented in pdf_writer_wx's
    ctor, just for ease of reference.
---
 wx_table_generator.hpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/wx_table_generator.hpp b/wx_table_generator.hpp
index c5cec3f..58fcdb5 100644
--- a/wx_table_generator.hpp
+++ b/wx_table_generator.hpp
@@ -336,8 +336,10 @@ class wx_table_generator
 
         std::string const header_;
 
-        // Note that this field is modified directly by wx_table_generator code
-        // and hence is non-const.
+        // Width in pixels. Because the wxPdfDC uses wxMM_POINTS, each
+        // pixel is one point = 1/72 inch.
+        //
+        // Modified directly by wx_table_generator code, hence not const.
         int width_;
 
       private:



reply via email to

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