Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 1 / GPRECTF.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Internal { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal struct GPRECTF { internal float X; internal float Y; internal float Width; internal float Height; internal GPRECTF(float x, float y, float width, float height) { X = x; Y = y; Width = width; Height = height; } internal GPRECTF(RectangleF rect) { X = rect.X; Y = rect.Y; Width = rect.Width; Height = rect.Height; } internal SizeF SizeF { get { return new SizeF(Width, Height); } } internal RectangleF ToRectangleF() { return new RectangleF(X, Y, Width, Height); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Internal { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal struct GPRECTF { internal float X; internal float Y; internal float Width; internal float Height; internal GPRECTF(float x, float y, float width, float height) { X = x; Y = y; Width = width; Height = height; } internal GPRECTF(RectangleF rect) { X = rect.X; Y = rect.Y; Width = rect.Width; Height = rect.Height; } internal SizeF SizeF { get { return new SizeF(Width, Height); } } internal RectangleF ToRectangleF() { return new RectangleF(X, Y, Width, Height); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpModule.cs
- DataGridViewLinkCell.cs
- mactripleDES.cs
- WmlTextViewAdapter.cs
- FragmentQueryKB.cs
- TrackingMemoryStreamFactory.cs
- ResumeStoryboard.cs
- DisplayInformation.cs
- DesignerRegionCollection.cs
- XPathNodeIterator.cs
- DelegatingTypeDescriptionProvider.cs
- TargetConverter.cs
- OleDbEnumerator.cs
- TrackingConditionCollection.cs
- DataRowView.cs
- SystemInfo.cs
- SymbolEqualComparer.cs
- unsafenativemethodsother.cs
- MulticastNotSupportedException.cs
- CodeTypeReference.cs
- QuaternionAnimation.cs
- RadioButton.cs
- AssemblyBuilder.cs
- RequestResizeEvent.cs
- DeferredRunTextReference.cs
- RectAnimation.cs
- CompressionTracing.cs
- AddInIpcChannel.cs
- TextEditorSelection.cs
- WithParamAction.cs
- QilLiteral.cs
- PhysicalFontFamily.cs
- SafeUserTokenHandle.cs
- FileAuthorizationModule.cs
- RegisteredArrayDeclaration.cs
- PersianCalendar.cs
- EntityType.cs
- SqlDataSourceStatusEventArgs.cs
- DbQueryCommandTree.cs
- XPathPatternParser.cs
- CursorConverter.cs
- OptimalTextSource.cs
- MenuItemStyleCollectionEditor.cs
- WebConfigurationHost.cs
- ToolBarOverflowPanel.cs
- FormViewDeleteEventArgs.cs
- XmlReflectionImporter.cs
- BackStopAuthenticationModule.cs
- EnterpriseServicesHelper.cs
- Html32TextWriter.cs
- UnsafeNativeMethods.cs
- Automation.cs
- DocumentGridContextMenu.cs
- ModuleConfigurationInfo.cs
- OdbcError.cs
- ReliableMessagingHelpers.cs
- TcpClientSocketManager.cs
- XmlNamespaceDeclarationsAttribute.cs
- CacheEntry.cs
- CultureTableRecord.cs
- InstancePersistenceCommandException.cs
- DataGridViewHitTestInfo.cs
- ChildrenQuery.cs
- DynamicResourceExtension.cs
- OdbcConnectionStringbuilder.cs
- ExtractedStateEntry.cs
- ToolBarOverflowPanel.cs
- ArgIterator.cs
- GeneralTransform3DCollection.cs
- DataFormat.cs
- Tuple.cs
- DEREncoding.cs
- ConfigurationSettings.cs
- DataKey.cs
- DoubleStorage.cs
- QuaternionAnimation.cs
- IntegerValidator.cs
- SimpleType.cs
- PrintController.cs
- Configuration.cs
- StyleXamlParser.cs
- Base64Encoder.cs
- CacheRequest.cs
- Page.cs
- HttpModuleCollection.cs
- FrameworkElement.cs
- CodeExporter.cs
- ToolStripSeparatorRenderEventArgs.cs
- CryptoKeySecurity.cs
- HotCommands.cs
- MimeMapping.cs
- SqlDeflator.cs
- EpmContentDeSerializer.cs
- EventHandlersStore.cs
- IsolatedStoragePermission.cs
- WebEvents.cs
- ConfigurationCollectionAttribute.cs
- HttpConfigurationContext.cs
- PeerNameRecordCollection.cs
- PageThemeBuildProvider.cs