Example #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); }
Example #2
0
 String ToCanvasString(const Document& d, int wy) { return (d.GetMaxLineNumber() < wy) ? String() : ToCanvasString(*d.GetLine(wy)); }
Example #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; };