Kaydet (Commit) 9fe24ebe authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

vcl mac SDK issue with API manipulating Rect

Change-Id: Icad89fe16e428a5e4d87ab4b19131bdd804528b7
üst 3858f7ef
......@@ -543,7 +543,7 @@ void CTLayout::drawCTLine(AquaSalGraphics& rAquaGraphics, CTLineRef ctline, cons
CTRunGetPositions(run, glyphRange, &position);
CTRunGetAdvances(run, glyphRange, &advance);
CGRect bulletRect = NSMakeRect(aTextPos.x + position.x + advance.width / 4,
CGRect bulletRect = CGRectMake(aTextPos.x + position.x + advance.width / 4,
aTextPos.y + position.y + ascent / 3 - baseSize / 5, baseSize / 5, baseSize / 5 );
CGContextSaveGState(context);
RGBAColor bulletColor(MAKE_SALCOLOR(0x26, 0x8b, 0xd2 )); // NON_PRINTING_CHARACTER_COLOR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment