summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2009-09-17 21:26:57 +0000
committerFrank Schönheit <fs@openoffice.org>2009-09-17 21:26:57 +0000
commitf3456e8a2e2f300dab24871c4323461cb90b40e1 (patch)
tree0b71a90444d31c166ef69f33b8ff5704516ca5f1 /vcl/workben
parent8e2308c3ff142e3b7232908bacdcdb85ac1f9683 (diff)
refactor the Control's "draw with reference device" functionality In particular, use the existing DrawText/ImplGetTextLines methods, but provide them with an optional ITextLayout interface, which replaces the usage of GetTextWidth and DrawText( Point, ... ) This way, the ref-device-rendering benefits from the existing implementations in DrawText( Rectangle, ... ), in particular, it now respects all kind of TEXT_DRAW_ flags, i.e. alignment, word breaks, multi line text, disabled drawing, etc.
Diffstat (limited to 'vcl/workben')
0 files changed, 0 insertions, 0 deletions