animatedsprite.cxx (70f497fb) | animatedsprite.cxx (0ca1f900) |
---|---|
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 --- 143 unchanged lines hidden (view full) --- 152 if( maPosPixel ) 153 mpSprite->movePixel( *maPosPixel ); 154 155 if( maClip ) 156 mpSprite->setClip( *maClip ); 157 } 158 } 159 | 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 --- 143 unchanged lines hidden (view full) --- 152 if( maPosPixel ) 153 mpSprite->movePixel( *maPosPixel ); 154 155 if( maClip ) 156 mpSprite->setClip( *maClip ); 157 } 158 } 159 |
160 return mpSprite; | 160 return (mpSprite.get() != NULL); |
161 } 162 163 void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset ) 164 { 165 maContentPixelOffset = rPixelOffset; 166 } 167 168 ::basegfx::B2DSize AnimatedSprite::getPixelOffset() const --- 53 unchanged lines hidden --- | 161 } 162 163 void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset ) 164 { 165 maContentPixelOffset = rPixelOffset; 166 } 167 168 ::basegfx::B2DSize AnimatedSprite::getPixelOffset() const --- 53 unchanged lines hidden --- |