Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- IMembershipProvider.cs
- ConfigurationSectionGroupCollection.cs
- PlanCompilerUtil.cs
- NavigationFailedEventArgs.cs
- CustomWebEventKey.cs
- SspiSafeHandles.cs
- WebControl.cs
- ProfileSettingsCollection.cs
- SystemEvents.cs
- ValueChangedEventManager.cs
- transactioncontext.cs
- RsaSecurityTokenAuthenticator.cs
- UnsignedPublishLicense.cs
- ReferencedAssembly.cs
- TagPrefixAttribute.cs
- CharacterBufferReference.cs
- PtsPage.cs
- PersonalizationDictionary.cs
- ColumnCollection.cs
- MappedMetaModel.cs
- SystemIcmpV4Statistics.cs
- ServiceEndpointElement.cs
- ClientSettingsProvider.cs
- CompilerState.cs
- TextSearch.cs
- SafeFileHandle.cs
- WebServiceClientProxyGenerator.cs
- Win32Native.cs
- DataControlPagerLinkButton.cs
- FilterableAttribute.cs
- SafeThemeHandle.cs
- SessionParameter.cs
- BaseProcessProtocolHandler.cs
- GeometryCollection.cs
- WeakKeyDictionary.cs
- MultipartContentParser.cs
- ByteRangeDownloader.cs
- UInt64Converter.cs
- CreateUserErrorEventArgs.cs
- EnvelopeVersion.cs
- SiteMapNode.cs
- ToolBarTray.cs
- ProxyElement.cs
- RegisteredHiddenField.cs
- QueryAsyncResult.cs
- PageTheme.cs
- ClientSideQueueItem.cs
- ColorConverter.cs
- FilterEventArgs.cs
- Message.cs
- SimpleTypeResolver.cs
- FilterableAttribute.cs
- XmlBindingWorker.cs
- ManualResetEventSlim.cs
- FlowDocumentReaderAutomationPeer.cs
- Stream.cs
- Timer.cs
- IIS7WorkerRequest.cs
- MaxSessionCountExceededException.cs
- SettingsPropertyCollection.cs
- TypefaceMap.cs
- RepeatButton.cs
- Compiler.cs
- DbConnectionPoolOptions.cs
- SplineKeyFrames.cs
- CaseKeyBox.xaml.cs
- OdbcConnectionFactory.cs
- SqlConnectionHelper.cs
- SimpleExpression.cs
- coordinatorfactory.cs
- DataServiceHost.cs
- UnorderedHashRepartitionStream.cs
- CodeCatchClauseCollection.cs
- Triangle.cs
- Invariant.cs
- SafeReadContext.cs
- DataGridViewElement.cs
- ParseHttpDate.cs
- ConfigurationPropertyCollection.cs
- EtwProvider.cs
- ToolStripItemEventArgs.cs
- Rect3DConverter.cs
- MetadataCache.cs
- BaseAsyncResult.cs
- ReversePositionQuery.cs
- VariantWrapper.cs
- TemplateField.cs
- SafeRightsManagementSessionHandle.cs
- FormsAuthenticationEventArgs.cs
- DataTransferEventArgs.cs
- MessagePartDescriptionCollection.cs
- DbConnectionOptions.cs
- _LocalDataStore.cs
- SessionStateSection.cs
- ArrangedElementCollection.cs
- ScriptControlManager.cs
- Span.cs
- DataGridViewTopLeftHeaderCell.cs
- RenderingEventArgs.cs
- SharedUtils.cs