overlayobject.cxx (f6e50924) | overlayobject.cxx (1cd65da9) |
---|---|
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 --- 58 unchanged lines hidden (view full) --- 67 { 68 // Default implementation has to assert a missing implementation. It cannot 69 // be useful to have overlay object derivations which have no visualisation 70 // at all 71 OSL_ENSURE(false, "OverlayObject derivation without visualisation definition (missing createOverlayObjectPrimitive2DSequence implementation) (!)"); 72 return drawinglayer::primitive2d::Primitive2DSequence(); 73 } 74 | 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 --- 58 unchanged lines hidden (view full) --- 67 { 68 // Default implementation has to assert a missing implementation. It cannot 69 // be useful to have overlay object derivations which have no visualisation 70 // at all 71 OSL_ENSURE(false, "OverlayObject derivation without visualisation definition (missing createOverlayObjectPrimitive2DSequence implementation) (!)"); 72 return drawinglayer::primitive2d::Primitive2DSequence(); 73 } 74 |
75 sal_uInt32 OverlayObject::impCheckBlinkTimeValueRange(sal_uInt32 nBlinkTime) const 76 { 77 if(nBlinkTime < 25) 78 { 79 nBlinkTime = 25; 80 } 81 else if(nBlinkTime > 10000) 82 { 83 nBlinkTime = 10000; 84 } 85 86 return nBlinkTime; 87 } 88 |
|
75 void OverlayObject::allowAntiAliase(bool bNew) 76 { 77 if(bNew != (bool)mbAllowsAntiAliase) 78 { 79 // remember new value 80 mbAllowsAntiAliase = bNew; 81 82 // register change (after change) --- 130 unchanged lines hidden --- | 89 void OverlayObject::allowAntiAliase(bool bNew) 90 { 91 if(bNew != (bool)mbAllowsAntiAliase) 92 { 93 // remember new value 94 mbAllowsAntiAliase = bNew; 95 96 // register change (after change) --- 130 unchanged lines hidden --- |