OSDN Git Service

スケールのデフォルト値を 20(TWIPS) に変更 (これが等倍)
authoryoya <yoya@7c90b180-03d5-4157-b861-58a559ae9d1e>
Wed, 27 Oct 2010 14:44:08 +0000 (14:44 +0000)
committeryoya <yoya@7c90b180-03d5-4157-b861-58a559ae9d1e>
Wed, 27 Oct 2010 14:44:08 +0000 (14:44 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/swfed/trunk@303 7c90b180-03d5-4157-b861-58a559ae9d1e

src/swf_matrix.c

index b94b107..b78844d 100644 (file)
@@ -14,8 +14,8 @@ swf_matrix_parse(bitstream_t *bs, swf_matrix_t *matrix) {
         matrix->scale_x = bitstream_getbits_signed(bs, scale_bits);
         matrix->scale_y = bitstream_getbits_signed(bs, scale_bits);
     } else {
-        matrix->scale_x = 1; // XXX
-        matrix->scale_y = 1; // XXX
+        matrix->scale_x = SWF_TWIPS; // XXX
+        matrix->scale_y = SWF_TWIPS; // XXX
     }
     matrix->has_rotate = bitstream_getbit(bs);
     if (matrix->has_rotate) {