[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] A bit more for RenderingMetrics
|
Hi Justin/Jesse and all those working on rendering these days.
Added "appearance" as a RenderingMetric - will replace canStyle as we
switch over to the "Style Blackboard".
/**
* Percentle score for rendering appearance, 100 would be perfect.
* <p>
* Some quick guidelines:
* <ul>
* <li>Don't exceed 30% when using a "defaults" not provided by
the user
* <li>Perfectionists: Use a 100% to force the system (like with a
Scalebar)
* <li>Generalists: limit yourself to 90% when everything (in say
a SLD) matches
* your abilities. (leave room for a perfectionist to step in)
* <li>Generalists: stay under 60% when you find content exists
you don't understand.
* Imagine <i>FastLineStringRenderer</i> that checks for
LineSymbolizers,
* a drop to below would be in order 60% if TextSymbolizers
that it cannot
* handle are around. (But don't give up, maybe nobody handles
TextSymbolizers yet).
* <li>0% indicates utter and complete incompetence, basically
canStyle()==false
* </ul>
* </p>
*
* @return score in percent for style black board conformance.
*/
public float appearance();
And an update method allowing each rendering run to report back its
results...
public void update( long wait, long duration, int amount );