More TODOs.
This commit is contained in:
parent
f0d6f84083
commit
232839020f
|
@ -197,6 +197,7 @@ void uiDrawStroke(uiDrawContext *c, uiDrawPath *path, uiDrawBrush *b, uiDrawStro
|
||||||
// for a solid fill, we can merely have Core Graphics fill directly
|
// for a solid fill, we can merely have Core Graphics fill directly
|
||||||
static void fillSolid(CGContextRef ctxt, uiDrawPath *p, uiDrawBrush *b)
|
static void fillSolid(CGContextRef ctxt, uiDrawPath *p, uiDrawBrush *b)
|
||||||
{
|
{
|
||||||
|
// TODO this uses DeviceRGB; switch to sRGB?
|
||||||
CGContextSetRGBFillColor(ctxt, b->R, b->G, b->B, b->A);
|
CGContextSetRGBFillColor(ctxt, b->R, b->G, b->B, b->A);
|
||||||
switch (p->fillMode) {
|
switch (p->fillMode) {
|
||||||
case uiDrawFillModeWinding:
|
case uiDrawFillModeWinding:
|
||||||
|
|
Loading…
Reference in New Issue