mirror of
https://github.com/servo/servo.git
synced 2025-07-06 06:53:38 +01:00
32 lines
1 KiB
XML
32 lines
1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
|
|
<Definitions>
|
|
<webidl>interface Canvas {
|
|
void drawPolygon(sequence<float> coordinates);
|
|
sequence<float> getInflectionPoints();
|
|
};</webidl>
|
|
<Interface name="Canvas" id="::Canvas">
|
|
<webidl>interface Canvas {
|
|
void drawPolygon(sequence<float> coordinates);
|
|
sequence<float> getInflectionPoints();
|
|
};</webidl>
|
|
<Operation name="drawPolygon" id="::Canvas::drawPolygon">
|
|
<webidl> void drawPolygon(sequence<float> coordinates);</webidl>
|
|
<Type type="void"/>
|
|
<ArgumentList>
|
|
<Argument name="coordinates">
|
|
<Type type="sequence">
|
|
<Type type="float"/>
|
|
</Type>
|
|
</Argument>
|
|
</ArgumentList>
|
|
</Operation>
|
|
<Operation name="getInflectionPoints" id="::Canvas::getInflectionPoints">
|
|
<webidl> sequence<float> getInflectionPoints();</webidl>
|
|
<Type type="sequence">
|
|
<Type type="float"/>
|
|
</Type>
|
|
<ArgumentList/>
|
|
</Operation>
|
|
</Interface>
|
|
</Definitions>
|