Home > Software engineering >  How to draw the stock points to transparent gradient graph
How to draw the stock points to transparent gradient graph

Time:09-27

Consult how to draw the stock to transparent gradient time-sharing charts, general interface is the linear graph of domestic market, but I want to draw the line to coordinate low is the difference between the gradient color, and transparency, there is no clear train of thought, consult!!!!! Thank you. (PS: bad wear pictures, only name describes)

CodePudding user response:

A sentence or two, but you need to is WS_EX_LAYERED style of window

CodePudding user response:

[code=cGradientFill
The GradientFill function fills a rectangle and triangle structures.

BOOL GradientFill (
HDC HDC,//handle to the DC
PTRIVERTEX pVertex,//an array of are
ULONG dwNumVertex,//number of are
PVOID pMesh,//an array of gradients
ULONG dwNumMesh,//the size of gradient array
ULONG dwMode//gradient fill mode
);
] [/code]
  • Related