NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
IGL2DTextsCollEntry Class Referenceabstract

Single text collection entry (single text) More...

#include <gl2d_texts_coll_interface.h>

Inherits ISDKProperties.

Public Member Functions

virtual void SDK_CALLTYPE Dump () const =0 throw ()
 Dumps given object.
 
virtual IGL2DCanvasSP SDK_CALLTYPE GetCanvas () const =0 throw ()
 Returns parent canvas object.
 
virtual GL2DTextsCollEntryID SDK_CALLTYPE GetID () const =0 throw ()
 Returns texts collection entry ID.
 
virtual GL2DTextType SDK_CALLTYPE GetType () const =0 throw ()
 Returns text type.
 
virtual IGL2DFontSP SDK_CALLTYPE GetFont () const =0 throw ()
 Returns appropriate Font object.
 
GL2DFontID SDK_CALLTYPE GetFontID () const
 Returns appropriate Font ID.
 
virtual SDKResult SDK_CALLTYPE GetTextString (SDKString &text_string) const =0 throw ()
 Returns text string.
 
virtual float SDK_CALLTYPE GetFontSize () const =0 throw ()
 Returns font size.
 
virtual GL2DTextReadingDirection SDK_CALLTYPE GetReadingDirection () const =0 throw ()
 Returns reading direction.
 
virtual GL2DTextPivotPoint SDK_CALLTYPE GetPivotPoint () const =0 throw ()
 Returns pivot point type.
 
virtual SDKPointF2D SDK_CALLTYPE GetPivotPointOffset () const =0 throw ()
 Returns pivot point offset.
 
virtual SDKUInt32 SDK_CALLTYPE GetTextCenterLine () const =0 throw ()
 Returns text center line position in texture (starting from 0 - bottom of texture)
 
virtual SDKSize SDK_CALLTYPE GetTextSize () const =0 throw ()
 Returns text (texture) size.
 
virtual SDKResult SDK_CALLTYPE SetDefaultPositionTransform (const SDKMatrix3X2 &def_pos_transform)=0 throw ()
 Sets default position transformation matrix Given matrix will be set for all of new text positions.
 
virtual SDKMatrix3X2 SDK_CALLTYPE GetDefaultPositionTransform () const =0 throw ()
 Returns current default text position transformation matrix.
 
virtual SDKResult SDK_CALLTYPE SetDefaultTextColor (const SDKColorF &def_text_color)=0 throw ()
 Sets default text color Given color will be set for all of new text positions.
 
virtual SDKColorF SDK_CALLTYPE GetDefaultTextColor () const =0 throw ()
 Returns current default text color.
 
virtual SDKResult SDK_CALLTYPE SetDefaultTextBorderColor (const SDKColorF &def_text_border_color)=0 throw ()
 Sets default text border color (only for bordered texts) Given color will be set for all of new text positions.
 
virtual SDKColorF SDK_CALLTYPE GetDefaultTextBorderColor () const =0 throw ()
 Returns current default text border color.
 
virtual SDKResult SDK_CALLTYPE TogglePositions (const bool &visible)=0 throw ()
 Toggles on/off all of text positions in given text entry IGL2DTextsColl::StartEdit method should be called before calling this one.
 
virtual SDKResult SDK_CALLTYPE ApplyPositionTransform (const SDKMatrix3X2 &pos_transform)=0 throw ()
 Applies given text position transformation matrix to all of text positions in given text entry IGL2DTextsColl::StartEdit method should be called before calling this one.
 
virtual SDKResult SDK_CALLTYPE ApplyTextColor (const SDKColorF &text_color)=0 throw ()
 Applies given text color to all of text positions in given text entry IGL2DTextsColl::StartEdit method should be called before calling this one.
 
virtual SDKResult SDK_CALLTYPE ApplyTextBorderColor (const SDKColorF &text_border_color)=0 throw ()
 Applies given text border color to all of text positions in given text entry IGL2DTextsColl::StartEdit method should be called before calling this one.
 
virtual IGL2DTextsCollEntryPosSP SDK_CALLTYPE AddPosition (const SDKPointF2D &position)=0 throw ()
 Adds new position for given text entry position - Text position, position of appropriate text center line point IGL2DTextsColl::StartEdit method should be called before calling this one.
 
virtual SDKResult SDK_CALLTYPE RemovePosition (const SDKUInt32 &index)=0 throw ()
 Removes text position from text by it's index IGL2DTextsColl::StartEdit method should be called before calling this one.
 
virtual SDKUInt32 SDK_CALLTYPE GetPositionsCount () const =0 throw ()
 Returns total number of text positions in text entry.
 
virtual IGL2DTextsCollEntryPosSP SDK_CALLTYPE GetPositionByIndex (const SDKUInt32 &index) const =0 throw ()
 Returns text position by it's index.
 

Detailed Description

Single text collection entry (single text)


The documentation for this class was generated from the following file: