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
- NativeMethods.cs
- X509UI.cs
- Style.cs
- Root.cs
- XmlElementList.cs
- BufferedGraphics.cs
- IndexedGlyphRun.cs
- EntityViewContainer.cs
- ApplicationDirectoryMembershipCondition.cs
- ProtectedConfiguration.cs
- SecurityState.cs
- EdmPropertyAttribute.cs
- NotifyInputEventArgs.cs
- TcpChannelHelper.cs
- Closure.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- DesignerVerb.cs
- Point3DAnimationUsingKeyFrames.cs
- SizeKeyFrameCollection.cs
- ZoomPercentageConverter.cs
- Evaluator.cs
- returneventsaver.cs
- EntityContainerAssociationSetEnd.cs
- XmlAnyElementAttributes.cs
- odbcmetadatacolumnnames.cs
- RoleGroupCollection.cs
- ExitEventArgs.cs
- SemanticBasicElement.cs
- SecurityHelper.cs
- PerformanceCounterPermissionEntryCollection.cs
- RTLAwareMessageBox.cs
- View.cs
- InProcStateClientManager.cs
- EdmSchemaError.cs
- ConsoleTraceListener.cs
- CaseCqlBlock.cs
- FixedDocumentSequencePaginator.cs
- UnitySerializationHolder.cs
- RangeBaseAutomationPeer.cs
- InvalidProgramException.cs
- DeflateEmulationStream.cs
- IisHelper.cs
- NamespaceDisplay.xaml.cs
- InvariantComparer.cs
- EntitySet.cs
- ConfigurationSettings.cs
- OutOfMemoryException.cs
- FormViewInsertedEventArgs.cs
- EncoderReplacementFallback.cs
- MulticastIPAddressInformationCollection.cs
- PageBreakRecord.cs
- odbcmetadatacollectionnames.cs
- ExpressionPrefixAttribute.cs
- DurationConverter.cs
- Message.cs
- ClientSettingsStore.cs
- HitTestParameters3D.cs
- AuthorizationPolicyTypeElement.cs
- ContainerFilterService.cs
- HtmlProps.cs
- EndpointAddressProcessor.cs
- VectorAnimationUsingKeyFrames.cs
- PageSetupDialog.cs
- DecoderReplacementFallback.cs
- Selection.cs
- DerivedKeySecurityToken.cs
- ToolboxComponentsCreatedEventArgs.cs
- DependencyObjectType.cs
- HTMLTextWriter.cs
- Condition.cs
- SortKey.cs
- GetImportFileNameRequest.cs
- HandlerFactoryCache.cs
- PropertyPanel.cs
- ObjectDesignerDataSourceView.cs
- XmlArrayAttribute.cs
- NavigationProperty.cs
- CqlQuery.cs
- EdmToObjectNamespaceMap.cs
- AdRotatorDesigner.cs
- SystemIPGlobalProperties.cs
- AudienceUriMode.cs
- Track.cs
- EventProviderBase.cs
- SpeechDetectedEventArgs.cs
- OpCodes.cs
- SqlDataSourceCommandEventArgs.cs
- WizardStepBase.cs
- LinkButton.cs
- XmlILIndex.cs
- FrameDimension.cs
- ContourSegment.cs
- TransportContext.cs
- CultureTableRecord.cs
- SpotLight.cs
- DecodeHelper.cs
- DockAndAnchorLayout.cs
- EntityDataSourceChangingEventArgs.cs
- XsltSettings.cs
- IpcChannelHelper.cs