a3a5859466
1. Modified Text Symbolizer a) corrected line fragment centering (for 2nd and subsequent lines, when line breaks occur). b) adjusted vertical alignment calculation so that: i) middle -> has the center of the text line(s) at the point origin ii) bottom -> has the text line(s) below the point origin iii) top -> has the text line(s) above the point origin c) added new text_symbolizer attribute: 'wrap_before', value range: true/false, default == false allows line breaks at first wrap_char before wrap_width as an alternative to the original which was to create the line break at the first wrap_char after wrap_width d) added new text_symbolizer attribute: 'horizontal_alignment', value range: left/middle/right, default == middle i) left -> has all text line(s) to left of the point origin ii) middle -> has all text line(s) centered on the the point origin iii) right -> has all text line(s) to the right of the point origin NOTE: dx, dy position adjustments are applied after alignments and before Justify. e) added new text_symbolizer attribute: 'justify_alignment', value range: left/middle/right, default == middle i) left -> after alignments, has all text line(s) are left justified (left to right reading) ii) middle -> after alignments, has all text line(s) center justified iii) right -> after alignments, has all text line(s) right justified (right to left reading) f) added new text_symbolizer attribute: 'opacity', value range: 0.0 thru 1.0; 1.0 == fully opaque g) modified positioning to compensate for both line_spacing and character_spacing, to ensure proper centering of the text envelope. Also ensure that centering occurs correctly even if no wrapping occurs. Line spacing is uniform and consistent and compensates for errors between text_size and the actual size (ci.height is inconsistent, depending on case and character); fixes issue with multi-line text where some lines have a slight gap and others are compressed together. 2. Modified shield_symbolizer a) added the attributes: i) allow_overlap ii) vertical_alignment iii) horizontal_alignment iv) justify_alignment v) wrap_width vi) wrap_character vii) wrap_before viii) text_convert ix) line_spacing x) character_spacing xi) opacity b) added new shield_symbolizer attribute: 'unlock_image', value range: true/false, default == false i) false == image and text placement behaviour same as before ii) true == image placement independant of text, image is always centered at geometry point, text placed per attributes, dx/dy only affect text. Allows user to create point markers with text, but both the text and image rendering collision detection are done as a pair (they come and go together - solves problem if using point_symbolizer and text_symbolizers where one or the other are omitted due to overlaps, but not both) c) extended choices for the attribute 'placement' to include vertex; effect is limited to the shield_symbolizer Allows an attempted placement at every vertex available, gives additional shield placement volume when using line geometry d) ensured that the text placement was not updating the detector unless a shield image was actually placed. e) added new shield_symbolizer attribute: 'no_text', value range: true/false, default = false When set true, the text for the feature is ignored ('space' subsituted) so that pure graphic symbols can be used and no text is rendered over top of them. |
||
---|---|---|
.. | ||
agg_renderer.hpp | ||
arrow.hpp | ||
attribute.hpp | ||
attribute_collector.hpp | ||
attribute_descriptor.hpp | ||
boolean_filter.hpp | ||
cairo_renderer.hpp | ||
color.hpp | ||
color_factory.hpp | ||
comparison.hpp | ||
config.hpp | ||
config_error.hpp | ||
coord.hpp | ||
coord_array.hpp | ||
css_color_parser.hpp | ||
ctrans.hpp | ||
datasource.hpp | ||
datasource_cache.hpp | ||
distance.hpp | ||
ellipsoid.hpp | ||
enumeration.hpp | ||
envelope.hpp | ||
expression.hpp | ||
factory.hpp | ||
feature.hpp | ||
feature_factory.hpp | ||
feature_layer_desc.hpp | ||
feature_style_processor.hpp | ||
feature_type_style.hpp | ||
fill.hpp | ||
filter.hpp | ||
filter_expression.hpp | ||
filter_factory.hpp | ||
filter_featureset.hpp | ||
filter_parser.hpp | ||
filter_visitor.hpp | ||
font_engine_freetype.hpp | ||
font_set.hpp | ||
gamma.hpp | ||
geom_util.hpp | ||
geometry.hpp | ||
global.hpp | ||
graphics.hpp | ||
hit_test_filter.hpp | ||
image_data.hpp | ||
image_reader.hpp | ||
image_util.hpp | ||
image_view.hpp | ||
jpeg_io.hpp | ||
label_collision_detector.hpp | ||
label_placement.hpp | ||
layer.hpp | ||
libxml2_loader.hpp | ||
line_pattern_symbolizer.hpp | ||
line_symbolizer.hpp | ||
load_map.hpp | ||
local_datasource.hpp | ||
logical.hpp | ||
Makefile.am | ||
map.hpp | ||
markers_converter.hpp | ||
markers_symbolizer.hpp | ||
math_expr.hpp | ||
memory.hpp | ||
memory_datasource.hpp | ||
memory_featureset.hpp | ||
octree.hpp | ||
params.hpp | ||
placement_finder.hpp | ||
plugin.hpp | ||
png_io.hpp | ||
point_symbolizer.hpp | ||
polygon_pattern_symbolizer.hpp | ||
polygon_symbolizer.hpp | ||
pool.hpp | ||
proj_transform.hpp | ||
projection.hpp | ||
ptree_helpers.hpp | ||
quad_tree.hpp | ||
query.hpp | ||
raster.hpp | ||
raster_symbolizer.hpp | ||
regex_filter.hpp | ||
rule.hpp | ||
save_map.hpp | ||
scale_denominator.hpp | ||
shield_symbolizer.hpp | ||
spatial.hpp | ||
stroke.hpp | ||
style.hpp | ||
style_factory.hpp | ||
symbolizer.hpp | ||
text_path.hpp | ||
text_symbolizer.hpp | ||
unicode.hpp | ||
utils.hpp | ||
value.hpp | ||
version.hpp | ||
vertex.hpp | ||
vertex_transform.hpp | ||
vertex_vector.hpp | ||
wkb.hpp |