Replace almost "render" to "paint" words in gfx crate.

This commit is contained in:
Tetsuharu OHZEKI 2014-12-08 14:31:57 +09:00
parent 4d562f893c
commit f04c64f500
9 changed files with 57 additions and 57 deletions

View file

@ -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
}