Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
COMP90015-DSAss2-InfinityMonkeys-remaster
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RUNZHE WANG
COMP90015-DSAss2-InfinityMonkeys-remaster
Commits
7489c06d
Commit
7489c06d
authored
5 years ago
by
Chang Che Hao
Browse files
Options
Downloads
Patches
Plain Diff
fix smoothness issue
parent
4f67ec36
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/server/DrawingController.java
+9
-0
9 additions, 0 deletions
src/server/DrawingController.java
with
9 additions
and
0 deletions
src/server/DrawingController.java
+
9
−
0
View file @
7489c06d
...
@@ -108,6 +108,11 @@ public class DrawingController extends UnicastRemoteObject implements IDrawingCo
...
@@ -108,6 +108,11 @@ public class DrawingController extends UnicastRemoteObject implements IDrawingCo
default
:
default
:
break
;
break
;
}
}
g2
=
(
Graphics2D
)
bufferedImage
.
getGraphics
();
g2
.
setColor
(
color
);
IDrawingUpdate
client
;
IDrawingUpdate
client
;
...
@@ -151,6 +156,10 @@ public class DrawingController extends UnicastRemoteObject implements IDrawingCo
...
@@ -151,6 +156,10 @@ public class DrawingController extends UnicastRemoteObject implements IDrawingCo
default
:
default
:
break
;
break
;
}
}
g2
=
(
Graphics2D
)
bufferedImage
.
getGraphics
();
g2
.
setColor
(
color
);
IDrawingUpdate
client
;
IDrawingUpdate
client
;
...
...
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