Skip to content

Commit 2588192

Browse files
committed
femtovg: Add doc comment for origin field in TextureWithOrigin
1 parent dc871ea commit 2588192

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/renderers/femtovg/itemrenderer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub enum ItemGraphicsCacheEntry<R: femtovg::Renderer + TextureImporter> {
4040
Texture(Rc<Texture<R>>),
4141
TextureWithOrigin {
4242
texture: Rc<Texture<R>>,
43+
/// Designated point where to draw the texture, relative to the item this cache entry is associated with.
4344
origin: PhysicalPoint,
4445
},
4546
ColorizedImage {

0 commit comments

Comments
 (0)