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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HuffmanTree.cs
- Highlights.cs
- CompilerGlobalScopeAttribute.cs
- PositiveTimeSpanValidatorAttribute.cs
- ReferencedAssembly.cs
- RegexCharClass.cs
- ComboBoxItem.cs
- WebScriptMetadataInstanceContextProvider.cs
- Knowncolors.cs
- CommandDesigner.cs
- SchemaConstraints.cs
- AssociationSet.cs
- MethodToken.cs
- UIElement.cs
- SafeHandles.cs
- EditCommandColumn.cs
- SetterBase.cs
- SoapHeaderException.cs
- ToolBarTray.cs
- MsmqAppDomainProtocolHandler.cs
- ProgressBarRenderer.cs
- SQLDateTime.cs
- WebProxyScriptElement.cs
- ItemPager.cs
- DataGridViewToolTip.cs
- LicenseProviderAttribute.cs
- JournalNavigationScope.cs
- DBCSCodePageEncoding.cs
- ItemDragEvent.cs
- User.cs
- CompositeDuplexBindingElementImporter.cs
- TiffBitmapEncoder.cs
- StatusBarAutomationPeer.cs
- ToolStripOverflowButton.cs
- TraceContextRecord.cs
- NavigationPropertyAccessor.cs
- DefaultParameterValueAttribute.cs
- Padding.cs
- SoapSchemaImporter.cs
- SecurityKeyIdentifier.cs
- ImageKeyConverter.cs
- ColumnBinding.cs
- ClientConfigurationHost.cs
- DoubleKeyFrameCollection.cs
- ISAPIApplicationHost.cs
- FileLevelControlBuilderAttribute.cs
- KoreanLunisolarCalendar.cs
- DataRowChangeEvent.cs
- SoapInteropTypes.cs
- EmptyWithCancelationCheckWorkItem.cs
- diagnosticsswitches.cs
- ReferenceConverter.cs
- externdll.cs
- Int32EqualityComparer.cs
- SchemaImporter.cs
- odbcmetadatafactory.cs
- StringCollection.cs
- Cell.cs
- CompilationLock.cs
- selecteditemcollection.cs
- HttpHandlersSection.cs
- TextEncodedRawTextWriter.cs
- ImmutableObjectAttribute.cs
- MemberRelationshipService.cs
- MetadataArtifactLoaderFile.cs
- PieceNameHelper.cs
- FormViewDeletedEventArgs.cs
- FieldNameLookup.cs
- TraceSection.cs
- SchemaInfo.cs
- RSAOAEPKeyExchangeDeformatter.cs
- AsyncSerializedWorker.cs
- AssociationProvider.cs
- ResourceProviderFactory.cs
- RadioButton.cs
- _HelperAsyncResults.cs
- GridItemPattern.cs
- RectangleConverter.cs
- DateTimeFormat.cs
- CrossSiteScriptingValidation.cs
- PublishLicense.cs
- DataException.cs
- PhysicalOps.cs
- Number.cs
- InProcStateClientManager.cs
- GcHandle.cs
- RegexRunner.cs
- SymLanguageVendor.cs
- CodeSnippetCompileUnit.cs
- WebPartUtil.cs
- HttpStaticObjectsCollectionWrapper.cs
- MessageSecurityTokenVersion.cs
- TreeNodeCollection.cs
- QilList.cs
- CommentAction.cs
- regiisutil.cs
- CacheHelper.cs
- MemberJoinTreeNode.cs
- IgnoreSection.cs
- StyleXamlParser.cs