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
- UrlRoutingModule.cs
- CompensatableTransactionScopeActivity.cs
- RenderOptions.cs
- StringHelper.cs
- SafeReversePInvokeHandle.cs
- DependencyPropertyChangedEventArgs.cs
- NegotiateStream.cs
- SendMailErrorEventArgs.cs
- Base64WriteStateInfo.cs
- PackageFilter.cs
- TypeElementCollection.cs
- TableCell.cs
- VisualState.cs
- SettingsPropertyValue.cs
- CompareValidator.cs
- ObjectStateManagerMetadata.cs
- tabpagecollectioneditor.cs
- MILUtilities.cs
- MetadataWorkspace.cs
- querybuilder.cs
- FrameworkElementAutomationPeer.cs
- ListViewDeletedEventArgs.cs
- DetailsViewCommandEventArgs.cs
- StorageAssociationSetMapping.cs
- QueryRelOp.cs
- HtmlEmptyTagControlBuilder.cs
- BuildProviderCollection.cs
- WebPartRestoreVerb.cs
- NativeMethods.cs
- XmlQueryTypeFactory.cs
- EpmTargetTree.cs
- SmtpReplyReaderFactory.cs
- ObjectFullSpanRewriter.cs
- BinaryEditor.cs
- TableDetailsRow.cs
- TextRangeProviderWrapper.cs
- PropertyGeneratedEventArgs.cs
- TableRow.cs
- UInt32.cs
- WebRequestModuleElementCollection.cs
- Attributes.cs
- UrlMappingsModule.cs
- WindowsListViewGroupSubsetLink.cs
- EdmItemCollection.cs
- EraserBehavior.cs
- ConnectionStringSettings.cs
- SimpleType.cs
- SourceElementsCollection.cs
- Quaternion.cs
- EnterpriseServicesHelper.cs
- AlternationConverter.cs
- CrossAppDomainChannel.cs
- mediaeventargs.cs
- WebDescriptionAttribute.cs
- ItemCollection.cs
- RpcCryptoContext.cs
- Helper.cs
- MeshGeometry3D.cs
- BitFlagsGenerator.cs
- RectConverter.cs
- Parser.cs
- StreamInfo.cs
- XsltContext.cs
- InvokePattern.cs
- ClientSideProviderDescription.cs
- UnsafeNativeMethods.cs
- Int32Converter.cs
- TextBoxAutoCompleteSourceConverter.cs
- CodeIdentifier.cs
- KeyboardEventArgs.cs
- FindCriteria.cs
- PerformanceCounterPermissionAttribute.cs
- Int32.cs
- RegexCharClass.cs
- BuilderElements.cs
- WebConfigurationHost.cs
- ScopelessEnumAttribute.cs
- HtmlMeta.cs
- GenericIdentity.cs
- LowerCaseStringConverter.cs
- Tuple.cs
- ValidatorCompatibilityHelper.cs
- FormViewModeEventArgs.cs
- OutputCacheProfileCollection.cs
- SelectionChangedEventArgs.cs
- UriParserTemplates.cs
- ArithmeticException.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- FullTextState.cs
- StructuredType.cs
- XmlHelper.cs
- ReflectEventDescriptor.cs
- ArrayElementGridEntry.cs
- FacetValues.cs
- MemberHolder.cs
- UserMapPath.cs
- SimpleHandlerBuildProvider.cs
- Misc.cs
- NavigationProgressEventArgs.cs
- DataRelationCollection.cs