mirror of
https://github.com/textmate/textmate.git
synced 2026-01-22 21:27:56 -05:00
15 lines
282 B
C++
15 lines
282 B
C++
#include "render.h"
|
|
#include <oak/oak.h>
|
|
#include <cf/cf.h>
|
|
|
|
namespace render
|
|
{
|
|
void fill_rect (CGContextRef context, CGColorRef color, CGRect const& rect)
|
|
{
|
|
ASSERT(color);
|
|
CGContextSetFillColorWithColor(context, color);
|
|
CGContextFillRect(context, rect);
|
|
}
|
|
|
|
} /* render */
|