diff options
Diffstat (limited to 'src/gui_dwrite.h')
-rw-r--r-- | src/gui_dwrite.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gui_dwrite.h b/src/gui_dwrite.h index 8ab2864d8..9c98c4ce0 100644 --- a/src/gui_dwrite.h +++ b/src/gui_dwrite.h @@ -55,11 +55,11 @@ void DWrite_Init(void); void DWrite_Final(void); DWriteContext *DWriteContext_Open(void); -void DWriteContext_BindDC(DWriteContext *ctx, HDC hdc, RECT *rect); +void DWriteContext_BindDC(DWriteContext *ctx, HDC hdc, const RECT *rect); void DWriteContext_SetFont(DWriteContext *ctx, HFONT hFont); void DWriteContext_DrawText( DWriteContext *ctx, - const WCHAR* text, + const WCHAR *text, int len, int x, int y, @@ -68,9 +68,12 @@ void DWriteContext_DrawText( int cellWidth, COLORREF color, UINT fuOptions, - CONST RECT *lprc, - CONST INT * lpDx); -void DWriteContext_FillRect(DWriteContext *ctx, RECT *rc, COLORREF color); + const RECT *lprc, + const INT *lpDx); +void DWriteContext_FillRect(DWriteContext *ctx, const RECT *rc, COLORREF color); +void DWriteContext_DrawLine(DWriteContext *ctx, int x1, int y1, int x2, int y2, + COLORREF color); +void DWriteContext_SetPixel(DWriteContext *ctx, int x, int y, COLORREF color); void DWriteContext_Flush(DWriteContext *ctx); void DWriteContext_Close(DWriteContext *ctx); |