Home | History | Annotate | Download | only in rendering

Lines Matching defs:affinity

488     // the affinity must be downstream so the position doesn't jump back to the previous line
510 // generate VisiblePosition, use UPSTREAM affinity if possible
520 EAffinity affinity = VP_DEFAULT_AFFINITY;
523 affinity = DOWNSTREAM;
526 affinity = VP_UPSTREAM_IF_POSSIBLE;
529 affinity = offset > box->caretMinOffset() ? VP_UPSTREAM_IF_POSSIBLE : DOWNSTREAM;
532 return box->renderer()->createPositionWithAffinity(offset, affinity);