Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MemoryRecordBuffer.cs
- ServiceNotStartedException.cs
- SystemIPGlobalProperties.cs
- _AutoWebProxyScriptHelper.cs
- SchemaTableOptionalColumn.cs
- X500Name.cs
- PathFigure.cs
- GreenMethods.cs
- SiteOfOriginContainer.cs
- DbProviderServices.cs
- ValidationPropertyAttribute.cs
- ExpanderAutomationPeer.cs
- WebScriptClientGenerator.cs
- WebScriptMetadataMessage.cs
- FormsAuthentication.cs
- RequiredFieldValidator.cs
- CatalogZoneDesigner.cs
- PasswordBox.cs
- RowToParametersTransformer.cs
- VectorAnimation.cs
- NumericUpDown.cs
- IPGlobalProperties.cs
- KeyProperty.cs
- XmlDigitalSignatureProcessor.cs
- StylusButtonEventArgs.cs
- DictionaryContent.cs
- DynamicUpdateCommand.cs
- RoutedEventConverter.cs
- SaveLedgerEntryRequest.cs
- StandardCommandToolStripMenuItem.cs
- ManifestSignedXml.cs
- MimePart.cs
- Label.cs
- CodeMemberField.cs
- TextEffectResolver.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- HostProtectionException.cs
- RuleSetReference.cs
- ScrollChangedEventArgs.cs
- CompositeControl.cs
- FileDialog_Vista_Interop.cs
- CompoundFileStorageReference.cs
- StringTraceRecord.cs
- EUCJPEncoding.cs
- WebPartTransformerCollection.cs
- ValidatorCollection.cs
- CodeAttributeDeclaration.cs
- CommonObjectSecurity.cs
- AutoResetEvent.cs
- HGlobalSafeHandle.cs
- TemplatedMailWebEventProvider.cs
- DataServiceProviderMethods.cs
- UnauthorizedAccessException.cs
- LinqDataSourceValidationException.cs
- RemotingException.cs
- ObjectListSelectEventArgs.cs
- TaskHelper.cs
- UIElementAutomationPeer.cs
- IfAction.cs
- HttpConfigurationSystem.cs
- DuplexChannelBinder.cs
- CompositeActivityValidator.cs
- ToolboxComponentsCreatedEventArgs.cs
- HttpCapabilitiesEvaluator.cs
- QueryParameter.cs
- PageBuildProvider.cs
- PartialCachingAttribute.cs
- TableLayoutSettingsTypeConverter.cs
- UrlPath.cs
- PackageDigitalSignature.cs
- MessageQueueKey.cs
- ScrollChrome.cs
- Quaternion.cs
- storepermission.cs
- RuleValidation.cs
- EntityContainerRelationshipSetEnd.cs
- __TransparentProxy.cs
- SmtpCommands.cs
- PresentationTraceSources.cs
- DocumentStream.cs
- AsymmetricSignatureFormatter.cs
- _NegoState.cs
- SimpleParser.cs
- HyperLinkDataBindingHandler.cs
- RecordManager.cs
- NamedObject.cs
- PrimitiveXmlSerializers.cs
- UInt16Converter.cs
- ZipIOLocalFileBlock.cs
- SQLInt64Storage.cs
- ErrorHandler.cs
- LocalizedNameDescriptionPair.cs
- EntityProviderServices.cs
- CheckBox.cs
- XmlWrappingReader.cs
- ConfigXmlCDataSection.cs
- SortedDictionary.cs
- Stylus.cs
- RankException.cs
- DragDeltaEventArgs.cs