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
- EdmSchemaError.cs
- TreeViewItemAutomationPeer.cs
- Vars.cs
- AttachedPropertyInfo.cs
- OrderPreservingMergeHelper.cs
- PointConverter.cs
- TextEndOfParagraph.cs
- CmsUtils.cs
- AssemblyAttributesGoHere.cs
- InputLangChangeRequestEvent.cs
- InvokeHandlers.cs
- Condition.cs
- SoapAttributeAttribute.cs
- AmbientLight.cs
- EncodingInfo.cs
- AdPostCacheSubstitution.cs
- SchemaImporterExtensionElementCollection.cs
- MetadataItemEmitter.cs
- XmlSerializableWriter.cs
- ExpressionBuilder.cs
- StylusDevice.cs
- GraphicsPath.cs
- RectValueSerializer.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ConfigXmlReader.cs
- MaterialGroup.cs
- TextBlock.cs
- CipherData.cs
- PostBackOptions.cs
- NonParentingControl.cs
- MutexSecurity.cs
- QilLiteral.cs
- Int16AnimationUsingKeyFrames.cs
- WebEncodingValidatorAttribute.cs
- LinqDataSource.cs
- HtmlElementCollection.cs
- ControlPropertyNameConverter.cs
- RuntimeIdentifierPropertyAttribute.cs
- EntityEntry.cs
- WebPartZoneCollection.cs
- SiteMapDataSourceView.cs
- FormClosingEvent.cs
- OdbcConnection.cs
- NetMsmqBindingCollectionElement.cs
- Byte.cs
- TypeValidationEventArgs.cs
- WinInet.cs
- BypassElementCollection.cs
- StringUtil.cs
- PropertyValueChangedEvent.cs
- Literal.cs
- CodeNamespaceImport.cs
- DATA_BLOB.cs
- ObfuscationAttribute.cs
- ItemChangedEventArgs.cs
- CustomError.cs
- BindingMemberInfo.cs
- ContextTokenTypeConverter.cs
- QueryOptionExpression.cs
- MouseGestureValueSerializer.cs
- ACE.cs
- xml.cs
- DecoderBestFitFallback.cs
- LogExtentCollection.cs
- SqlProviderServices.cs
- DBCommandBuilder.cs
- ObjectStateFormatter.cs
- KeyBinding.cs
- ToolboxItemWrapper.cs
- recordstatescratchpad.cs
- _SecureChannel.cs
- HTTPNotFoundHandler.cs
- UndoManager.cs
- TableLayoutCellPaintEventArgs.cs
- TypePresenter.xaml.cs
- DatatypeImplementation.cs
- TextDpi.cs
- QueryExpr.cs
- InvalidWorkflowException.cs
- LinqToSqlWrapper.cs
- DrawingVisual.cs
- WsdlParser.cs
- SudsCommon.cs
- ProfileModule.cs
- rsa.cs
- PathFigureCollectionValueSerializer.cs
- StylusPointPropertyUnit.cs
- WindowsGrip.cs
- Transform.cs
- SimpleMailWebEventProvider.cs
- TraceListener.cs
- Vector3D.cs
- addressfiltermode.cs
- DayRenderEvent.cs
- HttpClientCertificate.cs
- ManagedFilter.cs
- ContextQuery.cs
- VideoDrawing.cs
- XPathItem.cs
- Size3D.cs