Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / textformatting / IndexedGlyphRun.cs / 1 / IndexedGlyphRun.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: IndexedGlyphRun class // // History: // 2/2/2004: [....] Created the file // //--------------------------------------------------------------------------- using System; using System.Windows.Media; namespace System.Windows.Media.TextFormatting { ////// GlyphRun indexed with text source character index. It allows clients to map a text source character index /// to the corresponding GlyphRun. /// public sealed class IndexedGlyphRun { ////// Internal constructor. /// internal IndexedGlyphRun( int textSourceCharacterIndex, int textSourceCharacterLength, GlyphRun glyphRun ) { _textSourceCharacterIndex = textSourceCharacterIndex; _length = textSourceCharacterLength; _glyphRun = glyphRun; } //---------------------------------- // Public properties //---------------------------------- ////// gets the text source character index corresponding to the beginning of the GlyphRun /// public int TextSourceCharacterIndex { get { return _textSourceCharacterIndex; } } ////// gets the text source character length corresponding to this GlyphRun. The text source character /// length does not necessarily equal to the character count in GlyphRun. /// public int TextSourceLength { get { return _length; } } ////// gets the GlyphRun object /// public GlyphRun GlyphRun { get { return _glyphRun; } } //------------------------- // private members //------------------------- private GlyphRun _glyphRun; private int _textSourceCharacterIndex; private int _length; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Compensation.cs
- AutomationPatternInfo.cs
- CommonObjectSecurity.cs
- IgnoreFileBuildProvider.cs
- NullableFloatAverageAggregationOperator.cs
- SrgsRule.cs
- ControlAdapter.cs
- DrawingContextDrawingContextWalker.cs
- MailWriter.cs
- PropertyTab.cs
- Directory.cs
- MarginsConverter.cs
- QueryValue.cs
- TextContainer.cs
- SQLInt32Storage.cs
- StateMachine.cs
- PropertyValueChangedEvent.cs
- WebSysDescriptionAttribute.cs
- Math.cs
- NameTable.cs
- StubHelpers.cs
- BitArray.cs
- AnnotationHighlightLayer.cs
- PrivateFontCollection.cs
- RequestUriProcessor.cs
- UInt64Converter.cs
- UnsafeNativeMethods.cs
- MatrixKeyFrameCollection.cs
- SourceFileInfo.cs
- EncodingDataItem.cs
- PointF.cs
- DES.cs
- AssemblyLoader.cs
- XmlSerializerFactory.cs
- Latin1Encoding.cs
- SimpleType.cs
- StrongNameHelpers.cs
- _ListenerAsyncResult.cs
- TextLineResult.cs
- IpcClientChannel.cs
- Barrier.cs
- ListenerElementsCollection.cs
- RegexWriter.cs
- TableLayoutSettings.cs
- TextBoxAutoCompleteSourceConverter.cs
- MenuItem.cs
- AnnotationComponentChooser.cs
- ADConnectionHelper.cs
- ColorConvertedBitmapExtension.cs
- ExtentCqlBlock.cs
- SettingsBindableAttribute.cs
- SqlUserDefinedAggregateAttribute.cs
- Action.cs
- ConfigurationLocationCollection.cs
- ConnectionManagementSection.cs
- GridViewCommandEventArgs.cs
- EventManager.cs
- VectorCollectionConverter.cs
- DataRelationCollection.cs
- WindowsListView.cs
- BaseDataList.cs
- DocumentViewerAutomationPeer.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- ItemAutomationPeer.cs
- TimeSpanFormat.cs
- ObjectDataSourceEventArgs.cs
- X509RecipientCertificateClientElement.cs
- AxWrapperGen.cs
- ErrorRuntimeConfig.cs
- Literal.cs
- UnsafePeerToPeerMethods.cs
- LogLogRecordHeader.cs
- ServiceReference.cs
- CacheAxisQuery.cs
- SortAction.cs
- SimpleHandlerFactory.cs
- SQLInt64.cs
- SiteMapDesignerDataSourceView.cs
- ClientApiGenerator.cs
- DecimalStorage.cs
- GeometryGroup.cs
- GlobalizationSection.cs
- XmlUTF8TextWriter.cs
- HybridDictionary.cs
- XPathItem.cs
- FormattedText.cs
- GridToolTip.cs
- objectquery_tresulttype.cs
- BamlTreeNode.cs
- TriState.cs
- Splitter.cs
- HtmlTableRow.cs
- ProjectionPruner.cs
- WinInet.cs
- HostedController.cs
- WebHttpBindingElement.cs
- RepeaterCommandEventArgs.cs
- HelpEvent.cs
- BackgroundWorker.cs
- TextRenderingModeValidation.cs