Opened 14 years ago

Closed 14 years ago

#1394 closed enhancement (fixed)

Add expression string to SE_RenderText

Reported by: sinkler Owned by: brucedechant
Priority: low Milestone: 2.3
Component: Rendering Service Version: 2.1.0
Severity: minor Keywords:
Cc: External ID:

Description

Provide the expression from which a piece of symbolic text is derived to the renderer. This is useful to several autodesk products by allowing tighter editing integration with the display of feature data. One example is click-to-edit funtionality on feature labels.

The stylizer component has this information readily available, and it is relatively simple to pass this information on to the SE_Renderer and derived classes.

Attachments (1)

Ticket1394.patch (1.4 KB ) - added by sinkler 14 years ago.

Download all attachments as: .zip

Change History (5)

by sinkler, 14 years ago

Attachment: Ticket1394.patch added

comment:1 by tomfukushima, 14 years ago

Checking performance impact: Is this code that we are adding the changes to executed once per feature drawn, or once per symbol definition used by the layer?

in reply to:  1 ; comment:2 by sinkler, 14 years ago

Replying to tomfukushima:

Checking performance impact: Is this code that we are adding the changes to executed once per feature drawn, or once per symbol definition used by the layer?

The code may be executed more than once per feature if the symbolization contains more than one text primitive. I'll point out that the additional string copy is probably less expensive than the expression evaluation which is happening with the same frequency.

in reply to:  2 comment:3 by tomfukushima, 14 years ago

Milestone: 2.3
Owner: set to brucedechant

comment:4 by tomfukushima, 14 years ago

Resolution: fixed
Status: newclosed

Trunk: r5020

Note: See TracTickets for help on using tickets.