Project

General

Profile

Actions

Bug #3581

closed

WGradient applied to WPen

Added by Cameron Angus over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
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.

Actions #1

Updated by Koen Deforche about 10 years ago

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

Korneel, can you look at this?

Actions #2

Updated by Korneel Dumon about 10 years ago

  • Status changed from InProgress to Resolved
Actions #3

Updated by Koen Deforche about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF