Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 1305376 / GPRECTF.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 GPRECTF { internal float X; internal float Y; internal float Width; internal float Height; internal GPRECTF(float x, float y, float width, float height) { X = x; Y = y; Width = width; Height = height; } internal GPRECTF(RectangleF rect) { X = rect.X; Y = rect.Y; Width = rect.Width; Height = rect.Height; } internal SizeF SizeF { get { return new SizeF(Width, Height); } } internal RectangleF ToRectangleF() { return new RectangleF(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
- MessageSecurityOverHttp.cs
- GeometryModel3D.cs
- CharConverter.cs
- ServiceOperationParameter.cs
- GridViewActionList.cs
- RepeatBehavior.cs
- ToggleButtonAutomationPeer.cs
- SoapAttributes.cs
- SettingsProviderCollection.cs
- MultiTouchSystemGestureLogic.cs
- Baml2006SchemaContext.cs
- XmlSchemaType.cs
- WasEndpointConfigContainer.cs
- FrameSecurityDescriptor.cs
- CompoundFileDeflateTransform.cs
- ExceptionUtil.cs
- Condition.cs
- _NestedSingleAsyncResult.cs
- DrawItemEvent.cs
- DataConnectionHelper.cs
- DelimitedListTraceListener.cs
- TextElementCollection.cs
- StylusLogic.cs
- GridViewActionList.cs
- CDSsyncETWBCLProvider.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- DataGridViewSelectedCellCollection.cs
- ExtenderProvidedPropertyAttribute.cs
- OleDbSchemaGuid.cs
- XmlComment.cs
- EllipticalNodeOperations.cs
- ProxyWebPart.cs
- WebRequestModuleElement.cs
- Bits.cs
- ServiceParser.cs
- ImpersonationContext.cs
- PointConverter.cs
- XhtmlBasicCalendarAdapter.cs
- Vector3DKeyFrameCollection.cs
- AdCreatedEventArgs.cs
- ByteAnimation.cs
- Certificate.cs
- AnimationClock.cs
- CheckBox.cs
- DbProviderFactory.cs
- ScriptControl.cs
- GenerateHelper.cs
- ToolStripControlHost.cs
- HttpProfileGroupBase.cs
- WebPartDescriptionCollection.cs
- MouseWheelEventArgs.cs
- SafeTimerHandle.cs
- UIHelper.cs
- BlockUIContainer.cs
- Point3DCollection.cs
- StructuredTypeEmitter.cs
- Win32.cs
- InputMethod.cs
- SerializationObjectManager.cs
- ComponentRenameEvent.cs
- RegionInfo.cs
- _ListenerAsyncResult.cs
- OwnerDrawPropertyBag.cs
- NameValuePair.cs
- DataPagerFieldCommandEventArgs.cs
- XmlSchemaFacet.cs
- HMAC.cs
- IdnMapping.cs
- ReflectionHelper.cs
- DesignerAutoFormat.cs
- RTLAwareMessageBox.cs
- InlinedAggregationOperator.cs
- Guid.cs
- XmlSchemaInferenceException.cs
- BindableTemplateBuilder.cs
- ParameterModifier.cs
- GridViewRow.cs
- RemotingService.cs
- LinqDataSourceContextData.cs
- WebBrowserSiteBase.cs
- PointLightBase.cs
- GridViewColumnCollection.cs
- MimeBasePart.cs
- OdbcUtils.cs
- ClientProxyGenerator.cs
- HtmlDocument.cs
- WebPartEditorOkVerb.cs
- EventLogPermission.cs
- ApplicationInterop.cs
- BigInt.cs
- ChangeInterceptorAttribute.cs
- DiagnosticsElement.cs
- OraclePermissionAttribute.cs
- AtomEntry.cs
- SqlMethods.cs
- MethodBuilder.cs
- Stack.cs
- ArgumentDirectionHelper.cs
- TreeView.cs
- SqlConnection.cs