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
- PackageStore.cs
- SafeNativeMethods.cs
- DefaultPropertyAttribute.cs
- DiscreteKeyFrames.cs
- ValuePatternIdentifiers.cs
- HideDisabledControlAdapter.cs
- DragCompletedEventArgs.cs
- ConnectionManagementSection.cs
- WCFServiceClientProxyGenerator.cs
- RC2.cs
- ADMembershipProvider.cs
- SortedList.cs
- DataGrid.cs
- XPathAncestorIterator.cs
- DocumentsTrace.cs
- StringKeyFrameCollection.cs
- ProviderBase.cs
- QilTernary.cs
- HandleCollector.cs
- MarshalDirectiveException.cs
- unitconverter.cs
- WebService.cs
- WasEndpointConfigContainer.cs
- oledbmetadatacolumnnames.cs
- FamilyMapCollection.cs
- StylusEventArgs.cs
- ThreadInterruptedException.cs
- DataGrid.cs
- VirtualDirectoryMappingCollection.cs
- PhoneCall.cs
- SizeAnimationUsingKeyFrames.cs
- X500Name.cs
- entityreference_tresulttype.cs
- XmlSchemaFacet.cs
- DataGridViewRowCollection.cs
- RemotingSurrogateSelector.cs
- EdmType.cs
- ClientData.cs
- ColorConvertedBitmapExtension.cs
- DataGridViewCellCollection.cs
- FormatSettings.cs
- EncodingTable.cs
- XsdBuildProvider.cs
- OdbcConnectionFactory.cs
- InstanceContextManager.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- CodeCommentStatement.cs
- TypeSource.cs
- RuntimeConfig.cs
- MouseCaptureWithinProperty.cs
- TraceSection.cs
- mongolianshape.cs
- DataColumn.cs
- XmlParserContext.cs
- filewebrequest.cs
- ProfessionalColors.cs
- RtfControls.cs
- ObjectConverter.cs
- ChangesetResponse.cs
- BufferedWebEventProvider.cs
- WorkflowInspectionServices.cs
- CallSiteOps.cs
- XmlTextReader.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ISAPIWorkerRequest.cs
- XmlSchemaAnnotated.cs
- HtmlUtf8RawTextWriter.cs
- ZipIOBlockManager.cs
- AddressingVersion.cs
- SHA256.cs
- hebrewshape.cs
- XmlUtilWriter.cs
- SelectionUIService.cs
- ServiceDescriptions.cs
- ClaimTypes.cs
- Set.cs
- PrimitiveXmlSerializers.cs
- AttributeCollection.cs
- DebuggerAttributes.cs
- ClientSettingsSection.cs
- WorkflowElementDialog.cs
- SymLanguageType.cs
- XPathNodeIterator.cs
- ObjectConverter.cs
- Point3DAnimationUsingKeyFrames.cs
- UTF32Encoding.cs
- BindUriHelper.cs
- Metadata.cs
- CqlWriter.cs
- RuntimeConfigurationRecord.cs
- ControlUtil.cs
- SqlComparer.cs
- ScrollItemPattern.cs
- AppDomainShutdownMonitor.cs
- BamlStream.cs
- LayoutTable.cs
- HostDesigntimeLicenseContext.cs
- PropertyInfoSet.cs
- AmbientProperties.cs
- EventManager.cs