drawellipse Questions
1
Solved
Code for the beginning:
QColor yellow("#f0d048");
Qt::BrushStyle style = Qt::SolidPattern;
QBrush brush(yellow, style);
painter.setBrush(brush);
painter.drawEllipse(10,10,10,10);
Everytime I do ...
Skepticism asked 30/6, 2015 at 15:20
4
On an image frame, I use
void ellipse(Mat& img, Point center, Size axes, double angle, double startAngle, double endAngle, const Scalar& color, int thickness=1, int lineType=8, int shift=...
Durston asked 10/4, 2013 at 4:8
1
Solved
How do you draw a transparent ellipse with GDI? I tried SetBkMode() but I still get a white ellipse bk.
case WM_PAINT:
{
hdc = BeginPaint(hwnd, &ps);
SetBkMode(hdc, TRANSPARENT); // doesnt w...
Stipendiary asked 22/5, 2011 at 4:24
1
© 2022 - 2024 — McMap. All rights reserved.