matrix 152 mingpp.h c_SWFMatrix matrix; matrix 155 mingpp.h { return SWFMatrix_getScaleX(this->matrix); } matrix 158 mingpp.h { return SWFMatrix_getScaleY(this->matrix); } matrix 161 mingpp.h { return SWFMatrix_getRotate0(this->matrix); } matrix 164 mingpp.h { return SWFMatrix_getRotate1(this->matrix); } matrix 167 mingpp.h { return SWFMatrix_getTranslateX(this->matrix); } matrix 170 mingpp.h { return SWFMatrix_getTranslateY(this->matrix); } matrix 173 mingpp.h SWFMatrix(c_SWFMatrix matrix) matrix 175 mingpp.h if(matrix == NULL) matrix 177 mingpp.h this->matrix = matrix; matrix 502 mingpp.h c_SWFFilterMatrix matrix; matrix 506 mingpp.h this->matrix = newSWFFilterMatrix(cols, rows, vals); matrix 507 mingpp.h if(this->matrix == NULL) matrix 512 mingpp.h { destroySWFFilterMatrix(matrix); } matrix 547 mingpp.h static SWFFilter *ConvolutionFilter(SWFFilterMatrix *matrix, float divisor, matrix 549 mingpp.h { return new SWFFilter(newConvolutionFilter(matrix->matrix, divisor, bias, color, flags)); } matrix 551 mingpp.h static SWFFilter *ColorMatrixFilter(SWFFilterMatrix *matrix) matrix 552 mingpp.h { return new SWFFilter(newColorMatrixFilter(matrix->matrix)); } matrix 622 php_ext/ming.c void *matrix = SWFgetProperty(id, "matrix", strlen("matrix"), le_swfmatrixp TSRMLS_CC); matrix 624 php_ext/ming.c if(!matrix) matrix 628 php_ext/ming.c return (SWFMatrix)matrix; matrix 2492 php_ext/ming.c SWFFilterMatrix matrix; matrix 2522 php_ext/ming.c matrix = newSWFFilterMatrix(cols, rows, values); matrix 2524 php_ext/ming.c ret = zend_list_insert(matrix, le_swffiltermatrixp); matrix 2540 php_ext/ming.c void *matrix = SWFgetProperty(id, "filtermatrix", strlen("filtermatrix"), le_swffiltermatrixp TSRMLS_CC); matrix 2542 php_ext/ming.c if (!matrix) { matrix 2545 php_ext/ming.c return (SWFFilterMatrix)matrix; matrix 2921 php_ext/ming.c zval **matrix, **div, **bias, **color, **flags; matrix 2927 php_ext/ming.c matrix = argv[1]; matrix 2928 php_ext/ming.c convert_to_object_ex(matrix); matrix 2943 php_ext/ming.c return newConvolutionFilter(getFilterMatrix(*matrix TSRMLS_CC), Z_DVAL_PP(div), matrix 2949 php_ext/ming.c zval **matrix; matrix 2954 php_ext/ming.c matrix = argv[1]; matrix 2955 php_ext/ming.c convert_to_object_ex(matrix); matrix 2957 php_ext/ming.c return newColorMatrixFilter(getFilterMatrix(*matrix TSRMLS_CC)); matrix 91 src/blocks/button.c record->position = newSWFPosition(matrix); matrix 36 src/blocks/fillstyle.c SWFMatrix matrix; matrix 56 src/blocks/fillstyle.c if(fill->matrix != NULL) matrix 57 src/blocks/fillstyle.c destroySWFMatrix(fill->matrix); matrix 81 src/blocks/fillstyle.c fill->matrix = NULL; /* make purify shut up */ matrix 104 src/blocks/fillstyle.c fill->matrix = newSWFMatrix(1.0, 0, 0, 1.0, 0, 0); matrix 107 src/blocks/fillstyle.c if (NULL == fill->matrix) matrix 141 src/blocks/fillstyle.c fill->matrix = newSWFMatrix(Ming_scale, 0, 0, Ming_scale, 0, 0); matrix 142 src/blocks/fillstyle.c if (fill->matrix == NULL) matrix 153 src/blocks/fillstyle.c return fill->matrix; matrix 207 src/blocks/fillstyle.c SWFGradientMatrix_update(fill->matrix, bounds); matrix 208 src/blocks/fillstyle.c SWFOutput_writeMatrix(out, fill->matrix); matrix 216 src/blocks/fillstyle.c SWFOutput_writeMatrix(out, fill->matrix); matrix 268 src/blocks/fillstyle.c SWFGradientMatrix_update(fill1->matrix, bounds1); matrix 269 src/blocks/fillstyle.c SWFOutput_writeMatrix(out, fill1->matrix); matrix 270 src/blocks/fillstyle.c SWFGradientMatrix_update(fill2->matrix, bounds2); matrix 271 src/blocks/fillstyle.c SWFOutput_writeMatrix(out, fill2->matrix); matrix 279 src/blocks/fillstyle.c SWFOutput_writeMatrix(out, fill1->matrix); matrix 280 src/blocks/fillstyle.c SWFOutput_writeMatrix(out, fill2->matrix); matrix 163 src/blocks/filter.c SWFFilterMatrix matrix; matrix 168 src/blocks/filter.c matrix = (SWFFilterMatrix)malloc(sizeof(struct FilterMatrix_s)); matrix 170 src/blocks/filter.c matrix->cols = cols; matrix 171 src/blocks/filter.c matrix->rows = rows; matrix 173 src/blocks/filter.c matrix->values = (float *)malloc(cols * rows * sizeof(float)); matrix 174 src/blocks/filter.c memcpy(matrix->values, vals, cols * rows * sizeof(float)); matrix 176 src/blocks/filter.c return matrix; matrix 190 src/blocks/filter.c SWFFilterMatrix matrix; matrix 200 src/blocks/filter.c SWFFilterMatrix matrix; matrix 316 src/blocks/filter.c SWFOutput_writeUInt8(out, filter->matrix->cols); matrix 317 src/blocks/filter.c SWFOutput_writeUInt8(out, filter->matrix->rows); matrix 322 src/blocks/filter.c for(i = 0; i < filter->matrix->cols * filter->matrix->rows; i++) matrix 323 src/blocks/filter.c SWFOutput_writeFloat(out, filter->matrix->values[i]); matrix 337 src/blocks/filter.c for(i = 0; i < filter->matrix->rows * filter->matrix->cols; i++) matrix 338 src/blocks/filter.c SWFOutput_writeFloat(out, filter->matrix->values[i]); matrix 449 src/blocks/filter.c if(matrix == NULL) matrix 452 src/blocks/filter.c if(matrix->rows != 4 || matrix->cols != 5) matrix 461 src/blocks/filter.c filter->filter.colorMatrix.matrix = matrix; matrix 479 src/blocks/filter.c if(matrix == NULL) matrix 487 src/blocks/filter.c convolution->matrix = matrix; matrix 774 src/blocks/fromswf.c { matrix((BITS) tp); matrix 781 src/blocks/fromswf.c matrix((BITS) tp); matrix 833 src/blocks/fromswf.c { matrix((BITS) tp); matrix 835 src/blocks/fromswf.c matrix((BITS) tp); matrix 841 src/blocks/fromswf.c matrix((BITS) tp); matrix 843 src/blocks/fromswf.c matrix((BITS) tp); matrix 1014 src/blocks/fromswf.c matrix((BITS) tp); matrix 1105 src/blocks/fromswf.c matrix((BITS) tp); matrix 1158 src/blocks/fromswf.c matrix((BITS) tp); matrix 188 src/blocks/gradient.c SWFMatrix_moveTo(matrix, SWFMatrix_getTranslateX(matrix) / scaleX, matrix 189 src/blocks/gradient.c SWFMatrix_getTranslateY(matrix) / scaleY); matrix 195 src/blocks/gradient.c SWFMatrix_multiply(matrix, tmp); matrix 140 src/blocks/matrix.c memcpy(m, matrix, sizeof(struct SWFMatrix_s)); matrix 148 src/blocks/matrix.c free(matrix); matrix 157 src/blocks/matrix.c if ( !((matrix->scaleX == 0 && matrix->scaleY == 0) || matrix 158 src/blocks/matrix.c (matrix->scaleX == 1.0 && matrix->scaleY == 1.0)) ) matrix 160 src/blocks/matrix.c bits += 5 + 2*max(SWFOutput_numSBits((int)matrix->scaleX), matrix 161 src/blocks/matrix.c SWFOutput_numSBits((int)matrix->scaleY)); matrix 164 src/blocks/matrix.c if ( matrix->rotate0 != 0 || matrix->rotate1 != 0 ) matrix 166 src/blocks/matrix.c bits += 5 + 2*max(SWFOutput_numSBits((int)matrix->rotate0), matrix 167 src/blocks/matrix.c SWFOutput_numSBits((int)matrix->rotate1)); matrix 170 src/blocks/matrix.c if ( matrix->translateX != 0 || matrix->translateY != 0 ) matrix 172 src/blocks/matrix.c bits += 2*max(SWFOutput_numSBits(matrix->translateX), matrix 173 src/blocks/matrix.c SWFOutput_numSBits(matrix->translateY)); matrix 187 src/blocks/matrix.c if (matrix->scaleX == 1.0 && matrix->scaleY == 1.0) matrix 193 src/blocks/matrix.c int xScale = (int)floor(matrix->scaleX * (1<<FIXEDBITS)); matrix 194 src/blocks/matrix.c int yScale = (int)floor(matrix->scaleY * (1<<FIXEDBITS)); matrix 207 src/blocks/matrix.c if ( matrix->rotate0 == 0 && matrix->rotate1 == 0 ) matrix 213 src/blocks/matrix.c int rot0 = (int)floor(matrix->rotate0 * (1<<FIXEDBITS)); matrix 214 src/blocks/matrix.c int rot1 = (int)floor(matrix->rotate1 * (1<<FIXEDBITS)); matrix 227 src/blocks/matrix.c if ( matrix->translateX != 0 || matrix->translateY != 0 ) matrix 229 src/blocks/matrix.c nBits = max(SWFOutput_numSBits(matrix->translateX), matrix 230 src/blocks/matrix.c SWFOutput_numSBits(matrix->translateY)); matrix 240 src/blocks/matrix.c SWFOutput_writeSBits(out, matrix->translateX, nBits); matrix 241 src/blocks/matrix.c SWFOutput_writeSBits(out, matrix->translateY, nBits); matrix 309 src/blocks/matrix.c SWFMatrix_leftMultiply(rot,matrix); matrix 317 src/blocks/matrix.c matrix->scaleX = matrix->scaleX * xScale; matrix 318 src/blocks/matrix.c matrix->rotate0 = matrix->rotate0 * xScale; matrix 319 src/blocks/matrix.c matrix->rotate1 = matrix->rotate1 * yScale; matrix 320 src/blocks/matrix.c matrix->scaleY = matrix->scaleY * yScale; matrix 327 src/blocks/matrix.c matrix->scaleX = matrix->scaleX * factor; matrix 328 src/blocks/matrix.c matrix->scaleY = matrix->scaleY * factor; matrix 329 src/blocks/matrix.c matrix->rotate0 = matrix->rotate0 * factor; matrix 330 src/blocks/matrix.c matrix->rotate1 = matrix->rotate1 * factor; matrix 337 src/blocks/matrix.c matrix->translateX += dx; matrix 338 src/blocks/matrix.c matrix->translateY += dy; matrix 345 src/blocks/matrix.c matrix->translateX = x; matrix 346 src/blocks/matrix.c matrix->translateY = y; matrix 115 src/blocks/outputblock.c SWFOutput_writeMatrix(out, matrix); /* max length: 210 bits=27 bytes */ matrix 53 src/blocks/placeobject.c SWFMatrix matrix; matrix 142 src/blocks/placeobject.c ((place->matrix != NULL) ? SWF_PLACE_HAS_MATRIX : 0) | matrix 161 src/blocks/placeobject.c if ( place->matrix != NULL ) matrix 162 src/blocks/placeobject.c SWFOutput_writeMatrix(out, place->matrix); matrix 209 src/blocks/placeobject.c if ( place->matrix != NULL ) matrix 210 src/blocks/placeobject.c destroySWFMatrix(place->matrix); matrix 263 src/blocks/placeobject.c place->matrix = NULL; matrix 350 src/blocks/placeobject.c if ( block->matrix != NULL ) matrix 351 src/blocks/placeobject.c free(block->matrix); matrix 353 src/blocks/placeobject.c block->matrix = SWFMatrix_dup(matrix); matrix 42 src/blocks/text.c SWFMatrix matrix; matrix 97 src/blocks/text.c if ( text->matrix == NULL ) matrix 98 src/blocks/text.c text->matrix = newSWFMatrix(1.0, 0, 0, 1.0, 0, 0); matrix 100 src/blocks/text.c length += (SWFMatrix_numBits(text->matrix)+7)/8; matrix 108 src/blocks/text.c SWFOutput_writeMatrix(out, text->matrix); matrix 129 src/blocks/text.c if ( text->matrix ) matrix 130 src/blocks/text.c length += (SWFMatrix_numBits(text->matrix)+7)/8; matrix 147 src/blocks/text.c if ( text->matrix != NULL ) matrix 148 src/blocks/text.c destroySWFMatrix(text->matrix); matrix 208 src/blocks/text.c text->matrix = NULL; matrix 63 src/displaylist.c if ( displayItem->matrix ) matrix 64 src/displaylist.c destroySWFMatrix(displayItem->matrix); matrix 152 src/displaylist.c item->matrix = newSWFMatrix(1, 0, 0, 1, 0, 0); matrix 155 src/displaylist.c if (NULL == item->matrix) matrix 161 src/displaylist.c item->position = newSWFPosition(item->matrix); matrix 166 src/displaylist.c destroySWFMatrix(item->matrix); matrix 177 src/displaylist.c destroySWFMatrix(item->matrix); matrix 187 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 281 src/displaylist.c return item->matrix; matrix 290 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 299 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 319 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 328 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 350 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 359 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 379 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 388 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 397 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 406 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 427 src/displaylist.c SWFPlaceObject2Block_setMatrix(item->block, item->matrix); matrix 54 src/displaylist.h SWFMatrix matrix; matrix 721 src/ming.h SWFPosition newSWFPosition(SWFMatrix matrix); matrix 805 src/ming.h SWFFilter newColorMatrixFilter(SWFFilterMatrix matrix); matrix 806 src/ming.h SWFFilter newConvolutionFilter(SWFFilterMatrix matrix, float divisor, matrix 55 src/position.c p->matrix = matrix; matrix 68 src/position.c SWFMatrix m = p->matrix; matrix 206 src/position.c SWFMatrix_set(p->matrix, a, b, c, d, matrix 214 src/position.c return p->matrix; matrix 43 src/position.h SWFMatrix matrix; matrix 309 util/outputscript.c a = matrix->ScaleX; matrix 310 util/outputscript.c b = matrix->RotateSkew0; matrix 311 util/outputscript.c c = matrix->RotateSkew1; matrix 312 util/outputscript.c d = matrix->ScaleY; matrix 345 util/outputscript.c if (matrix->HasScale) matrix 363 util/outputscript.c if (matrix->HasRotate) matrix 367 util/outputscript.c if (matrix->TranslateX != 0 || matrix->TranslateY != 0) matrix 369 util/outputscript.c matrix->TranslateX, matrix->TranslateY); matrix 378 util/outputscript.c matrix->ScaleX*=(32768.0/(shapeBounds->Xmax-shapeBounds->Xmin)); matrix 379 util/outputscript.c matrix->ScaleY*=(32768.0/(shapeBounds->Ymax-shapeBounds->Ymin)); matrix 380 util/outputscript.c matrix->RotateSkew1*=(32768.0/(shapeBounds->Xmax-shapeBounds->Xmin)); matrix 381 util/outputscript.c matrix->RotateSkew0*=(32768.0/(shapeBounds->Ymax-shapeBounds->Ymin)); matrix 382 util/outputscript.c matrix->TranslateX = (long)(matrix->TranslateX*32768) / (long)(shapeBounds->Xmax-shapeBounds->Xmin) - 16384; matrix 383 util/outputscript.c matrix->TranslateY = (long)(matrix->TranslateY*32768) / (long)(shapeBounds->Ymax-shapeBounds->Ymin) - 16384; matrix 175 util/outputtxt.c if (matrix->HasScale) matrix 177 util/outputtxt.c _iprintf (" ScaleX %f ", matrix->ScaleX); matrix 178 util/outputtxt.c _iprintf ("ScaleY %f\n", matrix->ScaleY); matrix 180 util/outputtxt.c if (matrix->HasRotate) matrix 182 util/outputtxt.c _iprintf (" RotateSkew0 %f ", matrix->RotateSkew0); matrix 183 util/outputtxt.c _iprintf ("RotateSkew1 %f\n", matrix->RotateSkew1); matrix 185 util/outputtxt.c _iprintf (" TranslateX %6ld ", matrix->TranslateX); matrix 186 util/outputtxt.c _iprintf ("TranslateY %6ld\n", matrix->TranslateY); matrix 89 util/parser.c matrix->HasScale = readBits (f, 1); matrix 90 util/parser.c if (matrix->HasScale) matrix 92 util/parser.c matrix->NScaleBits = readBits (f, 5); matrix 93 util/parser.c matrix->ScaleX = (float) readSBits (f, matrix->NScaleBits) / 0x10000; matrix 94 util/parser.c matrix->ScaleY = (float) readSBits (f, matrix->NScaleBits) / 0x10000; matrix 96 util/parser.c matrix->HasRotate = readBits (f, 1); matrix 97 util/parser.c if (matrix->HasRotate) matrix 99 util/parser.c matrix->NRotateBits = readBits (f, 5); matrix 100 util/parser.c matrix->RotateSkew0 = matrix 101 util/parser.c (float) readSBits (f, matrix->NRotateBits) / 0x10000; matrix 102 util/parser.c matrix->RotateSkew1 = matrix 103 util/parser.c (float) readSBits (f, matrix->NRotateBits) / 0x10000; matrix 105 util/parser.c matrix->NTranslateBits = readBits (f, 5); matrix 106 util/parser.c matrix->TranslateX = readSBits (f, matrix->NTranslateBits); matrix 107 util/parser.c matrix->TranslateY = readSBits (f, matrix->NTranslateBits);