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
- DataServiceResponse.cs
- SortQuery.cs
- InfoCardSymmetricAlgorithm.cs
- base64Transforms.cs
- CompositeDataBoundControl.cs
- KeyEvent.cs
- EntityKeyElement.cs
- X509CertificateCollection.cs
- ListBindingHelper.cs
- WebPartTracker.cs
- ThreadExceptionDialog.cs
- WindowCollection.cs
- HttpRequest.cs
- RegexMatchCollection.cs
- DetailsViewDeleteEventArgs.cs
- PartialCachingControl.cs
- Line.cs
- ActiveDocumentEvent.cs
- KnownTypeHelper.cs
- WebResourceUtil.cs
- StartUpEventArgs.cs
- SignedXml.cs
- JsonWriter.cs
- CursorConverter.cs
- OrCondition.cs
- XmlAttributeCollection.cs
- Array.cs
- ExpressionPrefixAttribute.cs
- SineEase.cs
- DesignerContextDescriptor.cs
- DataGridViewRowCancelEventArgs.cs
- RealProxy.cs
- TreeNodeBinding.cs
- CommentGlyph.cs
- InvokeHandlers.cs
- PathParser.cs
- ValueConversionAttribute.cs
- SafeLocalMemHandle.cs
- InboundActivityHelper.cs
- ProtocolsConfigurationHandler.cs
- SubMenuStyleCollection.cs
- ResXResourceSet.cs
- glyphs.cs
- GridViewRowEventArgs.cs
- PassportAuthenticationEventArgs.cs
- XmlNamespaceDeclarationsAttribute.cs
- ContainsSearchOperator.cs
- ParameterModifier.cs
- SqlXml.cs
- TreeViewCancelEvent.cs
- XPathNodeList.cs
- DynamicILGenerator.cs
- MissingFieldException.cs
- JsonFormatMapping.cs
- EdmType.cs
- ObjectQueryProvider.cs
- ButtonBaseAdapter.cs
- ToolZone.cs
- EntitySqlQueryCacheEntry.cs
- KeyPressEvent.cs
- BuildProvider.cs
- CodeAttributeArgument.cs
- EditorZoneDesigner.cs
- ListViewUpdateEventArgs.cs
- RepeaterCommandEventArgs.cs
- QilGeneratorEnv.cs
- CryptoHandle.cs
- DataSourceXmlSubItemAttribute.cs
- Validator.cs
- ActionFrame.cs
- UserPreferenceChangedEventArgs.cs
- QueuePathEditor.cs
- RefreshInfo.cs
- SafeNativeMethods.cs
- TaskResultSetter.cs
- Configuration.cs
- Literal.cs
- XomlCompilerHelpers.cs
- login.cs
- ConfigurationElementCollection.cs
- ShadowGlyph.cs
- SolidColorBrush.cs
- HtmlElementErrorEventArgs.cs
- Condition.cs
- ContainerParaClient.cs
- DataObject.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- XPathDescendantIterator.cs
- SQLCharsStorage.cs
- DoubleConverter.cs
- SerializationFieldInfo.cs
- PowerStatus.cs
- GridViewDeleteEventArgs.cs
- SystemWebCachingSectionGroup.cs
- Helpers.cs
- StorageSetMapping.cs
- FlowPosition.cs
- TimeIntervalCollection.cs
- PerformanceCounterPermissionEntry.cs
- OrderByLifter.cs