Add 'rightleft' support to ATSUI renderer

This commit is contained in:
Bjorn Winckler
2008-06-07 15:36:07 +02:00
parent 0ea7546c7c
commit 89d9e60b8a
+4
View File
@@ -1121,6 +1121,10 @@ enum {
} else if (MMInsertionPointVertical == shape) {
int frac = (cellSize.width * percent + 99)/100;
rect.size.width = frac;
} else if (MMInsertionPointVerticalRight == shape) {
int frac = (cellSize.width * percent + 99)/100;
rect.origin.x += rect.size.width - frac;
rect.size.width = frac;
}
[color set];