Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IsolatedStoragePermission.cs
- BindableTemplateBuilder.cs
- X509CertificateValidator.cs
- CompositeTypefaceMetrics.cs
- TableLayoutPanelCellPosition.cs
- DateTimeOffset.cs
- ListControlDataBindingHandler.cs
- TextContainerHelper.cs
- ComboBoxAutomationPeer.cs
- Registry.cs
- RegexTypeEditor.cs
- ColorInterpolationModeValidation.cs
- ReadOnlyHierarchicalDataSourceView.cs
- UInt16Storage.cs
- LinqTreeNodeEvaluator.cs
- smtpconnection.cs
- TextFormatterHost.cs
- VSWCFServiceContractGenerator.cs
- unsafenativemethodsother.cs
- ScriptComponentDescriptor.cs
- PerfService.cs
- RoleService.cs
- AmbientProperties.cs
- TextTreePropertyUndoUnit.cs
- SendOperation.cs
- ByteStream.cs
- SettingsPropertyIsReadOnlyException.cs
- DataServiceClientException.cs
- HandlerFactoryWrapper.cs
- VersionedStream.cs
- BoundingRectTracker.cs
- ZipIOLocalFileBlock.cs
- OracleEncoding.cs
- _LocalDataStore.cs
- XmlSchemaObjectTable.cs
- IdnElement.cs
- ImagingCache.cs
- SafeLocalMemHandle.cs
- Double.cs
- EncryptedXml.cs
- ParallelEnumerable.cs
- NamedPermissionSet.cs
- SHA512Managed.cs
- DataControlCommands.cs
- DataError.cs
- ThumbAutomationPeer.cs
- XmlSerializer.cs
- LicFileLicenseProvider.cs
- Attributes.cs
- ScriptMethodAttribute.cs
- ExpressionEditorAttribute.cs
- ListViewInsertEventArgs.cs
- TableColumn.cs
- EnumConverter.cs
- RoutedPropertyChangedEventArgs.cs
- DeflateInput.cs
- ObjectKeyFrameCollection.cs
- PreProcessor.cs
- DockPatternIdentifiers.cs
- HtmlHistory.cs
- UriScheme.cs
- SqlException.cs
- WinInet.cs
- MessageHeaderException.cs
- PeerName.cs
- DisableDpiAwarenessAttribute.cs
- BrowserDefinitionCollection.cs
- Int16.cs
- NavigationCommands.cs
- ScrollPatternIdentifiers.cs
- Socket.cs
- SubMenuStyleCollectionEditor.cs
- PolygonHotSpot.cs
- SqlUtils.cs
- RecognizerStateChangedEventArgs.cs
- WebEventTraceProvider.cs
- MetadataArtifactLoaderResource.cs
- PerformanceCounterManager.cs
- _NestedMultipleAsyncResult.cs
- ColumnPropertiesGroup.cs
- Trace.cs
- ObjectConverter.cs
- MdbDataFileEditor.cs
- IndependentAnimationStorage.cs
- SoapIncludeAttribute.cs
- RenderTargetBitmap.cs
- HScrollBar.cs
- HttpProcessUtility.cs
- DynamicQueryableWrapper.cs
- InsufficientMemoryException.cs
- TargetControlTypeAttribute.cs
- DiagnosticsConfigurationHandler.cs
- SqlXmlStorage.cs
- ReverseQueryOperator.cs
- CookieProtection.cs
- AnnotationService.cs
- ChainedAsyncResult.cs
- CapabilitiesUse.cs
- ChooseAction.cs
- ObjectNavigationPropertyMapping.cs