mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Replace almost "render" to "paint" words in gfx crate.
This commit is contained in:
parent
4d562f893c
commit
f04c64f500
9 changed files with 57 additions and 57 deletions
|
@ -657,7 +657,7 @@ impl<'a> PaintContext<'a> {
|
|||
};
|
||||
|
||||
self.font_ctx
|
||||
.get_render_font_from_template(&text.text_run.font_template,
|
||||
.get_paint_font_from_template(&text.text_run.font_template,
|
||||
text.text_run.actual_pt_size)
|
||||
.borrow()
|
||||
.draw_text_into_context(self,
|
||||
|
@ -717,7 +717,7 @@ impl<'a> PaintContext<'a> {
|
|||
temporary_draw_target: &DrawTarget,
|
||||
opacity: AzFloat) {
|
||||
if (*temporary_draw_target) == self.draw_target {
|
||||
// We're directly rendering to the surface; nothing to do.
|
||||
// We're directly painting to the surface; nothing to do.
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue