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
- ASCIIEncoding.cs
- DataAccessor.cs
- DataGridItemCollection.cs
- FloaterParagraph.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- MetadataArtifactLoaderResource.cs
- MissingSatelliteAssemblyException.cs
- DrawingImage.cs
- UnescapedXmlDiagnosticData.cs
- WebPartsPersonalization.cs
- XslNumber.cs
- ProfileProvider.cs
- EventTrigger.cs
- ToolboxItemImageConverter.cs
- ClientTargetSection.cs
- SessionStateItemCollection.cs
- SoapProtocolReflector.cs
- ValidationSummary.cs
- ThicknessAnimationBase.cs
- TcpConnectionPool.cs
- CapacityStreamGeometryContext.cs
- UIHelper.cs
- XmlSchemaDatatype.cs
- XPathDocument.cs
- DSACryptoServiceProvider.cs
- BamlVersionHeader.cs
- Command.cs
- _WebProxyDataBuilder.cs
- EditorBrowsableAttribute.cs
- KnownTypesHelper.cs
- SerialReceived.cs
- CookieProtection.cs
- Matrix3D.cs
- Equal.cs
- InputLangChangeRequestEvent.cs
- SqlAliasesReferenced.cs
- Compiler.cs
- ConnectionManagementSection.cs
- MouseActionConverter.cs
- RtfToXamlReader.cs
- ReachFixedPageSerializer.cs
- ActivationServices.cs
- CookieProtection.cs
- LoginView.cs
- EncodingInfo.cs
- CanonicalFormWriter.cs
- DbConnectionOptions.cs
- CompiledQueryCacheKey.cs
- StringDictionary.cs
- UIntPtr.cs
- MarkerProperties.cs
- SortDescription.cs
- ObjectNotFoundException.cs
- baseaxisquery.cs
- ContainerVisual.cs
- EncodingDataItem.cs
- PropertyValueChangedEvent.cs
- DataGridHeaderBorder.cs
- LocalFileSettingsProvider.cs
- PreservationFileReader.cs
- ActivityDefaults.cs
- SHA1CryptoServiceProvider.cs
- OleDbDataReader.cs
- DataViewListener.cs
- Crypto.cs
- ValidationPropertyAttribute.cs
- AccessDataSourceWizardForm.cs
- KeyboardDevice.cs
- RepeaterDesigner.cs
- VarInfo.cs
- ToolStripSystemRenderer.cs
- DeferredTextReference.cs
- DefaultValueAttribute.cs
- Light.cs
- ServicesUtilities.cs
- AuthenticationModuleElement.cs
- EntityUtil.cs
- RoleGroup.cs
- DataServiceProviderWrapper.cs
- Marshal.cs
- Help.cs
- DiscoveryMessageProperty.cs
- OverlappedAsyncResult.cs
- InvalidPropValue.cs
- XmlReflectionImporter.cs
- SessionEndingEventArgs.cs
- NotifyCollectionChangedEventArgs.cs
- SymbolType.cs
- ResetableIterator.cs
- ValidatorCollection.cs
- NameNode.cs
- SettingsAttributes.cs
- FilterQuery.cs
- ListViewSortEventArgs.cs
- SystemWebCachingSectionGroup.cs
- StringConcat.cs
- SingleKeyFrameCollection.cs
- TransactionBridge.cs
- ConfigXmlElement.cs
- XhtmlBasicValidatorAdapter.cs