Stephan Aßmus
|
aaea96798d
|
the version for B_OP_COPY that ignores the pattern and uses the color from the AGG renderer directly, thus the renderer color needs to be set up correctly, which Painter does take care of
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 21:49:00 +00:00 |
|
Stephan Aßmus
|
884e8bc6b5
|
flag for using a solid version of a DrawingMode, currently only B_OP_COPY actually has an implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11112 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 21:45:59 +00:00 |
|
Stephan Aßmus
|
597841da50
|
trying to optimize for B_SOLID_XXXX, implemented separate _SetPattern function, which encourages usage of a special DrawinMode instance, but it is currently not used, because it didn't give much speedup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11111 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 21:44:38 +00:00 |
|
Stephan Aßmus
|
1dd7c68f7a
|
more refactoring and separating tests, currently it tests straight line performance
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11110 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 21:40:09 +00:00 |
|
Stephan Aßmus
|
41ce67c0f6
|
refactoring, but there's going to be even more of it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11104 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 13:14:54 +00:00 |
|
Stephan Aßmus
|
70443ebf5a
|
automatically uses alpha blending for B_RGBA32 bitmaps
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11103 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 13:13:28 +00:00 |
|
Stephan Aßmus
|
6f2b941acf
|
added some convenience functions, mainly used by the test app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11102 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 13:11:40 +00:00 |
|
Stephan Aßmus
|
4f6cd6ef55
|
some additional status information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11101 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 13:10:06 +00:00 |
|
Stephan Aßmus
|
d4734e04d1
|
support for switching the alpha drawing mode when the blending mode changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11100 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 13:07:21 +00:00 |
|
Stephan Aßmus
|
8eca754bfd
|
support for the rest of the drawing modes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11099 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 13:05:37 +00:00 |
|
Stephan Aßmus
|
3741b755dc
|
huge clean up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11098 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 13:02:27 +00:00 |
|
Stephan Aßmus
|
681c4b3ba5
|
rest of the drawing modes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11097 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-28 12:59:17 +00:00 |
|
Stephan Aßmus
|
08f1d3c965
|
refactoring and cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10921 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 23:26:13 +00:00 |
|
Stephan Aßmus
|
34651df507
|
extracted general blending function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10920 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 23:24:02 +00:00 |
|
Stephan Aßmus
|
fd78338f60
|
current state of test app, contains some cleanup too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10919 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 23:08:17 +00:00 |
|
Stephan Aßmus
|
f71ffba994
|
implemented more drawing modes, refactored a little, still work left to do...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10918 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 23:07:07 +00:00 |
|
Stephan Aßmus
|
95ff0e4fe8
|
Maybe I have actually nailed bitmap scaling, though I would think that the BView implementation doesn't exactly follow the Be Book. Could be I'm overlooking something. Anyways, Painter seems to behave like the original now. The previous revision had a compile error too for aliased drawing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10917 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 22:57:17 +00:00 |
|
Stephan Aßmus
|
30fd3eb18a
|
line profile is now cached by being a member of Painter, as was suggested by Maxim, it's too heavy an object for being created on the fly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10905 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 15:23:23 +00:00 |
|
Stephan Aßmus
|
db94952b4f
|
updated info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10904 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 14:54:42 +00:00 |
|
Stephan Aßmus
|
8cd6385cfe
|
adopted for different PatternHandler version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10903 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 14:27:08 +00:00 |
|
Stephan Aßmus
|
cb8e43abdf
|
now integrated with Haiku build system, so no more need for this
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10902 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 14:23:07 +00:00 |
|
Stephan Aßmus
|
2e4822e67d
|
new B_OP_ADD drawing mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10901 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 14:15:58 +00:00 |
|
Stephan Aßmus
|
9e89de2ca6
|
adopted to different PatternHandler version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10900 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 14:14:50 +00:00 |
|
Stephan Aßmus
|
1b837c4b6b
|
there can only be one
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10899 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 14:13:10 +00:00 |
|
Stephan Aßmus
|
7ca3c69091
|
added some convinience functions to handle rgb_color additionally to RGBColor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10898 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 14:10:11 +00:00 |
|
Stephan Aßmus
|
56b6de0768
|
it builds the Painter test app, feel free to review it for newbie mistakes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10897 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 14:08:02 +00:00 |
|
Stephan Aßmus
|
547fd34504
|
compile fix, changed member to be declared const
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10896 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 13:49:15 +00:00 |
|
Stephan Aßmus
|
838f42e799
|
Painter test code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10895 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 12:58:17 +00:00 |
|
Stephan Aßmus
|
ee5f6d23c2
|
adding the Painter test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10894 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 12:56:25 +00:00 |
|
Stephan Aßmus
|
0a86682dd0
|
this code is part of the Painter testing framework, and thus doesn't belong here
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10893 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 12:53:26 +00:00 |
|
Stephan Aßmus
|
18df650303
|
on the way of integrating Painter into build system, suppose this is where this file belongs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10892 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 12:45:26 +00:00 |
|
Stephan Aßmus
|
ba35b5d77d
|
this file has been moved to headers/private/servers/app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10891 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 12:44:07 +00:00 |
|
Stephan Aßmus
|
85ba22e47d
|
on the way of integrating Painter into build system, suppose this is where this file belongs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10890 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 12:38:41 +00:00 |
|
Stephan Aßmus
|
655b08cd2d
|
should now handle out of memory situations...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10889 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-20 12:01:56 +00:00 |
|
Stephan Aßmus
|
49f3d52204
|
forgot to remove code I used for testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10855 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-18 22:52:12 +00:00 |
|
Stephan Aßmus
|
c49a6908b6
|
fixed error reporting in --raw mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10854 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-18 22:37:07 +00:00 |
|
Stephan Aßmus
|
e83e0fa7e8
|
fixed raw streaming option to read and write larger chunks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10843 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-18 18:21:09 +00:00 |
|
Stephan Aßmus
|
7696124772
|
allocating buffers of size known at runtime is a GCC feature, now allocates on the heap, but it should be rewritten to write smaller chunks of the attribute at a time to support potentially huge ammounts of attribute data, but not tonight
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10823 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-18 03:29:13 +00:00 |
|
Stephan Aßmus
|
d4578d0fe1
|
now supports the --raw or -r option to stream the original raw attribute data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10822 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-18 03:15:42 +00:00 |
|
Stephan Aßmus
|
9f3445e1bf
|
added tests for using the pen location version of DrawString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10722 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-14 02:22:26 +00:00 |
|
Stephan Aßmus
|
6303609fca
|
added support for retrieving the position of the virtual next char, for some reason the kerning is handled correctly across multiple calls to RenderString, it must somehow make sense from looking at the code, but I don't follow it this late in the night...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10721 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-14 02:19:23 +00:00 |
|
Stephan Aßmus
|
8837f9f78d
|
DrawString now modifies the pen position
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10720 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-14 02:16:44 +00:00 |
|
Stephan Aßmus
|
36351e2d44
|
cosmetic changes, and removal of some unnecessary vector conversion pipelines in Stroke and FillRoundRect
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10604 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-07 02:43:24 +00:00 |
|
Stephan Aßmus
|
4569b90da0
|
Initial version of the Painter framework, which should be usable as a drawing backend.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10603 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2005-01-07 01:58:36 +00:00 |
|
Stephan Aßmus
|
0cd4ecd8b2
|
cosmetical improvements to status view, it also shows the image size now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2004-09-29 19:47:18 +00:00 |
|