Skip to content
Snippets Groups Projects

Pippin/media framework

Merged pippin requested to merge pippin/media_framework into main
2 unresolved threads
1 file
+ 14
0
Compare changes
  • Side-by-side
  • Inline
@@ -75,6 +75,20 @@ class Context(Protocol):
should be balanced.
"""
pass
def gstate_protect(self) -> "Context":
"""
Marks the current depth of the graphics state as a floor, after this
call it is not possible to restore() beyond this level. The protection
is lifted with gstate_unprotect.
"""
pass
def gstate_unprotect(self) -> "Context":
"""
Removes gstate_unprotect, if insufficient restore() calls have been made
since gstate_protect, a warning is printed and implicit restore calls
made.
"""
pass
def start_group(self) -> "Context":
"""
Start a compositing group.
Loading