Add image reflection support to point-type Shape rendering

Description

In addition to the Rotation of point symbols, add support for Reflection, flipping symbols left-to-right or top-to-bottom.

Activity

Show:
Jerry Faust
October 28, 2017, 8:09 PM
Edited

PointReflection is a property, similar to PointRotation that is applied to the Default or Categorical Drawing Options at the time of rendering. As an example, a moving vehicle image can have two categories, one for Eastward movement (as in the left-hand image below) and one for Westward movement (as in the right-hand image below). Assuming that the standard vehicle symbol is stored facing to the right, then for the Eastward category, you would apply a PointReflection = prtNone; whereas for the Westward category, you would apply a PointReflection = prtLeftToRight. In this way, you do not have to maintain separate symbols for each direction.

Note that PointReflection applies to Point shapes having DrawingOptions.PointType = tkPointSymbolType.ptSymbolPicture OR tkPointSymbolType.ptSymbolFontCharacter.

Jerry Faust
October 19, 2017, 4:57 AM

A new property has been added to the ShapeDrawingOptions, called PointReflection. The valid options are provided by a new enumeration, tkPointReflectionType, with options prtNone, ptrLeftToRight, and prtTopToBottom. The default value is prtNone.

This new property affects tkPointSymbolType.ptSymbolFontCharacter and tkPointSymbolType.ptSymbolPicture,

Done

Assignee

Jerry Faust

Reporter

Jerry Faust

Labels

None

Epic Link

None

Affects versions

None

Fix versions

Priority

Medium