Searched refs:ColorToRef (Results 1 – 1 of 1) sorted by relevance
68 COLORREF ColorToRef(RgbaColor color) { in ColorToRef() function142 SetDCBrushColor(hdc_, ColorToRef(color)); in DrawRectangle()143 SetDCPenColor(hdc_, ColorToRef(color)); in DrawRectangle()174 SetDCPenColor(hdc_, ColorToRef(color)); in DrawLine()179 SetPixel(hdc_, vect.x(), vect.y(), ColorToRef(color)); in DrawDot()