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
- InkCanvasSelection.cs
- DependencyPropertyValueSerializer.cs
- RuntimeConfigLKG.cs
- DragCompletedEventArgs.cs
- MenuBase.cs
- RuleAttributes.cs
- CharAnimationBase.cs
- SecurityException.cs
- ConnectionModeReader.cs
- HtmlInputRadioButton.cs
- BooleanSwitch.cs
- Point3DKeyFrameCollection.cs
- TablePattern.cs
- SmiRecordBuffer.cs
- IApplicationTrustManager.cs
- MethodCallExpression.cs
- LinqToSqlWrapper.cs
- BinaryFormatterWriter.cs
- ListCollectionView.cs
- DataSourceXmlSerializer.cs
- HttpWebResponse.cs
- MULTI_QI.cs
- TypedRowGenerator.cs
- WebPartEditorOkVerb.cs
- COM2Enum.cs
- UIPermission.cs
- LazyInitializer.cs
- documentsequencetextview.cs
- securestring.cs
- Visual3DCollection.cs
- Model3DGroup.cs
- LinkButton.cs
- SelectionWordBreaker.cs
- shaperfactory.cs
- ScrollBarAutomationPeer.cs
- RoutedPropertyChangedEventArgs.cs
- CodeSnippetExpression.cs
- BooleanStorage.cs
- WindowsClientCredential.cs
- ItemChangedEventArgs.cs
- sqlnorm.cs
- BinaryReader.cs
- TypeConverterAttribute.cs
- ControlCollection.cs
- HttpConfigurationSystem.cs
- BitmapSourceSafeMILHandle.cs
- GlyphingCache.cs
- DataGridRowClipboardEventArgs.cs
- AvTrace.cs
- IIS7WorkerRequest.cs
- ComponentEditorPage.cs
- QueryResultOp.cs
- DataGridColumnFloatingHeader.cs
- LicenseManager.cs
- VectorCollectionValueSerializer.cs
- IERequestCache.cs
- _OverlappedAsyncResult.cs
- DataSpaceManager.cs
- COM2ColorConverter.cs
- RTLAwareMessageBox.cs
- QilGenerator.cs
- SqlBulkCopyColumnMapping.cs
- ListBox.cs
- ProfileManager.cs
- KeyBinding.cs
- IPipelineRuntime.cs
- TextServicesProperty.cs
- ApplicationSettingsBase.cs
- EventPropertyMap.cs
- NamedPermissionSet.cs
- WinEventTracker.cs
- CodeBlockBuilder.cs
- ComAdminWrapper.cs
- UnicodeEncoding.cs
- CompilationSection.cs
- ContractsBCL.cs
- Rectangle.cs
- _SSPISessionCache.cs
- SafeSecurityHelper.cs
- OlePropertyStructs.cs
- SafeReadContext.cs
- sitestring.cs
- TcpActivation.cs
- HttpConfigurationContext.cs
- TreeNodeStyle.cs
- SimpleExpression.cs
- RegistryKey.cs
- XmlTextReaderImpl.cs
- RowVisual.cs
- ContextToken.cs
- NotCondition.cs
- DesignSurfaceManager.cs
- AccessDataSourceWizardForm.cs
- ServiceHttpHandlerFactory.cs
- HttpInputStream.cs
- hresults.cs
- MailWriter.cs
- DataGrid.cs
- KeyConverter.cs
- ContextBase.cs