Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Animation / SineEase.cs / 1305600 / SineEase.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation, 2008 // // File: SineEase.cs //----------------------------------------------------------------------------- namespace System.Windows.Media.Animation { ////// This class implements an easing function that gives a Sine curve toward the destination. /// public class SineEase : EasingFunctionBase { protected override double EaseInCore(double normalizedTime) { return 1.0 - Math.Sin(Math.PI * 0.5 * (1 - normalizedTime)); } protected override Freezable CreateInstanceCore() { return new SineEase(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation, 2008 // // File: SineEase.cs //----------------------------------------------------------------------------- namespace System.Windows.Media.Animation { ////// This class implements an easing function that gives a Sine curve toward the destination. /// public class SineEase : EasingFunctionBase { protected override double EaseInCore(double normalizedTime) { return 1.0 - Math.Sin(Math.PI * 0.5 * (1 - normalizedTime)); } protected override Freezable CreateInstanceCore() { return new SineEase(); } } } // 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
- sqlmetadatafactory.cs
- ProtectedConfiguration.cs
- ConnectionProviderAttribute.cs
- PartBasedPackageProperties.cs
- base64Transforms.cs
- BreakSafeBase.cs
- MouseGestureConverter.cs
- MissingMethodException.cs
- MissingFieldException.cs
- LayoutExceptionEventArgs.cs
- NamespaceMapping.cs
- IResourceProvider.cs
- QuaternionAnimationBase.cs
- XmlTypeMapping.cs
- LocalizableAttribute.cs
- NullableLongAverageAggregationOperator.cs
- VideoDrawing.cs
- OdbcCommand.cs
- DeadCharTextComposition.cs
- HttpGetClientProtocol.cs
- FirstMatchCodeGroup.cs
- BooleanToVisibilityConverter.cs
- TableLayout.cs
- SubqueryRules.cs
- DataPagerFieldCollection.cs
- SiteMapProvider.cs
- PromptStyle.cs
- Stack.cs
- SqlFacetAttribute.cs
- WCFServiceClientProxyGenerator.cs
- XPathNodePointer.cs
- Page.cs
- MimeMapping.cs
- Util.cs
- QueryableDataSourceView.cs
- FontUnitConverter.cs
- GridItem.cs
- DataTableMappingCollection.cs
- PlatformCulture.cs
- InnerItemCollectionView.cs
- DirectoryObjectSecurity.cs
- SessionStateSection.cs
- FunctionDetailsReader.cs
- SystemGatewayIPAddressInformation.cs
- SqlCommand.cs
- PersistenceException.cs
- TextOnlyOutput.cs
- SchemaElement.cs
- MDIClient.cs
- Error.cs
- HandleCollector.cs
- AndCondition.cs
- SecurityDescriptor.cs
- DefaultParameterValueAttribute.cs
- UrlMappingsSection.cs
- SecurityTokenSerializer.cs
- XmlSchemaDatatype.cs
- HighlightComponent.cs
- MultiSelectRootGridEntry.cs
- XhtmlBasicLabelAdapter.cs
- Models.cs
- RuntimeConfigurationRecord.cs
- DecoderFallback.cs
- RegexReplacement.cs
- EntityStoreSchemaFilterEntry.cs
- OutputCacheSection.cs
- InstanceDataCollectionCollection.cs
- PasswordRecovery.cs
- ExpressionBindingCollection.cs
- ReachSerializerAsync.cs
- _CacheStreams.cs
- DataTablePropertyDescriptor.cs
- FormsAuthenticationEventArgs.cs
- Point3DKeyFrameCollection.cs
- CombinedGeometry.cs
- SmiConnection.cs
- MaskDescriptors.cs
- FileDetails.cs
- BindingsCollection.cs
- OpenTypeLayout.cs
- InfoCardListRequest.cs
- DataGridBoolColumn.cs
- NamedPipeHostedTransportConfiguration.cs
- VerticalAlignConverter.cs
- Point4D.cs
- Point3DAnimation.cs
- XpsResourceDictionary.cs
- GenericXmlSecurityToken.cs
- MenuItem.cs
- EntityDataSourceContainerNameConverter.cs
- DrawItemEvent.cs
- documentsequencetextcontainer.cs
- XsdBuildProvider.cs
- Environment.cs
- MergablePropertyAttribute.cs
- DeploymentExceptionMapper.cs
- ValueHandle.cs
- DbCommandTree.cs
- MsmqInputSessionChannel.cs
- XXXInfos.cs