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
- CodeStatementCollection.cs
- TextBoxRenderer.cs
- SendKeys.cs
- PageCatalogPartDesigner.cs
- WindowPattern.cs
- Triangle.cs
- Compiler.cs
- ToolBar.cs
- CurrentChangingEventManager.cs
- FloaterParagraph.cs
- ByteStreamMessageEncoder.cs
- StructuredType.cs
- ProcessModule.cs
- SecurityCriticalDataForSet.cs
- DataSourceControl.cs
- CodeSnippetCompileUnit.cs
- ResourcePart.cs
- SQLInt16Storage.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- BuildProvider.cs
- WindowsFormsSectionHandler.cs
- StrongTypingException.cs
- SoapMessage.cs
- Rfc2898DeriveBytes.cs
- IndexerNameAttribute.cs
- ServicesUtilities.cs
- Condition.cs
- PrefixQName.cs
- TextEditorSelection.cs
- ConnectionStringSettingsCollection.cs
- QueryPageSettingsEventArgs.cs
- CultureMapper.cs
- LogicalTreeHelper.cs
- BufferedWebEventProvider.cs
- Size3DValueSerializer.cs
- PtsCache.cs
- HyperLink.cs
- TextCompositionManager.cs
- LeafCellTreeNode.cs
- BitmapEffectRenderDataResource.cs
- DataTableCollection.cs
- RectangleConverter.cs
- TextPointer.cs
- RadialGradientBrush.cs
- UdpSocket.cs
- ImageSource.cs
- SurrogateEncoder.cs
- FirstMatchCodeGroup.cs
- DefaultShape.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- ExtendedPropertyDescriptor.cs
- RuntimeConfigurationRecord.cs
- VisualBrush.cs
- XmlSchemaRedefine.cs
- Internal.cs
- DataControlButton.cs
- FileUtil.cs
- UnhandledExceptionEventArgs.cs
- PixelFormat.cs
- DiscoveryClientReferences.cs
- CodeObject.cs
- MonitoringDescriptionAttribute.cs
- SystemInformation.cs
- PolicyException.cs
- BitmapEffectDrawingContent.cs
- ConsoleEntryPoint.cs
- TrackBar.cs
- SecurityRuntime.cs
- NetSectionGroup.cs
- LookupBindingPropertiesAttribute.cs
- CodeVariableDeclarationStatement.cs
- VersionedStream.cs
- SettingsBindableAttribute.cs
- FontStretchConverter.cs
- MonitoringDescriptionAttribute.cs
- WorkflowFileItem.cs
- SourceLocation.cs
- DragStartedEventArgs.cs
- DSACryptoServiceProvider.cs
- ConfigXmlElement.cs
- ColumnCollection.cs
- XPathDocumentIterator.cs
- UserControlAutomationPeer.cs
- BamlLocalizer.cs
- CryptoApi.cs
- PerformanceCounter.cs
- Tile.cs
- KeyedCollection.cs
- EntityClientCacheKey.cs
- ByValueEqualityComparer.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- SourceLocation.cs
- QuotedStringFormatReader.cs
- BookmarkList.cs
- PropertySourceInfo.cs
- Track.cs
- DataGridViewLinkCell.cs
- NativeMethods.cs
- DataObjectFieldAttribute.cs
- TextMetrics.cs