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
- PackUriHelper.cs
- _TLSstream.cs
- ParameterReplacerVisitor.cs
- XmlParser.cs
- Double.cs
- QueryInterceptorAttribute.cs
- StructuredTypeEmitter.cs
- RSAOAEPKeyExchangeFormatter.cs
- brushes.cs
- TraceXPathNavigator.cs
- KeyboardNavigation.cs
- HttpClientProtocol.cs
- CodeFieldReferenceExpression.cs
- WebBrowsableAttribute.cs
- TextServicesHost.cs
- AbandonedMutexException.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- securitymgrsite.cs
- HtmlInputCheckBox.cs
- ErasingStroke.cs
- webbrowsersite.cs
- XPathParser.cs
- VariableQuery.cs
- AspCompat.cs
- ProjectionCamera.cs
- shaper.cs
- ImageSource.cs
- SqlFlattener.cs
- DataServicePagingProviderWrapper.cs
- OdbcEnvironmentHandle.cs
- ProfileSettingsCollection.cs
- TraceLevelStore.cs
- DesignerActionUIService.cs
- TypeGeneratedEventArgs.cs
- TextSelectionHighlightLayer.cs
- SqlDependencyListener.cs
- EventSchemaTraceListener.cs
- SpotLight.cs
- FixedPageStructure.cs
- UnauthorizedAccessException.cs
- sqlser.cs
- SurrogateSelector.cs
- Flowchart.cs
- DataGridTablesFactory.cs
- IsolatedStorageFileStream.cs
- RowCache.cs
- LayoutSettings.cs
- CalloutQueueItem.cs
- LazyTextWriterCreator.cs
- COAUTHINFO.cs
- ISCIIEncoding.cs
- DataListItemCollection.cs
- DataGridViewMethods.cs
- DiagnosticsConfigurationHandler.cs
- MenuItem.cs
- IndexedEnumerable.cs
- OutputCacheProfileCollection.cs
- EntityTypeEmitter.cs
- CallContext.cs
- SoapEnvelopeProcessingElement.cs
- mactripleDES.cs
- IisTraceWebEventProvider.cs
- IPHostEntry.cs
- ArrayConverter.cs
- CustomAttributeFormatException.cs
- BindingExpressionUncommonField.cs
- ValidationSummary.cs
- SchemaReference.cs
- DataProviderNameConverter.cs
- StylusDownEventArgs.cs
- ItemList.cs
- CodeDirectiveCollection.cs
- BoundConstants.cs
- XmlSigningNodeWriter.cs
- NativeActivityTransactionContext.cs
- EntityPropertyMappingAttribute.cs
- TypefaceMetricsCache.cs
- DynamicObjectAccessor.cs
- SecurityState.cs
- IIS7WorkerRequest.cs
- TextServicesDisplayAttribute.cs
- XmlSchemaProviderAttribute.cs
- CodeNamespaceImportCollection.cs
- PerformanceCounterManager.cs
- AppDomainUnloadedException.cs
- LoadedOrUnloadedOperation.cs
- SharingService.cs
- Animatable.cs
- AsymmetricKeyExchangeDeformatter.cs
- UniqueID.cs
- RowToFieldTransformer.cs
- ObjectDataSourceDisposingEventArgs.cs
- DynamicQueryableWrapper.cs
- WebPartConnectionsCancelEventArgs.cs
- GeometryCombineModeValidation.cs
- ListViewCommandEventArgs.cs
- EditorZone.cs
- basemetadatamappingvisitor.cs
- ActivationArguments.cs
- PolicyVersion.cs