Project

General

Profile

Actions

Bug #3581

closed
CA KD

WGradient applied to WPen

Bug #3581: WGradient applied to WPen

Added by Cameron Angus about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Korneel Dumon
Target version:
-
Start date:
09/15/2014
Due date:
% Done:

0%

Estimated time:

Description

There is a recursive call in WCanvasPaintDevice.c (line# 790), renderStateChanges(), which is leading to infinite recursion when applying a gradient to the pen as follows:

WPen pen;
pen.setGradient(gradient);
painter.setPen(pen);
painter.drawLine(src_pnt, dst_pnt);

It appears to be a simple case of needing to set a flag to mark that the javascript gradient has already been defined.

KD Updated by Koen Deforche almost 12 years ago Actions #1

  • Status changed from New to InProgress
  • Assignee set to Korneel Dumon

Korneel, can you look at this?

KD Updated by Korneel Dumon almost 12 years ago Actions #2

  • Status changed from InProgress to Resolved

KD Updated by Koen Deforche almost 12 years ago Actions #3

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom