Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / CircleEase.cs / 1305600 / CircleEase.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation, 2008 // // File: CircleEase.cs //----------------------------------------------------------------------------- namespace System.Windows.Media.Animation { ////// This class implements an easing function that gives a circular curve toward the destination. /// public class CircleEase : EasingFunctionBase { protected override double EaseInCore(double normalizedTime) { normalizedTime = Math.Max(0.0, Math.Min(1.0, normalizedTime)); return 1.0 - Math.Sqrt(1.0 - normalizedTime * normalizedTime); } protected override Freezable CreateInstanceCore() { return new CircleEase(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation, 2008 // // File: CircleEase.cs //----------------------------------------------------------------------------- namespace System.Windows.Media.Animation { ////// This class implements an easing function that gives a circular curve toward the destination. /// public class CircleEase : EasingFunctionBase { protected override double EaseInCore(double normalizedTime) { normalizedTime = Math.Max(0.0, Math.Min(1.0, normalizedTime)); return 1.0 - Math.Sqrt(1.0 - normalizedTime * normalizedTime); } protected override Freezable CreateInstanceCore() { return new CircleEase(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IndicCharClassifier.cs
- CultureInfoConverter.cs
- StatementContext.cs
- InputScopeConverter.cs
- followingquery.cs
- CharEntityEncoderFallback.cs
- QueryTaskGroupState.cs
- FontFamily.cs
- ParameterCollection.cs
- WindowsIdentity.cs
- PackageRelationship.cs
- KerberosTicketHashIdentifierClause.cs
- ErrorTableItemStyle.cs
- SingleConverter.cs
- UpdateCompiler.cs
- DataGridColumnCollection.cs
- XmlCountingReader.cs
- Activity.cs
- ProcessHostServerConfig.cs
- WindowsStatusBar.cs
- SatelliteContractVersionAttribute.cs
- StreamGeometry.cs
- NetDataContractSerializer.cs
- JapaneseLunisolarCalendar.cs
- AlternateView.cs
- DataRelationCollection.cs
- DeferredElementTreeState.cs
- WindowsImpersonationContext.cs
- RectConverter.cs
- TextElementCollection.cs
- ProfileService.cs
- ObjectPropertyMapping.cs
- RadioButtonList.cs
- FileSecurity.cs
- TextBox.cs
- InputProviderSite.cs
- RectAnimationUsingKeyFrames.cs
- StringKeyFrameCollection.cs
- ContentElement.cs
- DateTimeValueSerializerContext.cs
- BitmapEffectGroup.cs
- XPathChildIterator.cs
- ColumnClickEvent.cs
- ServerIdentity.cs
- Relationship.cs
- base64Transforms.cs
- WebPartConnectionsConfigureVerb.cs
- TextEndOfSegment.cs
- Grammar.cs
- HeaderCollection.cs
- Int32Storage.cs
- TypefaceMap.cs
- CheckBox.cs
- ScalarConstant.cs
- LocationInfo.cs
- ActivityCodeDomSerializationManager.cs
- Rijndael.cs
- ImageIndexConverter.cs
- Attributes.cs
- ReferenceService.cs
- shaperfactoryquerycacheentry.cs
- DictionaryCustomTypeDescriptor.cs
- CultureInfo.cs
- BasicViewGenerator.cs
- RemoveStoryboard.cs
- SettingsPropertyWrongTypeException.cs
- UIElement3D.cs
- Validator.cs
- TimeSpanMinutesConverter.cs
- XmlDomTextWriter.cs
- ReadContentAsBinaryHelper.cs
- CalendarAutoFormat.cs
- XmlWrappingWriter.cs
- BackgroundWorker.cs
- ContainerParagraph.cs
- DbDataRecord.cs
- BrowserInteropHelper.cs
- MarkupCompilePass1.cs
- BaseResourcesBuildProvider.cs
- RuntimeConfig.cs
- BinaryParser.cs
- WinFormsSecurity.cs
- DataGridColumnEventArgs.cs
- XmlNamespaceMapping.cs
- XmlLanguage.cs
- Html32TextWriter.cs
- FullTextState.cs
- UniformGrid.cs
- XmlTextWriter.cs
- DropDownList.cs
- DesignerActionVerbItem.cs
- Boolean.cs
- CompiledRegexRunner.cs
- AsymmetricSignatureFormatter.cs
- EditorAttribute.cs
- BinaryObjectReader.cs
- DropDownHolder.cs
- ProxyElement.cs
- SoapSchemaExporter.cs
- DataSourceHelper.cs