History log of /haiku/src/tests/kits/interface/flatten_picture/PictureTestCases.cpp
Revision Date Author Comments
# b070314f 11-Sep-2018 JackBurton79 <stefano.ceccherini@gmail.com>

FlattenPictureTest: Fix DrawStringsWithOffset test
fixes #14481

Change-Id: I7aee0f9e1ed088d2b5253f22a55228b0fc8f16ec
Reviewed-on: https://review.haiku-os.org/546
Reviewed-by: Stefano Ceccherini <stefano.ceccherini@gmail.com>


# 59a26ab6 31-Aug-2018 JackBurton79 <stefano.ceccherini@gmail.com>

FlattenPictureTest: add tests for ClipToRect,ClipToInverseRect,ClipToShape,ClipToInverseShape

Change-Id: Ia68b6989c2973f37f0772621190ab8f57fbeb381


# 3211dccc 30-Aug-2018 JackBurton79 <stefano.ceccherini@gmail.com>

FlattenPictureTest: add test for #6761

Change-Id: I848ccec2ea102dc4fc5c0e4f718053ecad196f8d


# e5f9dfeb 18-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: Add FillTriangle() with gradients test


# 00c573d6 18-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: Add tests for FillRoundRect with gradients


# b8c65995 18-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: Add tests for FillRegion with gradients


# 7cf26360 18-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: Add failing test
InvertRect, when mixed with SetDrawingMode calls, fails to draw correctly
to a BPicture.


# abf565b1 17-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: add tests for Gradients.
None of the tests pass. BPicture currently doesn't have support for gradients.
Also add DrawString with offsets test.


# ff973abc 30-Jul-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Align the scaled picture at the top to the unscaled
one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37819 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8247141f 30-Jul-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Added testDrawScaledPicture which exposes a bug
drawing a scaled picture at an offset. The offset
needs to be scaled too, but isn't right now.
* Fixed testDrawLargeBitmap. The bounds were negative.
* Added testFontRotation. Works fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37818 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2fb98dcc 19-Jul-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test for BPicture 'SetFontFamilyAndStyle' which we don't handle yet

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31637 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed70c5f3 04-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

added test for push/pop state (very basic)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27317 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15cf50e0 04-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test (not that cool) for SetDrawingMode(). For some reasons it fails, although the images look the same to me.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27316 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5f380e34 06-Sep-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Fixed typo

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22193 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4f422578 06-Sep-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* More error checking.
* Added more bitmap test cases. Reveals a interface kit bug: the
1024x768 bitmap is not drawn at all!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22192 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4b05331d 17-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added more tests.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21994 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c9c4a80a 16-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added testSetOriginAndScale as a use case for a rendering bug.
It seems scaling ignores the origin.
The test does not fail, but the rendered image is wrong.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21978 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c43f0163 13-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added graphics state related tests.
BTW two tests reveal bugs in BeOS :-p


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21931 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5f5ba235 12-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Disabled CopyBits test. It does not work under R5 either, so I assume
this operation is not supported when recording to a BPicture.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21908 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 54730332 12-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added tests for basic drawing operations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21907 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 62c7fd0f 12-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* added new lines add end of file


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21899 a95241bf-73f2-0310-859d-f6bbb57e9c96


# acf1c6ad 12-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* test archiving / unarchiving
* compare recorded / restored picture to direct drawing into bitmap
* renamed Test Vertical Line -> Test Diagonal Line


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21898 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82afdb09 11-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added test application for testing flattening and unflattening of
BPictures.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21888 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e5f9dfebd72c747fd0096fe2499f346fa1ba85ac 18-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: Add FillTriangle() with gradients test


# 00c573d6434eea9b9e6f651a95ad8f2a753d8fd9 18-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: Add tests for FillRoundRect with gradients


# b8c65995cd9afdc5fbdf86f807a6180ea826e90a 18-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: Add tests for FillRegion with gradients


# 7cf26360d9c0757f8e1f163b8ca7d85834435794 18-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: Add failing test
InvertRect, when mixed with SetDrawingMode calls, fails to draw correctly
to a BPicture.


# abf565b12b875bb6a6f4b5792d0615bec262763b 17-Sep-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

FlattenPictureTest: add tests for Gradients.
None of the tests pass. BPicture currently doesn't have support for gradients.
Also add DrawString with offsets test.


# ff973abc4135ba5eacf708095e96e9a68f6742d5 30-Jul-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Align the scaled picture at the top to the unscaled
one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37819 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8247141f1401b51ac5117ecb0c9e35f6d0f62a1a 30-Jul-2010 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Added testDrawScaledPicture which exposes a bug
drawing a scaled picture at an offset. The offset
needs to be scaled too, but isn't right now.
* Fixed testDrawLargeBitmap. The bounds were negative.
* Added testFontRotation. Works fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37818 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2fb98dccf397b9bb1e1c779d109bec8b6e159990 19-Jul-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test for BPicture 'SetFontFamilyAndStyle' which we don't handle yet

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31637 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ed70c5f317d0336e2483ada5202cce6bc33fb691 04-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

added test for push/pop state (very basic)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27317 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15cf50e01033a42ff051e58337c7d6f4b702c2b4 04-Sep-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added a test (not that cool) for SetDrawingMode(). For some reasons it fails, although the images look the same to me.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27316 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5f380e3415ae1ad5f37d9e47068ae4f9d4b64ee0 06-Sep-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Fixed typo

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22193 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4f422578c007a54e131186edad31d1bfafa525b4 06-Sep-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* More error checking.
* Added more bitmap test cases. Reveals a interface kit bug: the
1024x768 bitmap is not drawn at all!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22192 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4b05331d1b76983a6fe5b3ed3151a70a28b395b9 17-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added more tests.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21994 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c9c4a80aaaf61999454484369eaff194119ae7ac 16-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added testSetOriginAndScale as a use case for a rendering bug.
It seems scaling ignores the origin.
The test does not fail, but the rendered image is wrong.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21978 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c43f01632ae04935ffdbd0573d92f7095ec01004 13-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added graphics state related tests.
BTW two tests reveal bugs in BeOS :-p


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21931 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5f5ba235cbb422efd23ede9799be557b8660aefc 12-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Disabled CopyBits test. It does not work under R5 either, so I assume
this operation is not supported when recording to a BPicture.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21908 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 54730332d20e5d1fba4027c9598b9449854048ed 12-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added tests for basic drawing operations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21907 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 62c7fd0f79ec51f0b2938bb0ad3f253fe522544d 12-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* added new lines add end of file


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21899 a95241bf-73f2-0310-859d-f6bbb57e9c96


# acf1c6ada3ddc03888be6545568f7511d63b6ce3 12-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* test archiving / unarchiving
* compare recorded / restored picture to direct drawing into bitmap
* renamed Test Vertical Line -> Test Diagonal Line


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21898 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82afdb09c8152910513c44ea2a0801060c31c662 11-Aug-2007 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

Added test application for testing flattening and unflattening of
BPictures.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21888 a95241bf-73f2-0310-859d-f6bbb57e9c96