Lines 1471-1487
Link Here
|
1471 |
pGraphicAttr->SetMirrorFlags( BMP_MIRROR_HORZ ); |
1471 |
pGraphicAttr->SetMirrorFlags( BMP_MIRROR_HORZ ); |
1472 |
if ( bIsGraphicMtf ) |
1472 |
if ( bIsGraphicMtf ) |
1473 |
AddOpt( ESCHER_Prop_Rotation, ( ( ((sal_Int32)nAngle << 16 ) / 10 ) + 0x8000 ) &~ 0xffff ); |
1473 |
AddOpt( ESCHER_Prop_Rotation, ( ( ((sal_Int32)nAngle << 16 ) / 10 ) + 0x8000 ) &~ 0xffff ); |
1474 |
else |
|
|
1475 |
{ |
1476 |
pGraphicAttr->SetRotation( nAngle ); |
1477 |
if ( nAngle && pShapeBoundRect ) // up to xp ppoint does not rotate bitmaps ! |
1478 |
{ |
1479 |
Polygon aPoly( *pShapeBoundRect ); |
1480 |
aPoly.Rotate( pShapeBoundRect->TopLeft(), nAngle ); |
1481 |
*pShapeBoundRect = aPoly.GetBoundRect(); |
1482 |
bSuppressRotation = sal_True; |
1483 |
} |
1484 |
} |
1485 |
} |
1474 |
} |
1486 |
|
1475 |
|
1487 |
if ( eBitmapMode == ::com::sun::star::drawing::BitmapMode_REPEAT ) |
1476 |
if ( eBitmapMode == ::com::sun::star::drawing::BitmapMode_REPEAT ) |