ignore the pattern passed to the drawing functions, keep using the one from SetDrawData
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12087 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1158,7 +1158,9 @@ template<class VertexSource>
|
|||||||
void
|
void
|
||||||
Painter::_StrokePath(VertexSource& path, const pattern& p) const
|
Painter::_StrokePath(VertexSource& path, const pattern& p) const
|
||||||
{
|
{
|
||||||
fPatternHandler->SetPattern(p);
|
// We're now used by app_server and SetDrawData() was called prior to
|
||||||
|
// this and it means the pattern is already set
|
||||||
|
// fPatternHandler->SetPattern(p);
|
||||||
// _SetPattern(p);
|
// _SetPattern(p);
|
||||||
|
|
||||||
#if ALIASED_DRAWING
|
#if ALIASED_DRAWING
|
||||||
@@ -1183,7 +1185,9 @@ template<class VertexSource>
|
|||||||
void
|
void
|
||||||
Painter::_FillPath(VertexSource& path, const pattern& p) const
|
Painter::_FillPath(VertexSource& path, const pattern& p) const
|
||||||
{
|
{
|
||||||
fPatternHandler->SetPattern(p);
|
// We're now used by app_server and SetDrawData() was called prior to
|
||||||
|
// this and it means the pattern is already set
|
||||||
|
// fPatternHandler->SetPattern(p);
|
||||||
// _SetPattern(p);
|
// _SetPattern(p);
|
||||||
|
|
||||||
fRasterizer->add_path(path);
|
fRasterizer->add_path(path);
|
||||||
|
|||||||
Reference in New Issue
Block a user