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
- RuntimeArgumentHandle.cs
- LicenseException.cs
- XmlNodeChangedEventArgs.cs
- NavigateEvent.cs
- DataProtectionSecurityStateEncoder.cs
- HtmlShimManager.cs
- PropertyGrid.cs
- EntitySqlQueryCacheKey.cs
- DeferredTextReference.cs
- MarshalByValueComponent.cs
- ProviderException.cs
- ConfigurationSectionCollection.cs
- NavigationWindowAutomationPeer.cs
- CodeDelegateCreateExpression.cs
- MailAddress.cs
- SqlBuilder.cs
- ChannelServices.cs
- BitArray.cs
- XPathNodeInfoAtom.cs
- WorkItem.cs
- Mutex.cs
- DBAsyncResult.cs
- WebControlAdapter.cs
- processwaithandle.cs
- XmlSchemaDocumentation.cs
- MiniParameterInfo.cs
- DockPattern.cs
- DataGridViewRowsRemovedEventArgs.cs
- SByteStorage.cs
- DataServiceStreamResponse.cs
- XmlWriter.cs
- IISUnsafeMethods.cs
- SystemInfo.cs
- PaintValueEventArgs.cs
- wgx_exports.cs
- ProxyFragment.cs
- XmlFormatExtensionAttribute.cs
- CalendarAutoFormat.cs
- HttpModuleActionCollection.cs
- EventLogRecord.cs
- ComponentChangedEvent.cs
- HttpFileCollectionBase.cs
- ContravarianceAdapter.cs
- ValueTable.cs
- WebControlAdapter.cs
- HostnameComparisonMode.cs
- MediaContextNotificationWindow.cs
- SemaphoreFullException.cs
- RichTextBox.cs
- FlagsAttribute.cs
- FactoryMaker.cs
- InnerItemCollectionView.cs
- ColorContextHelper.cs
- OdbcConnectionOpen.cs
- ObservableCollection.cs
- Base64Stream.cs
- EpmSourcePathSegment.cs
- DetailsViewUpdateEventArgs.cs
- SqlNamer.cs
- sqlnorm.cs
- SQlBooleanStorage.cs
- ISO2022Encoding.cs
- TeredoHelper.cs
- ActivityBuilder.cs
- ResourceSetExpression.cs
- AutomationTextAttribute.cs
- CalendarDesigner.cs
- HasCopySemanticsAttribute.cs
- SparseMemoryStream.cs
- WindowsFormsSynchronizationContext.cs
- AuthenticationException.cs
- Rect.cs
- ChangeProcessor.cs
- GlyphRun.cs
- Calendar.cs
- IndentedTextWriter.cs
- ResourceProperty.cs
- HyperlinkAutomationPeer.cs
- RightsManagementEncryptedStream.cs
- ExpressionEditorSheet.cs
- PropertyDescriptor.cs
- TransformedBitmap.cs
- TargetConverter.cs
- COAUTHIDENTITY.cs
- Typography.cs
- CultureInfoConverter.cs
- documentsequencetextcontainer.cs
- SchemaNamespaceManager.cs
- TrustManagerPromptUI.cs
- BaseParser.cs
- BitmapMetadataBlob.cs
- IPEndPoint.cs
- TreeViewImageIndexConverter.cs
- RtfControls.cs
- WebContext.cs
- MSAAEventDispatcher.cs
- MD5CryptoServiceProvider.cs
- SystemWebCachingSectionGroup.cs
- Directory.cs
- PropertyCollection.cs