Rename GraphicElement -> Graphic and trait GraphicElementRendered -> Render (#2987)

This commit is contained in:
Keavon Chambers 2025-08-03 16:15:02 -07:00 committed by GitHub
parent 9a4a7dee80
commit 5637f01845
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 243 additions and 245 deletions

View file

@ -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(),