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
- CodeDomSerializerBase.cs
- CancellationScope.cs
- DependencyPropertyAttribute.cs
- XmlImplementation.cs
- ClientBuildManager.cs
- _Win32.cs
- RemoteHelper.cs
- DataContractSerializerElement.cs
- TableCell.cs
- DependencyPropertyHelper.cs
- AsyncOperation.cs
- WebPartDisplayMode.cs
- WebPartDisplayMode.cs
- Positioning.cs
- OpenTypeLayout.cs
- RegisteredDisposeScript.cs
- BufferedReadStream.cs
- HyperLinkStyle.cs
- WebPartManager.cs
- RtfFormatStack.cs
- ControlCollection.cs
- HiddenField.cs
- NumericExpr.cs
- FormatConvertedBitmap.cs
- GeneralEndpointIdentity.cs
- GridViewColumn.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- CapabilitiesAssignment.cs
- ImportOptions.cs
- versioninfo.cs
- ButtonColumn.cs
- Context.cs
- Vars.cs
- XmlILOptimizerVisitor.cs
- CodeGeneratorOptions.cs
- IncrementalHitTester.cs
- EventProxy.cs
- SemanticResolver.cs
- HierarchicalDataBoundControlAdapter.cs
- DataGridViewCellStyleConverter.cs
- Vector3DValueSerializer.cs
- XmlWrappingReader.cs
- ContractUtils.cs
- BinaryMethodMessage.cs
- SqlCacheDependencySection.cs
- TreeView.cs
- listitem.cs
- bidPrivateBase.cs
- ToolStripLocationCancelEventArgs.cs
- BCLDebug.cs
- SHA1Managed.cs
- TextControl.cs
- BrowserTree.cs
- XmlLoader.cs
- SmtpNetworkElement.cs
- MaterialGroup.cs
- Pen.cs
- newinstructionaction.cs
- QueryHandler.cs
- GraphicsState.cs
- BindableTemplateBuilder.cs
- ConditionalBranch.cs
- _LoggingObject.cs
- CaseStatementProjectedSlot.cs
- ObjectCache.cs
- GlyphCollection.cs
- ToolStripDropDownMenu.cs
- MediaContextNotificationWindow.cs
- DateTimeFormatInfoScanner.cs
- WebPartConnectionsConnectVerb.cs
- ConnectionStringsExpressionBuilder.cs
- TextChange.cs
- MetaModel.cs
- ColumnProvider.cs
- DetectEofStream.cs
- ImageCodecInfo.cs
- Control.cs
- DataServiceResponse.cs
- InputGestureCollection.cs
- StorageEntityTypeMapping.cs
- TextSchema.cs
- InputLanguageCollection.cs
- ListItem.cs
- Model3D.cs
- ApplicationSecurityManager.cs
- HostingEnvironment.cs
- MimeTypeAttribute.cs
- ConfigurationStrings.cs
- BinaryFormatter.cs
- WindowsSolidBrush.cs
- WebSysDescriptionAttribute.cs
- FixedSOMPageElement.cs
- SafeRightsManagementHandle.cs
- SqlCommandBuilder.cs
- SoapCodeExporter.cs
- ItemDragEvent.cs
- DocumentGrid.cs
- PackWebResponse.cs
- AppSettingsExpressionBuilder.cs
- ProviderBase.cs