Trait ux::OffscreenEffectExt[][src]

pub trait OffscreenEffectExt: 'static {
    pub fn get_target_rect(&self) -> Option<InternalRect>;
pub fn paint_target(&self); }

Required methods

pub fn get_target_rect(&self) -> Option<InternalRect>[src]

Retrieves the origin and size of the offscreen buffer used by self to paint the actor to which it has been applied.

This function should only be called by OffscreenEffect implementations, from within the OffscreenEffectClass.paint_target() virtual function.

rect

return location for the target area

Returns

true if the offscreen buffer has a valid rectangle, and false otherwise

pub fn paint_target(&self)[src]

Calls the paint_target virtual function of the self

Loading content...

Implementors

impl<O> OffscreenEffectExt for O where
    O: IsA<OffscreenEffect>, 
[src]

Loading content...