Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECT.cs / 2 / 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. //------------------------------------------------------------------------------ //// 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
- UserThread.cs
- ManagementEventWatcher.cs
- ImageListImage.cs
- Tokenizer.cs
- UpdateRecord.cs
- ProfileProvider.cs
- SapiInterop.cs
- ColumnReorderedEventArgs.cs
- IResourceProvider.cs
- EventMappingSettingsCollection.cs
- SrgsDocumentParser.cs
- RectAnimationClockResource.cs
- ExpressionValueEditor.cs
- HierarchicalDataSourceControl.cs
- Path.cs
- ChangeProcessor.cs
- PrimitiveType.cs
- METAHEADER.cs
- InkCanvasAutomationPeer.cs
- XPathNode.cs
- MsmqAuthenticationMode.cs
- GrabHandleGlyph.cs
- VirtualDirectoryMapping.cs
- StringFormat.cs
- LedgerEntryCollection.cs
- ColumnMap.cs
- Typeface.cs
- LiteralControl.cs
- XmlElementCollection.cs
- ChildDocumentBlock.cs
- CompModSwitches.cs
- StrongNameIdentityPermission.cs
- XmlArrayAttribute.cs
- ByteStream.cs
- CodeTypeMember.cs
- ButtonAutomationPeer.cs
- SqlTriggerContext.cs
- PatternMatcher.cs
- DocumentsTrace.cs
- QuaternionAnimationUsingKeyFrames.cs
- SupportingTokenListenerFactory.cs
- ExclusiveTcpListener.cs
- EncodingInfo.cs
- UserMapPath.cs
- ItemsControl.cs
- UInt64.cs
- Context.cs
- NameHandler.cs
- PKCS1MaskGenerationMethod.cs
- FrameworkElementAutomationPeer.cs
- TimerExtension.cs
- DocumentViewerBase.cs
- UDPClient.cs
- Html32TextWriter.cs
- GroupBoxAutomationPeer.cs
- Perspective.cs
- VectorConverter.cs
- OperationContractGenerationContext.cs
- Object.cs
- PropertyValue.cs
- MdImport.cs
- DocumentViewer.cs
- AdornedElementPlaceholder.cs
- IntSumAggregationOperator.cs
- MappingException.cs
- BaseTemplateCodeDomTreeGenerator.cs
- FrameworkElementFactory.cs
- QilSortKey.cs
- GridItem.cs
- embossbitmapeffect.cs
- DataContractFormatAttribute.cs
- Persist.cs
- IgnorePropertiesAttribute.cs
- FilteredXmlReader.cs
- InvalidAsynchronousStateException.cs
- TdsRecordBufferSetter.cs
- TranslateTransform.cs
- SetIterators.cs
- NestPullup.cs
- ReflectionTypeLoadException.cs
- RuntimeArgumentHandle.cs
- PTProvider.cs
- XmlSchemaSimpleTypeUnion.cs
- _HTTPDateParse.cs
- WebPartConnectionsCancelEventArgs.cs
- PackageFilter.cs
- DateBoldEvent.cs
- ZipIOExtraFieldElement.cs
- MessagingDescriptionAttribute.cs
- CompressionTransform.cs
- TraceAsyncResult.cs
- KeyedHashAlgorithm.cs
- CollectionViewGroupInternal.cs
- PreloadHost.cs
- Array.cs
- RegexCaptureCollection.cs
- ConfigXmlText.cs
- TemplateNameScope.cs
- XamlSerializerUtil.cs
- WebPartConnectionsCancelEventArgs.cs