Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BraillePlot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Georg Graßnick
BraillePlot
Commits
d6446300
Commit
d6446300
authored
5 years ago
by
Leonard Kupper
Browse files
Options
Downloads
Patches
Plain Diff
Remove obsolete comment.
parent
568a3ff4
No related branches found
No related tags found
1 merge request
!8
Feat/rasterizer 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/tudresden/inf/mci/brailleplot/rendering/Rectangle.java
+1
-5
1 addition, 5 deletions
...de/tudresden/inf/mci/brailleplot/rendering/Rectangle.java
with
1 addition
and
5 deletions
src/main/java/de/tudresden/inf/mci/brailleplot/rendering/Rectangle.java
+
1
−
5
View file @
d6446300
...
...
@@ -330,11 +330,7 @@ public class Rectangle {
public
int
getHeight
()
{
return
wrapInt
(
mRectangle
.
getHeight
());
}
// QUESTION FOR REVIEW:
// Does the -1 always make sense for integer coordinates?
// The point is that on integer coords, if you have a rectangle at x,y of size 1x1, it 'ends' at x,y not x+1,y+1
// The rectangle does not 'touch' the neighboring positions.
public
int
getRight
()
{
return
wrapInt
(
mRectangle
.
getRight
())
-
1
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment