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
- BitArray.cs
- BookmarkEventArgs.cs
- HtmlForm.cs
- NamespaceInfo.cs
- RuntimeResourceSet.cs
- BitmapImage.cs
- ProjectionPruner.cs
- EventArgs.cs
- ModelServiceImpl.cs
- CompositeActivityTypeDescriptorProvider.cs
- FixedLineResult.cs
- DrawingImage.cs
- DataGridCaption.cs
- EncryptedPackageFilter.cs
- RowSpanVector.cs
- CustomWebEventKey.cs
- TextEditor.cs
- BooleanToVisibilityConverter.cs
- LowerCaseStringConverter.cs
- SoapExtensionReflector.cs
- EmptyControlCollection.cs
- TabControlEvent.cs
- FtpCachePolicyElement.cs
- OrderByQueryOptionExpression.cs
- RegexEditorDialog.cs
- HtmlTableRowCollection.cs
- WindowsSolidBrush.cs
- ParameterCollection.cs
- SelectionProcessor.cs
- basevalidator.cs
- DataGridBoolColumn.cs
- PeerHelpers.cs
- SqlReorderer.cs
- XmlILAnnotation.cs
- SmiMetaData.cs
- ExtendedPropertyInfo.cs
- HttpCacheVary.cs
- HMACRIPEMD160.cs
- ToolStripPanelCell.cs
- DbDeleteCommandTree.cs
- SubqueryRules.cs
- ContainerParaClient.cs
- BitmapEffectInputData.cs
- FixedMaxHeap.cs
- CellParagraph.cs
- OracleCommandBuilder.cs
- FastPropertyAccessor.cs
- MimeTypeMapper.cs
- ComponentEvent.cs
- CodeAttributeDeclaration.cs
- TypeHelpers.cs
- ProcessThread.cs
- CredentialCache.cs
- Permission.cs
- MDIWindowDialog.cs
- FileDialog_Vista_Interop.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- StreamGeometry.cs
- DesignSurfaceServiceContainer.cs
- SystemEvents.cs
- MultiView.cs
- InvokeMethodActivityDesigner.cs
- Listbox.cs
- DataGridViewHitTestInfo.cs
- HyperLinkField.cs
- BitmapFrame.cs
- ExtensionElement.cs
- DefaultHttpHandler.cs
- SqlParameter.cs
- XmlSerializerNamespaces.cs
- EdmError.cs
- ProfileBuildProvider.cs
- FormatConvertedBitmap.cs
- ExecutedRoutedEventArgs.cs
- Expressions.cs
- LabelTarget.cs
- StylusPointCollection.cs
- WmfPlaceableFileHeader.cs
- BaseEntityWrapper.cs
- WebPartMovingEventArgs.cs
- HtmlInputHidden.cs
- DrawingGroup.cs
- BindingBase.cs
- State.cs
- HtmlShim.cs
- SimpleType.cs
- _ProxyRegBlob.cs
- RtType.cs
- Transform3DCollection.cs
- WorkingDirectoryEditor.cs
- NameValueConfigurationCollection.cs
- SafeMILHandle.cs
- DocumentSchemaValidator.cs
- CustomCategoryAttribute.cs
- ConstructorArgumentAttribute.cs
- GlyphCache.cs
- Utility.cs
- XsltArgumentList.cs
- UnsafeCollabNativeMethods.cs
- safelink.cs