diff options
author | Frank Schönheit <fs@openoffice.org> | 2009-09-17 21:26:57 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2009-09-17 21:26:57 +0000 |
commit | f3456e8a2e2f300dab24871c4323461cb90b40e1 (patch) | |
tree | 0b71a90444d31c166ef69f33b8ff5704516ca5f1 /vcl/workben | |
parent | 8e2308c3ff142e3b7232908bacdcdb85ac1f9683 (diff) |
#b6875455#
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