//
//  GSBackgroundLayer.h
//  GlyphsCore
//
//  Created by Georg Seifert on 01.10.09.
//  Copyright 2009 schriftgestaltung.de. All rights reserved.
//

#ifndef GLYPHS_VIEWER
#import <GlyphsCore/GSLayer.h>

/// Editable background content associated with a foreground layer.
///
/// A background layer uses the identity, dimensions, update state, and undo handling of its foreground layer.
@interface GSBackgroundLayer : GSLayer

/// The layer whose background content this layer represents.
///
/// The foreground layer owns its background layer.
/// Do not retain a background layer beyond the lifetime of its foreground layer.
@property (unsafe_unretained, nonatomic) GSLayer *foreground;
@end
#endif
