src/ui/lib/escher/paper/paper_renderer.cc
void PaperRenderer::DrawRect(float width, float height, const PaperMaterialPtr& material,
                             PaperDrawableFlags flags) {
  const vec2 extent(width, height);
  DrawRect(-0.5f * extent, 0.5f * extent, material, flags);
}
// Convenience wrapper around the standard DrawRect function.
Convenience wrapper around the standard DrawRect function.
Convenience wrapper around the standard DrawRect function .
void PaperRenderer::DrawRect(float width, float height, const PaperMaterialPtr& material,
                             PaperDrawableFlags flags) {
  const vec2 extent(width, height);
  DrawRect(-0.5f * extent, 0.5f * extent, material, flags);
}
void PaperRenderer :: DrawRect ( float width , float height , const PaperMaterialPtr & material , PaperDrawableFlags flags ) { const vec2 extent ( width , height ) ; DrawRect ( -0.5f * extent , 0.5f * extent , material , flags ) ; }
Convenience wrapper around the standard DrawRect function.
Convenience wrapper around the standard DrawRect function .