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
- invalidudtexception.cs
- StrokeNode.cs
- HyperLinkField.cs
- OleDbTransaction.cs
- Hash.cs
- PluralizationService.cs
- TreeNodeSelectionProcessor.cs
- Classification.cs
- RegexFCD.cs
- HiddenField.cs
- GcSettings.cs
- NetworkAddressChange.cs
- TypeFieldSchema.cs
- DrawItemEvent.cs
- TextProperties.cs
- DeclarativeCatalogPart.cs
- StateRuntime.cs
- ColorTransform.cs
- XmlAttribute.cs
- TreeNodeBindingCollection.cs
- ListenerServiceInstallComponent.cs
- ControlsConfig.cs
- PointAnimationBase.cs
- NotifyIcon.cs
- ListViewHitTestInfo.cs
- TypedColumnHandler.cs
- Int32RectValueSerializer.cs
- XmlCountingReader.cs
- ServiceNameCollection.cs
- CompilerTypeWithParams.cs
- TextFormatterImp.cs
- InstanceData.cs
- ClientScriptItemCollection.cs
- ValidationException.cs
- CompModSwitches.cs
- CheckBoxPopupAdapter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ExceptionHandler.cs
- SmiTypedGetterSetter.cs
- LineBreak.cs
- GorillaCodec.cs
- PersistenceMetadataNamespace.cs
- SqlCacheDependencyDatabase.cs
- XmlCountingReader.cs
- TraceUtils.cs
- Listbox.cs
- WhereQueryOperator.cs
- GenericIdentity.cs
- LazyInitializer.cs
- WorkflowDebuggerSteppingAttribute.cs
- ZipFileInfoCollection.cs
- CryptoStream.cs
- DeferrableContent.cs
- UriParserTemplates.cs
- smtppermission.cs
- DependentTransaction.cs
- NetworkStream.cs
- KeyFrames.cs
- CapabilitiesPattern.cs
- Misc.cs
- ToolboxItemAttribute.cs
- HexParser.cs
- sqlinternaltransaction.cs
- PlatformNotSupportedException.cs
- StorageScalarPropertyMapping.cs
- XmlSchemaSimpleType.cs
- UITypeEditor.cs
- SendActivityValidator.cs
- SendMailErrorEventArgs.cs
- ExternalFile.cs
- DataGridViewCellMouseEventArgs.cs
- OpenTypeMethods.cs
- GraphicsPathIterator.cs
- IntellisenseTextBox.designer.cs
- TextEditorContextMenu.cs
- FormsAuthenticationConfiguration.cs
- X509Extension.cs
- InstanceHandleReference.cs
- PagedDataSource.cs
- DbConnectionPoolCounters.cs
- CodeEventReferenceExpression.cs
- RelationshipManager.cs
- CodeDirectoryCompiler.cs
- AssemblyEvidenceFactory.cs
- BindingList.cs
- TextTreeTextElementNode.cs
- FrameworkElement.cs
- VirtualDirectoryMapping.cs
- DayRenderEvent.cs
- GorillaCodec.cs
- SchemaDeclBase.cs
- SubMenuStyle.cs
- PermissionSetTriple.cs
- PasswordTextNavigator.cs
- CheckBoxRenderer.cs
- AsyncMethodInvoker.cs
- XPathException.cs
- VisualStyleInformation.cs
- SamlSecurityTokenAuthenticator.cs
- SerializationHelper.cs