OSDN Git Service
(root)
/
swfed
/
swfed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df0e617
)
print のフォーマットを少し変更
author
yoya
<yoya@7c90b180-03d5-4157-b861-58a559ae9d1e>
Sun, 3 Oct 2010 17:27:54 +0000
(17:27 +0000)
committer
yoya
<yoya@7c90b180-03d5-4157-b861-58a559ae9d1e>
Sun, 3 Oct 2010 17:27:54 +0000
(17:27 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/swfed/trunk@214
7c90b180
-03d5-4157-b861-
58a559ae9d1e
src/swf_matrix.c
patch
|
blob
|
history
diff --git
a/src/swf_matrix.c
b/src/swf_matrix.c
index
97e843b
..
55db5e4
100644
(file)
--- a/
src/swf_matrix.c
+++ b/
src/swf_matrix.c
@@
-67,12
+67,12
@@
swf_matrix_print(swf_matrix_t *matrix, int indent_depth) {
print_indent(indent_depth);
// printf("has_scale=%d\n", matrix->has_scale);
if (matrix->has_scale) {
- printf("scale=(%
5.3f,%5
.3f) ",
+ printf("scale=(%
.3f,%
.3f) ",
matrix->scale_x / 65536.0, matrix->scale_y / 65536.0);
}
// printf("has_rotate=%d\n", matrix->has_scale);
if (matrix->has_rotate) {
- printf("rotate=(%.
2f,%.2
f) ",
+ printf("rotate=(%.
3f,%.3
f) ",
matrix->rotate_skew0 / 65536.0, matrix->rotate_skew1 / 65536.0);
}
printf("translate=(%.2f,%.2f)\n",