mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-24 23:14:07 +00:00
Rename GraphicElement -> Graphic and trait GraphicElementRendered -> Render (#2987)
This commit is contained in:
parent
9a4a7dee80
commit
5637f01845
30 changed files with 243 additions and 245 deletions
|
@ -1,7 +1,7 @@
|
|||
use crate::raster_types::{CPU, GPU, Raster};
|
||||
use crate::table::Table;
|
||||
use crate::vector::VectorData;
|
||||
use crate::{Artboard, Color, GraphicElement};
|
||||
use crate::{Artboard, Color, Graphic};
|
||||
use glam::DVec2;
|
||||
|
||||
pub trait RenderComplexity {
|
||||
|
@ -22,7 +22,7 @@ impl RenderComplexity for Artboard {
|
|||
}
|
||||
}
|
||||
|
||||
impl RenderComplexity for GraphicElement {
|
||||
impl RenderComplexity for Graphic {
|
||||
fn render_complexity(&self) -> usize {
|
||||
match self {
|
||||
Self::GraphicGroup(table) => table.render_complexity(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue