[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-commits
Subject: [haiku-commits] Change in haiku[master]: docs: Add explanatory notes to BSize and BRect.
From: Gerrit <review () review ! haiku-os ! org>
Date: 2021-12-22 19:32:38
Message-ID: 2e2f6b418c5de749f4428ca0cc65d2e540714356-HTML () review ! haiku-os ! org
[Download RAW message or body]
From waddlesplash <waddlesplash@gmail=2Ecom>:
waddlesplash has uploaded th=
is change for review=2E ( https://review=2Ehaiku-os=2Eorg/c/haiku/+/4829 )
=
Change subject: docs: Add explanatory notes to BSize and BRect=2E
=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E
docs: Add explanato=
ry notes to BSize and BRect=2E
---
M docs/user/interface/Rect=2Edox
M docs/=
user/interface/Size=2Edox
2 files changed, 6 insertions(+), 0 deletions(-)
=
git pull ssh://git=2Ehaiku-os=2Eorg:22/haiku refs/changes/29/4829/1
d=
iff --git a/docs/user/interface/Rect=2Edox b/docs/user/interface/Rect=2Edox=
index 81a7071=2E=2E58b94a3 100644
--- a/docs/user/interface/Rect=2Edox
+++=
b/docs/user/interface/Rect=2Edox
@@ -50,6 +50,9 @@
BRect(0, 0, width - 1,=
height -1);
\endcode
+ In other words, the width and height values refe=
r to the number of spanned
+ pixels, not the count of pixels included=2E
+
=
\since BeOS R3
*/
diff --git a/docs/user/interface/Size=2Edox b/docs/u=
ser/interface/Size=2Edox
index 897882d=2E=2E96a3c25 100644
--- a/docs/user/=
interface/Size=2Edox
+++ b/docs/user/interface/Size=2Edox
@@ -44,6 +44,9 @@=
\ingroup libbe
\brief A two-dimensional size=2E
+ \note Note that ju=
st like BRect, the width and height values are pixel spans,
+ not pixel co=
unts=2E That is, a width and height of 0 means a size of 1 pixel=2E
+
\si=
nce Haiku R1
*/
--
To view, visit https://review=2Ehaiku-os=2Eorg/c/ha=
iku/+/4829
To unsubscribe, or for help writing mail filters, visit https://=
review=2Ehaiku-os=2Eorg/settings
Gerrit-Project: haiku
Gerrit-Branch: mast=
er
Gerrit-Change-Id: I4104d1348bb5e686cae45563dd78f3b3cf774d4a
Gerrit-Chang=
e-Number: 4829
Gerrit-PatchSet: 1
Gerrit-Owner: waddlesplash <waddlesplash@=
gmail=2Ecom>
Gerrit-MessageType: newchange
[Attachment #3 (text/html)]
<p>waddlesplash has uploaded this change for <strong>review</strong>.</p><p><a \
href="https://review.haiku-os.org/c/haiku/+/4829">View Change</a></p><pre \
style="font-family: monospace,monospace; white-space: pre-wrap;">docs: Add \
explanatory notes to BSize and BRect.<br>---<br>M docs/user/interface/Rect.dox<br>M \
docs/user/interface/Size.dox<br>2 files changed, 6 insertions(+), 0 \
deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: \
pre-wrap;">git pull ssh://git.haiku-os.org:22/haiku refs/changes/29/4829/1</pre><pre \
style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git \
a/docs/user/interface/Rect.dox b/docs/user/interface/Rect.dox</span><br><span>index \
81a7071..58b94a3 100644</span><br><span>--- \
a/docs/user/interface/Rect.dox</span><br><span>+++ \
b/docs/user/interface/Rect.dox</span><br><span>@@ -50,6 +50,9 @@</span><br><span> \
BRect(0, 0, width - 1, height -1);</span><br><span> \endcode</span><br><span> \
</span><br><span style="color: hsl(120, 100%, 40%);">+ In other words, the width and \
height values refer to the number of spanned</span><br><span style="color: hsl(120, \
100%, 40%);">+ pixels, not the count of pixels included.</span><br><span \
style="color: hsl(120, 100%, 40%);">+</span><br><span> \since BeOS \
R3</span><br><span> */</span><br><span> </span><br><span>diff --git \
a/docs/user/interface/Size.dox b/docs/user/interface/Size.dox</span><br><span>index \
897882d..96a3c25 100644</span><br><span>--- \
a/docs/user/interface/Size.dox</span><br><span>+++ \
b/docs/user/interface/Size.dox</span><br><span>@@ -44,6 +44,9 @@</span><br><span> \
\ingroup libbe</span><br><span> \brief A two-dimensional size.</span><br><span> \
</span><br><span style="color: hsl(120, 100%, 40%);">+ \note Note that just like \
BRect, the width and height values are pixel spans,</span><br><span style="color: \
hsl(120, 100%, 40%);">+ not pixel counts. That is, a width and height of 0 means a \
size of 1 pixel.</span><br><span style="color: hsl(120, 100%, \
40%);">+</span><br><span> \since Haiku R1</span><br><span> */</span><br><span> \
</span><br><span></span><br></pre><p>To view, visit <a \
href="https://review.haiku-os.org/c/haiku/+/4829">change 4829</a>. To unsubscribe, or \
for help writing mail filters, visit <a \
href="https://review.haiku-os.org/settings">settings</a>.</p><div itemscope \
itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" \
itemtype="http://schema.org/ViewAction"><link itemprop="url" \
href="https://review.haiku-os.org/c/haiku/+/4829"/><meta itemprop="name" \
content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: haiku </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: \
I4104d1348bb5e686cae45563dd78f3b3cf774d4a </div> <div style="display:none"> \
Gerrit-Change-Number: 4829 </div> <div style="display:none"> Gerrit-PatchSet: 1 \
</div> <div style="display:none"> Gerrit-Owner: waddlesplash \
<waddlesplash@gmail.com> </div> <div style="display:none"> Gerrit-MessageType: \
newchange </div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic