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
- DataControlImageButton.cs
- IndexingContentUnit.cs
- Span.cs
- __Filters.cs
- IOThreadScheduler.cs
- InternalBase.cs
- VisualTreeHelper.cs
- HorizontalAlignConverter.cs
- CommandValueSerializer.cs
- StorageComplexPropertyMapping.cs
- WSSecurityPolicy.cs
- CopyAction.cs
- future.cs
- FontStretchConverter.cs
- TextHintingModeValidation.cs
- OrderedDictionary.cs
- ClientConvert.cs
- NetCodeGroup.cs
- ArrayList.cs
- ClientApiGenerator.cs
- RemotingServices.cs
- StrokeRenderer.cs
- OperationAbortedException.cs
- QueryRelOp.cs
- Label.cs
- AllMembershipCondition.cs
- Root.cs
- COM2PropertyDescriptor.cs
- VectorValueSerializer.cs
- PointLightBase.cs
- NullableIntSumAggregationOperator.cs
- LinqDataSourceView.cs
- FloaterBaseParagraph.cs
- validationstate.cs
- RadialGradientBrush.cs
- PrintDocument.cs
- ContentDisposition.cs
- SchemaImporterExtensionsSection.cs
- DataGridCell.cs
- Propagator.cs
- Ops.cs
- Win32SafeHandles.cs
- ScopelessEnumAttribute.cs
- MarshalByValueComponent.cs
- ObjectItemAttributeAssemblyLoader.cs
- Tool.cs
- LifetimeServices.cs
- LayoutInformation.cs
- DataGridLinkButton.cs
- HtmlControlPersistable.cs
- SafeFindHandle.cs
- GeneralTransform2DTo3DTo2D.cs
- XPathAncestorIterator.cs
- SQLDouble.cs
- Label.cs
- ComponentChangedEvent.cs
- AutomationPeer.cs
- ScriptComponentDescriptor.cs
- HtmlInputText.cs
- WebBrowserSiteBase.cs
- RequestCacheValidator.cs
- CorrelationKey.cs
- Main.cs
- ConstraintStruct.cs
- FrameworkContentElement.cs
- XsltLoader.cs
- ScrollItemProviderWrapper.cs
- BaseValidator.cs
- ComplexPropertyEntry.cs
- SapiInterop.cs
- PresentationSource.cs
- CheckoutException.cs
- CachedPathData.cs
- HitTestWithGeometryDrawingContextWalker.cs
- Table.cs
- RSATokenProvider.cs
- TypeValidationEventArgs.cs
- EdmTypeAttribute.cs
- DropDownList.cs
- WebPartCancelEventArgs.cs
- Helper.cs
- FrameworkContextData.cs
- TraceHandler.cs
- TrustVersion.cs
- ListViewItemMouseHoverEvent.cs
- FlowDocumentView.cs
- LastQueryOperator.cs
- OleDbInfoMessageEvent.cs
- UshortList2.cs
- WorkflowInstance.cs
- DataGridViewSelectedCellCollection.cs
- DataRelationCollection.cs
- InProcStateClientManager.cs
- StreamingContext.cs
- XMLDiffLoader.cs
- XmlReturnReader.cs
- Run.cs
- ArrangedElementCollection.cs
- DataBindingHandlerAttribute.cs
- ColumnProvider.cs