diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2013-10-09 20:02:19 +0200 |
---|---|---|
committer | Thorsten Behrens <thb@documentfoundation.org> | 2013-10-09 20:09:20 +0200 |
commit | 528391f3c98e3ea809134ba2b9c60bb62e929c47 (patch) | |
tree | 27d137943c3e74f3fc1823d5cb5ce4f0a23ea4db /include/vcl/canvastools.hxx | |
parent | 7727b9e88d0498dfb800354debaf889c8cf63bd7 (diff) |
Resuscitate old vcl unit tests.
Needs a deleted canvastools method, move code into more idiomatic
vcl/qa place, adapt to new unit test framework.
Change-Id: Iddb9c2249673b4d580e46a1d72029be0a8c4d9ba
Diffstat (limited to 'include/vcl/canvastools.hxx')
-rw-r--r-- | include/vcl/canvastools.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vcl/canvastools.hxx b/include/vcl/canvastools.hxx index d4c2246e2544..1ccc9e5c2ef1 100644 --- a/include/vcl/canvastools.hxx +++ b/include/vcl/canvastools.hxx @@ -90,6 +90,14 @@ namespace vcl // Color conversions (vcl/tools Color <-> canvas standard color space) // =================================================================== + /** Create a device-specific color sequence from VCL/Tools color + + Note that this method assumes a color space equivalent to + the one returned from createStandardColorSpace() + */ + ::com::sun::star::uno::Sequence< double > + VCL_DLLPUBLIC colorToStdColorSpaceSequence( const Color& rColor ); + /** Convert color to device color sequence @param rColor |