canvascustomspritehelper.cxx (25ea7f45) canvascustomspritehelper.cxx (6d53c851)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 309 unchanged lines hidden (view full) ---

318
319 mbTransformDirty = true;
320 }
321 }
322
323 void CanvasCustomSpriteHelper::clip( const Sprite::Reference& rSprite,
324 const uno::Reference< rendering::XPolyPolygon2D >& xClip )
325 {
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 309 unchanged lines hidden (view full) ---

318
319 mbTransformDirty = true;
320 }
321 }
322
323 void CanvasCustomSpriteHelper::clip( const Sprite::Reference& rSprite,
324 const uno::Reference< rendering::XPolyPolygon2D >& xClip )
325 {
326 // NULL xClip explicitely allowed here (to clear clipping)
326 // NULL xClip explicitly allowed here (to clear clipping)
327
328 // retrieve bounds before and after clip change.
329 const ::basegfx::B2DRectangle& rPrevBounds( getUpdateArea() );
330
331 mxClipPoly = xClip;
332
333 if( !updateClipState( rSprite ) &&
334 mbActive )

--- 158 unchanged lines hidden ---
327
328 // retrieve bounds before and after clip change.
329 const ::basegfx::B2DRectangle& rPrevBounds( getUpdateArea() );
330
331 mxClipPoly = xClip;
332
333 if( !updateClipState( rSprite ) &&
334 mbActive )

--- 158 unchanged lines hidden ---