Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECT.cs / 1305376 / GPRECT.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 GPRECT { internal int X; internal int Y; internal int Width; internal int Height; internal GPRECT(int x, int y, int width, int height) { X = x; Y = y; Width = width; Height = height; } internal GPRECT(Rectangle rect) { X = rect.X; Y = rect.Y; Width = rect.Width; Height = rect.Height; } internal Rectangle ToRectangle() { return new Rectangle(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
- TransactionManager.cs
- XmlSchemaComplexType.cs
- ContentPlaceHolderDesigner.cs
- WebPartUtil.cs
- DrawingAttributesDefaultValueFactory.cs
- _ListenerAsyncResult.cs
- CompileLiteralTextParser.cs
- DocumentReferenceCollection.cs
- XmlILStorageConverter.cs
- unsafenativemethodsother.cs
- ToolTip.cs
- X509Chain.cs
- StateWorkerRequest.cs
- InternalConfigRoot.cs
- DocumentXPathNavigator.cs
- ComPlusInstanceProvider.cs
- TextTreeUndo.cs
- recordstatefactory.cs
- TablePattern.cs
- HideDisabledControlAdapter.cs
- Transform3DGroup.cs
- QueryOperationResponseOfT.cs
- TerminatingOperationBehavior.cs
- XmlSubtreeReader.cs
- DefinitionBase.cs
- SubpageParagraph.cs
- TextRangeProviderWrapper.cs
- CompilerGeneratedAttribute.cs
- XpsDigitalSignature.cs
- CodeTypeParameterCollection.cs
- DataSourceHelper.cs
- SymbolEqualComparer.cs
- SiteMapSection.cs
- CompositeControl.cs
- XamlBrushSerializer.cs
- RegionIterator.cs
- CreateUserWizard.cs
- CustomErrorCollection.cs
- ToolTipAutomationPeer.cs
- XamlSerializerUtil.cs
- DeriveBytes.cs
- WindowsSecurityTokenAuthenticator.cs
- DigitShape.cs
- InternalBufferOverflowException.cs
- Vector3dCollection.cs
- MimeMultiPart.cs
- SchemaLookupTable.cs
- ProfilePropertySettings.cs
- SymmetricSecurityProtocolFactory.cs
- SafeEventHandle.cs
- RenameRuleObjectDialog.Designer.cs
- ChangePassword.cs
- HandleCollector.cs
- FilteredSchemaElementLookUpTable.cs
- IDReferencePropertyAttribute.cs
- NativeMethods.cs
- SimpleParser.cs
- WindowProviderWrapper.cs
- RectAnimationClockResource.cs
- ResponseBodyWriter.cs
- DataGridViewRowConverter.cs
- DockAndAnchorLayout.cs
- EntityContainerRelationshipSetEnd.cs
- GlyphTypeface.cs
- SafeHandle.cs
- UICuesEvent.cs
- UIElement3D.cs
- ConfigurationStrings.cs
- ClientConfigurationHost.cs
- DocumentPageViewAutomationPeer.cs
- SqlConnectionHelper.cs
- JsonWriterDelegator.cs
- OleDbEnumerator.cs
- SecurityListenerSettingsLifetimeManager.cs
- FileSystemInfo.cs
- WeakReferenceEnumerator.cs
- CodeThrowExceptionStatement.cs
- DrawListViewColumnHeaderEventArgs.cs
- Configuration.cs
- DeferredElementTreeState.cs
- ReadOnlyKeyedCollection.cs
- SolidColorBrush.cs
- MediaSystem.cs
- EntityWrapperFactory.cs
- Point3DAnimationBase.cs
- DataGridViewCellCollection.cs
- ConsoleTraceListener.cs
- Vector3DAnimationBase.cs
- CollectionType.cs
- HotSpotCollection.cs
- CultureSpecificCharacterBufferRange.cs
- XmlSchemaObject.cs
- PropertyTabChangedEvent.cs
- SwitchElementsCollection.cs
- SoapIncludeAttribute.cs
- SizeConverter.cs
- DataSourceProvider.cs
- SkinBuilder.cs
- InputLanguageProfileNotifySink.cs
- WorkflowMarkupSerializerMapping.cs