示例#1
0
 inline int ToWorldX(const Document& d, int wy, int cx, int l = 1) {return (d.GetMaxLineNumber() < wy) ? 1 : ToWorldX(*d.GetLine(wy), cx, l); }
示例#2
0
 String ToCanvasString(const Document& d, int wy) { return (d.GetMaxLineNumber() < wy) ? String() : ToCanvasString(*d.GetLine(wy)); }
示例#3
0
 inline int ToCanvasX(const Document& d, int wy, int wx, int l = 1) { return (d.GetMaxLineNumber() >= wy) ? ToCanvasX(*d.GetLine(wy), wx, l) : 1; };