Lines Matching refs:ctx
1256 DWriteContext_BindDC(DWriteContext *ctx, HDC hdc, const RECT *rect) in DWriteContext_BindDC() argument
1258 if (ctx != NULL) in DWriteContext_BindDC()
1259 ctx->BindDC(hdc, rect); in DWriteContext_BindDC()
1263 DWriteContext_SetFont(DWriteContext *ctx, HFONT hFont) in DWriteContext_SetFont() argument
1265 if (ctx != NULL) in DWriteContext_SetFont()
1266 ctx->SetFont(hFont); in DWriteContext_SetFont()
1271 DWriteContext *ctx, in DWriteContext_DrawText() argument
1284 if (ctx != NULL) in DWriteContext_DrawText()
1285 ctx->DrawText(text, len, x, y, w, h, cellWidth, color, in DWriteContext_DrawText()
1290 DWriteContext_FillRect(DWriteContext *ctx, const RECT *rc, COLORREF color) in DWriteContext_FillRect() argument
1292 if (ctx != NULL) in DWriteContext_FillRect()
1293 ctx->FillRect(rc, color); in DWriteContext_FillRect()
1297 DWriteContext_DrawLine(DWriteContext *ctx, int x1, int y1, int x2, int y2, in DWriteContext_DrawLine() argument
1300 if (ctx != NULL) in DWriteContext_DrawLine()
1301 ctx->DrawLine(x1, y1, x2, y2, color); in DWriteContext_DrawLine()
1305 DWriteContext_SetPixel(DWriteContext *ctx, int x, int y, COLORREF color) in DWriteContext_SetPixel() argument
1307 if (ctx != NULL) in DWriteContext_SetPixel()
1308 ctx->SetPixel(x, y, color); in DWriteContext_SetPixel()
1312 DWriteContext_Scroll(DWriteContext *ctx, int x, int y, const RECT *rc) in DWriteContext_Scroll() argument
1314 if (ctx != NULL) in DWriteContext_Scroll()
1315 ctx->Scroll(x, y, rc); in DWriteContext_Scroll()
1319 DWriteContext_Flush(DWriteContext *ctx) in DWriteContext_Flush() argument
1321 if (ctx != NULL) in DWriteContext_Flush()
1322 ctx->Flush(); in DWriteContext_Flush()
1326 DWriteContext_Close(DWriteContext *ctx) in DWriteContext_Close() argument
1328 delete ctx; in DWriteContext_Close()
1333 DWriteContext *ctx, in DWriteContext_SetRenderingParams() argument
1336 if (ctx != NULL) in DWriteContext_SetRenderingParams()
1337 ctx->SetRenderingParams(params); in DWriteContext_SetRenderingParams()
1342 DWriteContext *ctx, in DWriteContext_GetRenderingParams() argument
1345 if (ctx != NULL) in DWriteContext_GetRenderingParams()
1346 return ctx->GetRenderingParams(params); in DWriteContext_GetRenderingParams()