richedit: Documented paragraph border widths are in points not pixels.

Dylan Smith dylan.ah.smith at gmail.com
Sat Feb 27 12:31:02 CST 2010


The border widths documented by msdn are in points which are 72 dpi, which
is not equivalent to pixels (normally 96 dpi). I pre-converted all the
border widths to 96 dpi resolution since this avoids needed to store
fractions, and often avoids the need for convertion to the displays
resolution.
---
 dlls/riched20/editor.h |    2 +-
 dlls/riched20/paint.c  |   57 ++++++++++++++++++++++-------------------------
 dlls/riched20/wrap.c   |    2 +-
 3 files changed, 29 insertions(+), 32 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-richedit-Documented-paragraph-border-widths-are-in-p.patch
Type: text/x-patch
Size: 5469 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100227/30868bf6/attachment.bin>


More information about the wine-patches mailing list