Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GIMP
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2,650
Issues
2,650
List
Boards
Labels
Service Desk
Milestones
Merge Requests
34
Merge Requests
34
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
GIMP
Commits
1fe238af
Commit
1fe238af
authored
Mar 12, 1998
by
Manish Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More fixes for .20
-Yosh
parent
154bc6ca
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
28 deletions
+54
-28
ChangeLog
ChangeLog
+4
-0
app/batch.c
app/batch.c
+1
-1
app/iscissors.c
app/iscissors.c
+16
-9
app/tools/gimpiscissorstool.c
app/tools/gimpiscissorstool.c
+16
-9
app/tools/iscissors.c
app/tools/iscissors.c
+16
-9
docs/Makefile.am
docs/Makefile.am
+1
-0
No files found.
ChangeLog
View file @
1fe238af
Wed Mar 11 22:02:03 PST 1998 Manish Singh <yosh@gimp.org>
* Made 0.99.20 release
Wed Mar 11 21:42:15 PST 1998 Manish Singh <yosh@gimp.org>
* app/iscissors.c: another iscissors patch, don't know
...
...
app/batch.c
View file @
1fe238af
...
...
@@ -145,7 +145,7 @@ batch_run_cmd (char *cmd)
args
[
i
].
value
.
pdb_float
=
atof
(
cmd
);
break
;
case
PDB_STRING
:
cmd
=
strtok
(
NULL
,
"
)
"
);
cmd
=
strtok
(
NULL
,
"
\"
"
);
if
(
!
cmd
)
goto
error
;
...
...
app/iscissors.c
View file @
1fe238af
...
...
@@ -754,10 +754,13 @@ iscissors_draw_CR (GDisplay *gdisp,
geometry
[
i
][
1
]
=
pts
[
indices
[
i
]].
dy
*
SUPERSAMPLE
;
break
;
case
SCREEN_COORDS
:
/*gdisplay_transform_coords_f (gdisp, (int) pts[indices[i]].dx,
(int) pts[indices[i]].dy, &x, &y, TRUE);*/
geometry
[
i
][
0
]
=
pts
[
indices
[
i
]].
dx
/*x*/
;
geometry
[
i
][
1
]
=
pts
[
indices
[
i
]].
dy
/*y*/
;
/*gdisplay_transform_coords_f (gdisp, , &x, &y, TRUE);*/
gdisplay_untransform_coords_f
(
gdisp
,
(
int
)
pts
[
indices
[
i
]].
dx
,
(
int
)
pts
[
indices
[
i
]].
dy
,
&
x
,
&
y
,
TRUE
);
geometry
[
i
][
0
]
=
x
;
geometry
[
i
][
1
]
=
y
;
/*g_print("%f %f\n", x, y);*/
break
;
}
geometry
[
i
][
2
]
=
0
;
...
...
@@ -1981,8 +1984,10 @@ construct_edge_map (Tool *tool,
long
dboffset
;
PixelRegion
srcPR
,
destPR
;
/* FILE *dump; */
/*#define ISCISSORS_STILL_DOES_NOT_WORK */
#ifdef ISCISSORS_STILL_DOES_NOT_WORK
FILE
*
dump
;
#endif
/* init some variables */
srcPR
.
bytes
=
edge_buf
->
bytes
;
destPR
.
rowstride
=
edge_buf
->
bytes
*
edge_buf
->
width
;
...
...
@@ -2067,14 +2072,16 @@ construct_edge_map (Tool *tool,
row
++
;
y
=
row
*
BLOCK_HEIGHT
;
}
#ifdef ISCISSORS_STILL_DOES_NOT_WORK
/* dump the edge buffer for debugging*/
/*
dump=fopen("dump", "w");
dump
=
fopen
(
"dump"
,
"w"
);
fprintf
(
dump
,
"P5
\n
%d %d
\n
255
\n
"
,
edge_buf
->
width
,
edge_buf
->
height
);
fwrite
(
edge_buf
->
data
,
edge_buf
->
width
*
edge_buf
->
height
,
sizeof
(
guchar
),
dump
);
fclose (dump);
*/
fclose
(
dump
);
#endif
}
...
...
app/tools/gimpiscissorstool.c
View file @
1fe238af
...
...
@@ -754,10 +754,13 @@ iscissors_draw_CR (GDisplay *gdisp,
geometry
[
i
][
1
]
=
pts
[
indices
[
i
]].
dy
*
SUPERSAMPLE
;
break
;
case
SCREEN_COORDS
:
/*gdisplay_transform_coords_f (gdisp, (int) pts[indices[i]].dx,
(int) pts[indices[i]].dy, &x, &y, TRUE);*/
geometry
[
i
][
0
]
=
pts
[
indices
[
i
]].
dx
/*x*/
;
geometry
[
i
][
1
]
=
pts
[
indices
[
i
]].
dy
/*y*/
;
/*gdisplay_transform_coords_f (gdisp, , &x, &y, TRUE);*/
gdisplay_untransform_coords_f
(
gdisp
,
(
int
)
pts
[
indices
[
i
]].
dx
,
(
int
)
pts
[
indices
[
i
]].
dy
,
&
x
,
&
y
,
TRUE
);
geometry
[
i
][
0
]
=
x
;
geometry
[
i
][
1
]
=
y
;
/*g_print("%f %f\n", x, y);*/
break
;
}
geometry
[
i
][
2
]
=
0
;
...
...
@@ -1981,8 +1984,10 @@ construct_edge_map (Tool *tool,
long
dboffset
;
PixelRegion
srcPR
,
destPR
;
/* FILE *dump; */
/*#define ISCISSORS_STILL_DOES_NOT_WORK */
#ifdef ISCISSORS_STILL_DOES_NOT_WORK
FILE
*
dump
;
#endif
/* init some variables */
srcPR
.
bytes
=
edge_buf
->
bytes
;
destPR
.
rowstride
=
edge_buf
->
bytes
*
edge_buf
->
width
;
...
...
@@ -2067,14 +2072,16 @@ construct_edge_map (Tool *tool,
row
++
;
y
=
row
*
BLOCK_HEIGHT
;
}
#ifdef ISCISSORS_STILL_DOES_NOT_WORK
/* dump the edge buffer for debugging*/
/*
dump=fopen("dump", "w");
dump
=
fopen
(
"dump"
,
"w"
);
fprintf
(
dump
,
"P5
\n
%d %d
\n
255
\n
"
,
edge_buf
->
width
,
edge_buf
->
height
);
fwrite
(
edge_buf
->
data
,
edge_buf
->
width
*
edge_buf
->
height
,
sizeof
(
guchar
),
dump
);
fclose (dump);
*/
fclose
(
dump
);
#endif
}
...
...
app/tools/iscissors.c
View file @
1fe238af
...
...
@@ -754,10 +754,13 @@ iscissors_draw_CR (GDisplay *gdisp,
geometry
[
i
][
1
]
=
pts
[
indices
[
i
]].
dy
*
SUPERSAMPLE
;
break
;
case
SCREEN_COORDS
:
/*gdisplay_transform_coords_f (gdisp, (int) pts[indices[i]].dx,
(int) pts[indices[i]].dy, &x, &y, TRUE);*/
geometry
[
i
][
0
]
=
pts
[
indices
[
i
]].
dx
/*x*/
;
geometry
[
i
][
1
]
=
pts
[
indices
[
i
]].
dy
/*y*/
;
/*gdisplay_transform_coords_f (gdisp, , &x, &y, TRUE);*/
gdisplay_untransform_coords_f
(
gdisp
,
(
int
)
pts
[
indices
[
i
]].
dx
,
(
int
)
pts
[
indices
[
i
]].
dy
,
&
x
,
&
y
,
TRUE
);
geometry
[
i
][
0
]
=
x
;
geometry
[
i
][
1
]
=
y
;
/*g_print("%f %f\n", x, y);*/
break
;
}
geometry
[
i
][
2
]
=
0
;
...
...
@@ -1981,8 +1984,10 @@ construct_edge_map (Tool *tool,
long
dboffset
;
PixelRegion
srcPR
,
destPR
;
/* FILE *dump; */
/*#define ISCISSORS_STILL_DOES_NOT_WORK */
#ifdef ISCISSORS_STILL_DOES_NOT_WORK
FILE
*
dump
;
#endif
/* init some variables */
srcPR
.
bytes
=
edge_buf
->
bytes
;
destPR
.
rowstride
=
edge_buf
->
bytes
*
edge_buf
->
width
;
...
...
@@ -2067,14 +2072,16 @@ construct_edge_map (Tool *tool,
row
++
;
y
=
row
*
BLOCK_HEIGHT
;
}
#ifdef ISCISSORS_STILL_DOES_NOT_WORK
/* dump the edge buffer for debugging*/
/*
dump=fopen("dump", "w");
dump
=
fopen
(
"dump"
,
"w"
);
fprintf
(
dump
,
"P5
\n
%d %d
\n
255
\n
"
,
edge_buf
->
width
,
edge_buf
->
height
);
fwrite
(
edge_buf
->
data
,
edge_buf
->
width
*
edge_buf
->
height
,
sizeof
(
guchar
),
dump
);
fclose (dump);
*/
fclose
(
dump
);
#endif
}
...
...
docs/Makefile.am
View file @
1fe238af
...
...
@@ -11,6 +11,7 @@ BUILT_SOURCES = pdb_dump.texi
info_TEXINFOS
=
pdb.texi
pdb_TEXINFOS
=
pdb_dump.texi
man_MANS
=
gimp.1
pdb_dump.texi
:
$(srcdir)/pdb_self_doc.el $(srcdir)/pdb_dump
cd
$(srcdir)
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment