Canvas snippets: Difference between revisions

Jump to navigation Jump to search
m
m (→‎Clipping: stub)
Line 123: Line 123:
== Clipping ==
== Clipping ==


lorem ipsum ...
I would suggest to refer to api.nas and look for "clip" and/or "rect" - IIRC, you need to set up a clipping rectangle by setting some kind of "clip" property and setting it to a rect value in the form of rect(...)
{{FGCquote
|1= For details, see the clipping example at: [[Canvas Nasal API#set 2]] and  [[Canvas Element#clip.28.29]]
|2= {{cite web
  | url    = http://forum.flightgear.org/viewtopic.php?p=276965#p276965
  | title  = <nowiki>Re: Space Shuttle</nowiki>
  | author = <nowiki>Hooray</nowiki>
  | date  = Feb 21st, 2016
  | added  = Feb 21st, 2016
  | script_version = 0.25
  }}
}}
{| class="wikitable"
{| class="wikitable"
|-
|-

Navigation menu