Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 2 / 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. //------------------------------------------------------------------------------ //// 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
- SessionSwitchEventArgs.cs
- BuildProvidersCompiler.cs
- localization.cs
- ToolstripProfessionalRenderer.cs
- TileBrush.cs
- AndCondition.cs
- TriggerActionCollection.cs
- SharedPersonalizationStateInfo.cs
- PtsHelper.cs
- ToolStripItem.cs
- DelegateBodyWriter.cs
- EncoderParameter.cs
- TargetConverter.cs
- DeleteBookmarkScope.cs
- InfoCardArgumentException.cs
- Expr.cs
- ArrayEditor.cs
- ArrayList.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- KeyTimeConverter.cs
- HttpHeaderCollection.cs
- TableRowCollection.cs
- AxHost.cs
- DesignerLabelAdapter.cs
- BaseHashHelper.cs
- Clipboard.cs
- ListSortDescriptionCollection.cs
- InternalsVisibleToAttribute.cs
- AliasedExpr.cs
- sqlser.cs
- DataControlLinkButton.cs
- QuinticEase.cs
- PropertyChangingEventArgs.cs
- DataControlFieldCollection.cs
- Vector3DKeyFrameCollection.cs
- DataGridViewCellParsingEventArgs.cs
- FileDialog.cs
- StringUtil.cs
- SqlProviderServices.cs
- ToolStripRenderer.cs
- SmtpLoginAuthenticationModule.cs
- CorrelationInitializer.cs
- DefaultDialogButtons.cs
- SRGSCompiler.cs
- SchemaDeclBase.cs
- Rijndael.cs
- SiteMapNodeItemEventArgs.cs
- WebProxyScriptElement.cs
- InternalTypeHelper.cs
- InputReportEventArgs.cs
- SoapRpcServiceAttribute.cs
- Expander.cs
- PagePropertiesChangingEventArgs.cs
- OSFeature.cs
- SupportsEventValidationAttribute.cs
- InstanceCreationEditor.cs
- ServiceChannelManager.cs
- DrawingGroup.cs
- ContextBase.cs
- StrongNameUtility.cs
- Action.cs
- EffectiveValueEntry.cs
- PaintValueEventArgs.cs
- OleDbException.cs
- Operator.cs
- MatrixAnimationUsingKeyFrames.cs
- DiscoveryDocumentReference.cs
- EventLogPermissionEntry.cs
- TextEffectResolver.cs
- ProjectionPlanCompiler.cs
- ObjectSpanRewriter.cs
- DefaultPrintController.cs
- VideoDrawing.cs
- ExtendedPropertyCollection.cs
- DirectoryObjectSecurity.cs
- ConfigXmlCDataSection.cs
- Translator.cs
- StylusPlugin.cs
- PopOutPanel.cs
- Stopwatch.cs
- OdbcCommandBuilder.cs
- NetworkInformationPermission.cs
- DrawingContext.cs
- HttpModulesSection.cs
- ObjectListCommandCollection.cs
- DrawingContext.cs
- ButtonRenderer.cs
- StylusSystemGestureEventArgs.cs
- HtmlContainerControl.cs
- DBSchemaRow.cs
- FileSecurity.cs
- RuntimeCompatibilityAttribute.cs
- MergeLocalizationDirectives.cs
- HuffCodec.cs
- ListSourceHelper.cs
- Attributes.cs
- ScriptReferenceBase.cs
- DataSourceSelectArguments.cs
- CodeGotoStatement.cs
- ToolStripStatusLabel.cs