Inheritance diagram for IText:
Public Methods | |
virtual void | getName (oaString &name)=0 |
virtual void | getBBox (const oaText *text, oaBox &bBox)=0 |
virtual void | getBBox (const oaTextDisplay *textDisplay, oaBox &bBox)=0 |
virtual void | init (ITextInvalidate *textInvalidate)=0 |
void | disableRefCounting (bool val) |
Static Public Methods | |
const Guid & | getId () |
An IText implementation can be provided in memory or through a plug-in component. Applications can initialize their bBox component with OpenAccess. For more information, refer to How to Write a Plug-in to Calculate Bounding Boxes for Text in the Programmers Guide.
|
|
|
This function calculates the bBox for the specified textDisplay object and places the result in bBox.
|
|
This function calculates the bBox for the specified text object and places the result in bBox.
|
|
This function returns the ID of this interface.
|
|
This function returns the name of this plug-in.
|
|
OpenAccess calls this function on the plug-in to provide the plug-in with a handle to the ITextInvalidate object. The plug-in should provide a way to pass this ITextInvalidate object to the application, which can then call the appropriate ITextInvalidate::invalidate function when it needs to invalidate a text bBox. Either the plug-in or the application should retain the textInvalidate pointer.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.