Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
module_image
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
Container 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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VWALUMA JEAN-MARC p2108190
module_image
Commits
b369ceb8
Commit
b369ceb8
authored
3 weeks ago
by
Jean-Marc
Browse files
Options
Downloads
Patches
Plain Diff
erreur fct test
parent
0605b9d5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#190196
failed
3 weeks ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Image.h
+17
-15
17 additions, 15 deletions
src/Image.h
with
17 additions
and
15 deletions
src/Image.h
+
17
−
15
View file @
b369ceb8
...
...
@@ -10,21 +10,6 @@ class Image
private:
unsigned
int
dimx
,
dimy
;
Pixel
*
tab
;
public:
Image
();
Image
(
unsigned
int
x
,
unsigned
int
y
);
~
Image
();
Pixel
&
getPix
(
unsigned
int
x
,
unsigned
int
y
)
const
;
Pixel
getPix2
(
unsigned
int
x
,
unsigned
int
y
)
const
;
void
setPix
(
unsigned
int
x
,
unsigned
int
y
,
Pixel
couleur
);
void
dessinerRectangle
(
unsigned
int
Xmin
,
unsigned
int
Ymin
,
unsigned
int
Xmax
,
unsigned
int
Ymax
,
Pixel
couleur
);
void
effacer
(
Pixel
couleur
);
Pixel
*
getTab
()
const
;
void
sauver
(
const
string
&
filename
)
const
;
void
ouvrir
(
const
string
&
filename
);
void
afficherConsole
()
const
;
void
static
testRegression
()
{
...
...
@@ -57,6 +42,23 @@ private:
//im.~Image();
}
public
:
Image
();
Image
(
unsigned
int
x
,
unsigned
int
y
);
~
Image
();
Pixel
&
getPix
(
unsigned
int
x
,
unsigned
int
y
)
const
;
Pixel
getPix2
(
unsigned
int
x
,
unsigned
int
y
)
const
;
void
setPix
(
unsigned
int
x
,
unsigned
int
y
,
Pixel
couleur
);
void
dessinerRectangle
(
unsigned
int
Xmin
,
unsigned
int
Ymin
,
unsigned
int
Xmax
,
unsigned
int
Ymax
,
Pixel
couleur
);
void
effacer
(
Pixel
couleur
);
Pixel
*
getTab
()
const
;
void
sauver
(
const
string
&
filename
)
const
;
void
ouvrir
(
const
string
&
filename
);
void
afficherConsole
()
const
;
};
#endif
...
...
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