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
- NativeMethods.cs
- Calendar.cs
- RecognitionResult.cs
- DataServiceRequestException.cs
- SiteMapSection.cs
- SapiRecoInterop.cs
- MetadataPropertyvalue.cs
- Geometry.cs
- SpeakCompletedEventArgs.cs
- XomlCompilerParameters.cs
- ButtonRenderer.cs
- BinaryQueryOperator.cs
- InvalidCastException.cs
- storepermissionattribute.cs
- WinFormsComponentEditor.cs
- controlskin.cs
- ColorInterpolationModeValidation.cs
- Point4D.cs
- UnionQueryOperator.cs
- RadioButton.cs
- OutputCacheProviderCollection.cs
- ListenerElementsCollection.cs
- XmlValueConverter.cs
- FormViewAutoFormat.cs
- TraceProvider.cs
- PreProcessor.cs
- DefaultAssemblyResolver.cs
- DBAsyncResult.cs
- GeneralTransform3DGroup.cs
- Page.cs
- ControlCollection.cs
- PackageRelationshipSelector.cs
- ActivityExecutorSurrogate.cs
- PermissionRequestEvidence.cs
- TableMethodGenerator.cs
- GroupStyle.cs
- InkCanvasAutomationPeer.cs
- Fonts.cs
- SemanticResultValue.cs
- EventLogPermissionAttribute.cs
- TableItemPatternIdentifiers.cs
- ListBoxChrome.cs
- BrowserDefinition.cs
- AggregationMinMaxHelpers.cs
- XmlDataFileEditor.cs
- mediaeventargs.cs
- _HeaderInfoTable.cs
- RouteUrlExpressionBuilder.cs
- ChildrenQuery.cs
- Events.cs
- ChangeToolStripParentVerb.cs
- InvalidOperationException.cs
- BoundPropertyEntry.cs
- SecurityAccessDeniedException.cs
- CheckBox.cs
- COM2ExtendedUITypeEditor.cs
- HttpStreams.cs
- _ListenerRequestStream.cs
- HttpCookie.cs
- IndentedWriter.cs
- DrawingVisualDrawingContext.cs
- LocalBuilder.cs
- RenderTargetBitmap.cs
- GlyphCache.cs
- ModifyActivitiesPropertyDescriptor.cs
- BamlRecordHelper.cs
- BinaryObjectWriter.cs
- ChildTable.cs
- BuildDependencySet.cs
- SuspendDesigner.cs
- CustomErrorCollection.cs
- CaseInsensitiveComparer.cs
- StringComparer.cs
- MenuItem.cs
- Normalization.cs
- GenericIdentity.cs
- DefaultExpression.cs
- ExceptionValidationRule.cs
- TitleStyle.cs
- UnrecognizedPolicyAssertionElement.cs
- DataGridViewBand.cs
- ComponentSerializationService.cs
- TextChangedEventArgs.cs
- ADConnectionHelper.cs
- XPathNavigator.cs
- ToolStripSeparatorRenderEventArgs.cs
- EntityTypeEmitter.cs
- ServiceOperationUIEditor.cs
- ComboBox.cs
- OutputScopeManager.cs
- Button.cs
- InputEventArgs.cs
- StrokeSerializer.cs
- FileClassifier.cs
- Environment.cs
- EmbeddedMailObject.cs
- WebPageTraceListener.cs
- ApplicationDirectoryMembershipCondition.cs
- WindowsSspiNegotiation.cs
- SqlBulkCopyColumnMapping.cs