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
- _NativeSSPI.cs
- DataGridRow.cs
- GridItem.cs
- InlinedAggregationOperatorEnumerator.cs
- ServiceDocument.cs
- OutputCacheSection.cs
- MLangCodePageEncoding.cs
- AuthorizationPolicyTypeElementCollection.cs
- StylusPointProperty.cs
- Visual3D.cs
- Style.cs
- TemplateManager.cs
- ImmutableClientRuntime.cs
- FormViewPageEventArgs.cs
- CustomCategoryAttribute.cs
- DataTableNameHandler.cs
- MeasureData.cs
- StrongNamePublicKeyBlob.cs
- BaseValidator.cs
- Executor.cs
- Graph.cs
- IndexObject.cs
- TargetFrameworkUtil.cs
- UseManagedPresentationBindingElement.cs
- Queue.cs
- IndependentAnimationStorage.cs
- Operand.cs
- ConfigurationStrings.cs
- AssemblyUtil.cs
- ITextView.cs
- ObjectAssociationEndMapping.cs
- EntityCommandCompilationException.cs
- GradientStop.cs
- SamlAuthorizationDecisionClaimResource.cs
- XmlChildEnumerator.cs
- OleDbInfoMessageEvent.cs
- BindingObserver.cs
- SatelliteContractVersionAttribute.cs
- CodeGroup.cs
- OdbcDataReader.cs
- ObjectTokenCategory.cs
- MulticastNotSupportedException.cs
- SettingsPropertyCollection.cs
- ProfileGroupSettingsCollection.cs
- CreateParams.cs
- SoapSchemaMember.cs
- Point3DKeyFrameCollection.cs
- AutomationInteropProvider.cs
- Vector3D.cs
- Triangle.cs
- WindowsSecurityTokenAuthenticator.cs
- ThreadExceptionEvent.cs
- HttpPostedFile.cs
- MSG.cs
- FilterEventArgs.cs
- DeviceSpecificDialogCachedState.cs
- DataGridViewImageColumn.cs
- ListControlBuilder.cs
- Stacktrace.cs
- StorageInfo.cs
- SafeFileHandle.cs
- BrowserInteropHelper.cs
- CacheOutputQuery.cs
- DesignerActionMethodItem.cs
- GeometryCollection.cs
- MailBnfHelper.cs
- WindowsAltTab.cs
- XsltFunctions.cs
- HttpServerVarsCollection.cs
- WCFServiceClientProxyGenerator.cs
- TagElement.cs
- CommonRemoteMemoryBlock.cs
- Tuple.cs
- ShutDownListener.cs
- SourceSwitch.cs
- FlowDocumentScrollViewer.cs
- StartFileNameEditor.cs
- IndependentlyAnimatedPropertyMetadata.cs
- Selection.cs
- EventTask.cs
- MeasureItemEvent.cs
- TemplateBindingExtension.cs
- LinkButton.cs
- ClickablePoint.cs
- SqlTypesSchemaImporter.cs
- AdapterDictionary.cs
- DataServiceStreamProviderWrapper.cs
- ToolBarPanel.cs
- ListMarkerLine.cs
- Attribute.cs
- LineInfo.cs
- ExpressionBinding.cs
- StyleXamlParser.cs
- Keyboard.cs
- LowerCaseStringConverter.cs
- Queue.cs
- WebEvents.cs
- CLRBindingWorker.cs
- DBSchemaRow.cs
- InternalConfirm.cs