Project

General

Profile

Actions

Feature #2847

closed

WImage Painting

Added by Anonymous about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Target version:
Start date:
03/24/2014
Due date:
% Done:

0%

Estimated time:

Description

i was taken wimage when i mouse click the that position i want to circle

how can i achive this problem

plz help and give me example

i am using paintedWidget it;s take resize(400,400),that only call an event paint method it's image painting problem

thanks

Actions #1

Updated by Wim Dumon about 10 years ago

  • Status changed from New to Resolved

In the mouse click handler, remember the position where you want to paint a circle in a variable, and call WPaintedWidget::update()

In the specialization of WPaintedWidget::paintEvent() method, draw the circle.

BR,

Wim.

Actions #2

Updated by Koen Deforche almost 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF