Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 1 / 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
- IndentTextWriter.cs
- SchemaAttDef.cs
- OpCodes.cs
- RadioButtonStandardAdapter.cs
- PageThemeBuildProvider.cs
- prompt.cs
- TouchEventArgs.cs
- SingletonInstanceContextProvider.cs
- ObjectParameter.cs
- Speller.cs
- TextLine.cs
- TextServicesHost.cs
- CollectionViewSource.cs
- ApplyTemplatesAction.cs
- SmtpLoginAuthenticationModule.cs
- ActivityDesigner.cs
- HandlerFactoryWrapper.cs
- Brushes.cs
- ByValueEqualityComparer.cs
- SynchronousChannelMergeEnumerator.cs
- Stack.cs
- WebServiceFaultDesigner.cs
- PrimaryKeyTypeConverter.cs
- XmlDocumentType.cs
- BoundField.cs
- FolderNameEditor.cs
- ImpersonateTokenRef.cs
- DBAsyncResult.cs
- MultidimensionalArrayItemReference.cs
- XmlDictionary.cs
- DataFormats.cs
- TableHeaderCell.cs
- ItemsChangedEventArgs.cs
- _SafeNetHandles.cs
- SQLDateTime.cs
- RequestQueryProcessor.cs
- _NegoStream.cs
- InkCollectionBehavior.cs
- PresentationAppDomainManager.cs
- MobileFormsAuthentication.cs
- PrimarySelectionAdorner.cs
- ResizingMessageFilter.cs
- NullableConverter.cs
- QilInvokeLateBound.cs
- StyleCollection.cs
- SoapIncludeAttribute.cs
- ControlAdapter.cs
- LayoutUtils.cs
- ConfigurationStrings.cs
- SapiAttributeParser.cs
- AdornerHitTestResult.cs
- DriveInfo.cs
- LiteralControl.cs
- graph.cs
- ApplicationSecurityInfo.cs
- GuidTagList.cs
- OletxTransactionHeader.cs
- SecurityCriticalDataForSet.cs
- ToolStripDropTargetManager.cs
- CompilerParameters.cs
- DataGridViewSelectedCellCollection.cs
- PerfCounterSection.cs
- DataSourceCacheDurationConverter.cs
- WorkflowEventArgs.cs
- CustomLineCap.cs
- DoWhile.cs
- RectangleF.cs
- AddInStore.cs
- HttpPostedFile.cs
- ComponentEditorForm.cs
- DBBindings.cs
- CodeSubDirectory.cs
- TraceLog.cs
- ExpressionBuilderContext.cs
- XmlObjectSerializerWriteContext.cs
- SchemaElementDecl.cs
- UserPersonalizationStateInfo.cs
- TogglePatternIdentifiers.cs
- ExpressionNormalizer.cs
- Marshal.cs
- TTSVoice.cs
- Expressions.cs
- GeneralTransform2DTo3D.cs
- updateconfighost.cs
- Line.cs
- FixedSOMLineCollection.cs
- AccessibilityHelperForXpWin2k3.cs
- FormatControl.cs
- TextSelectionProcessor.cs
- DataObject.cs
- DateTimeConverter.cs
- CompilationUnit.cs
- ModulesEntry.cs
- TdsParserHelperClasses.cs
- FormClosingEvent.cs
- ScrollItemPattern.cs
- WorkflowRuntimeSection.cs
- ProcessInputEventArgs.cs
- Block.cs
- NameObjectCollectionBase.cs