diff options
author | Thorsten Behrens <thb@openoffice.org> | 2006-06-02 12:57:26 +0000 |
---|---|---|
committer | Thorsten Behrens <thb@openoffice.org> | 2006-06-02 12:57:26 +0000 |
commit | db83a2292b3e75df100bf377c5202b11f423c9d7 (patch) | |
tree | f6d178f005e5071029fcc097247d85020a5e7df2 /basebmp/test/tools.hxx | |
parent | 1ee80e3be2f120116180be826d0fc203c54be8f3 (diff) |
#i65904# Completed mask support; fixed color difference bug; added more tests
Diffstat (limited to 'basebmp/test/tools.hxx')
-rw-r--r-- | basebmp/test/tools.hxx | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/basebmp/test/tools.hxx b/basebmp/test/tools.hxx new file mode 100644 index 000000000000..2b93852d0002 --- /dev/null +++ b/basebmp/test/tools.hxx @@ -0,0 +1,39 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: tools.hxx,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: thb $ $Date: 2006-06-02 13:57:26 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +#include "basebmp/bitmapdevice.hxx" + +int countPixel( const basebmp::BitmapDeviceSharedPtr& rDevice, + basebmp::Color checkColor ); |