2 * Automatically generated, do not edit this file directly
5 #ifndef __MOONLIGHT_C_BINDING_H__
6 #define __MOONLIGHT_C_BINDING_H__
20 class ASFMarkerDecoder
;
24 class AssemblyPartCollection
;
29 class BeginStoryboard
;
40 class CodecDownloader
;
42 class CollectionChangedEventArgs
;
43 class CollectionItemChangedEventArgs
;
45 class ColorAnimationUsingKeyFrames
;
47 class ColorKeyFrameCollection
;
48 class ColumnDefinition
;
49 class ColumnDefinitionCollection
;
50 class ContentChangedEventArgs
;
53 class ControlTemplate
;
55 class CursorPositionChangedEventArgs
;
57 class DeepZoomImageTileSource
;
58 class DependencyObject
;
59 class DependencyObjectCollection
;
61 class DiscreteColorKeyFrame
;
62 class DiscreteDoubleKeyFrame
;
63 class DiscreteObjectKeyFrame
;
64 class DiscretePointKeyFrame
;
65 class DispatcherTimer
;
66 class DoubleCollection
;
67 class DoubleAnimation
;
68 class DoubleAnimationUsingKeyFrames
;
70 class DoubleKeyFrameCollection
;
72 class DownloadProgressEventArgs
;
73 class DrawingAttributes
;
74 class EasingColorKeyFrame
;
75 class EasingDoubleKeyFrame
;
76 class EasingFunctionBase
;
77 class EasingPointKeyFrame
;
80 class EllipseGeometry
;
83 class EventListenerProxy
;
86 class ExponentialEase
;
88 class ExternalDecoder
;
89 class ExternalDemuxer
;
91 class ExternalPartCollection
;
96 class FrameworkElement
;
97 class FrameworkTemplate
;
98 class GeneralTransform
;
100 class GeometryCollection
;
105 class GradientStopCollection
;
107 class HitTestCollection
;
108 class IImageConverter
;
111 class ImageErrorEventArgs
;
120 class InlineCollection
;
122 class InternalDownloader
;
123 class ItemCollection
;
126 class KeyFrameCollection
;
128 class LayoutInformation
;
130 class LinearColorKeyFrame
;
131 class LinearDoubleKeyFrame
;
132 class LinearGradientBrush
;
133 class LinearPointKeyFrame
;
137 class ManagedStreamSource
;
138 class ManualTimeSource
;
139 class MarkerReachedEventArgs
;
142 class MatrixTransform
;
144 class MediaAttribute
;
145 class MediaAttributeCollection
;
148 class MediaDisposeObjectClosure
;
151 class MediaGetFrameClosure
;
153 class MediaMarkerFoundClosure
;
155 class MediaReportFrameCompletedClosure
;
156 class MediaReportSeekCompletedClosure
;
157 class MediaSeekClosure
;
161 class MmsPlaylistEntry
;
162 class MmsSecondDownloader
;
164 class MouseButtonEventArgs
;
165 class MouseEventArgs
;
166 class MouseWheelEventArgs
;
168 class MultiScaleImage
;
169 class MultiScaleSubImage
;
170 class MultiScaleSubImageCollection
;
171 class MultiScaleTileSource
;
174 class ObjectAnimationUsingKeyFrames
;
175 class ObjectKeyFrame
;
176 class ObjectKeyFrameCollection
;
177 class OutOfBrowserSettings
;
179 class ParallelTimeline
;
180 class ParserErrorEventArgs
;
181 class PassThroughDecoder
;
185 class PathFigureCollection
;
188 class PathSegmentCollection
;
192 class PointCollection
;
193 class PointAnimation
;
194 class PointAnimationUsingKeyFrames
;
196 class PointKeyFrameCollection
;
197 class PolyBezierSegment
;
200 class PolyLineSegment
;
201 class PolyQuadraticBezierSegment
;
204 class ProgressEventArgs
;
205 class ProgressiveSource
;
206 class PropertyChangedEventArgs
;
208 class QuadraticBezierSegment
;
212 class RadialGradientBrush
;
214 class RectangleGeometry
;
215 class RenderingEventArgs
;
216 class ResourceDictionary
;
217 class ResourceDictionaryCollection
;
218 class RotateTransform
;
219 class RoutedEventArgs
;
221 class RowDefinitionCollection
;
223 class ScaleTransform
;
226 class SetterBaseCollection
;
229 class SizeChangedEventArgs
;
231 class SolidColorBrush
;
232 class SplineColorKeyFrame
;
233 class SplineDoubleKeyFrame
;
234 class SplinePointKeyFrame
;
237 class StrokeCollection
;
241 class StylusPointCollection
;
243 class SystemTimeSource
;
247 class TextBoxModelChangedEventArgs
;
249 class TextChangedEventArgs
;
252 class TimelineCollection
;
254 class TimelineMarker
;
255 class TimelineMarkerCollection
;
259 class TransformCollection
;
260 class TransformGroup
;
261 class TranslateTransform
;
262 class TriggerCollection
;
264 class TriggerActionCollection
;
267 class UIElementCollection
;
268 class UnmanagedMatrix
;
273 class WriteableBitmap
;
281 class AnimationClock
;
282 class AnimationStorage
;
288 class ASFDemuxerInfo
;
289 class ASFFrameReader
;
290 class ASFMarkerDecoder
;
291 class ASFMarkerDecoderInfo
;
296 class AssemblyPartCollection
;
298 class ASXDemuxerInfo
;
304 class AutoCreatePropertyValueProvider
;
307 class BeginStoryboard
;
320 class CodecDownloader
;
322 class CollectionChangedEventArgs
;
323 class CollectionItemChangedEventArgs
;
324 class CollectionIterator
;
325 class ColorAnimation
;
326 class ColorAnimationUsingKeyFrames
;
328 class ColorKeyFrameCollection
;
329 class ColumnDefinition
;
330 class ColumnDefinitionCollection
;
331 class ContentChangedEventArgs
;
332 class ContentControl
;
333 class ContentDescription
;
334 class ContentDescriptionList
;
336 class ControlTemplate
;
339 class CursorPositionChangedEventArgs
;
342 class DeepTreeWalker
;
343 class DeepZoomImageTileSource
;
344 class DefaultValuePropertyValueProvider
;
346 class DependencyObject
;
347 class DependencyObjectCollection
;
348 class DependencyProperty
;
350 class DeploymentStack
;
352 class DiscreteColorKeyFrame
;
353 class DiscreteDoubleKeyFrame
;
354 class DiscreteObjectKeyFrame
;
355 class DiscretePointKeyFrame
;
356 class DispatcherTimer
;
357 class DoubleAnimation
;
358 class DoubleAnimationUsingKeyFrames
;
359 class DoubleCollection
;
360 class DoubleKeyFrame
;
361 class DoubleKeyFrameCollection
;
363 class DownloaderRequest
;
364 class DownloaderResponse
;
365 class DownloadProgressEventArgs
;
366 class DrawingAttributes
;
367 class EasingColorKeyFrame
;
368 class EasingDoubleKeyFrame
;
369 class EasingFunctionBase
;
370 class EasingPointKeyFrame
;
373 class EllipseGeometry
;
374 class ErrorEventArgs
;
376 class EventListenerProxy
;
379 class ExponentialEase
;
381 class ExternalDecoder
;
382 class ExternalDecoderInfo
;
383 class ExternalDemuxer
;
385 class ExternalPartCollection
;
387 class FfmpegDecoderInfo
;
389 class FileDownloader
;
393 class FrameworkElement
;
394 class FrameworkElementProvider
;
395 class FrameworkTemplate
;
396 class GeneralTransform
;
398 class GeometryCollection
;
403 class GradientStopCollection
;
407 class HitTestCollection
;
409 class IImageConverter
;
412 class ImageErrorEventArgs
;
419 class InheritedPropertyValueProvider
;
422 class InlineCollection
;
424 class InternalDownloader
;
425 class ItemCollection
;
426 class ITextAttributes
;
430 class KeyFrameCollection
;
432 class LayoutInformation
;
434 class LinearColorKeyFrame
;
435 class LinearDoubleKeyFrame
;
436 class LinearGradientBrush
;
437 class LinearPointKeyFrame
;
442 class LocalPropertyValueProvider
;
443 class ManagedStreamSource
;
444 class ManualTimeSource
;
445 class MarkerReachedEventArgs
;
448 class MatrixTransform
;
450 class MediaAttribute
;
451 class MediaAttributeCollection
;
454 class MediaDisposeObjectClosure
;
456 class MediaElementPropertyValueProvider
;
458 class MediaGetFrameClosure
;
461 class MediaMarkerFoundClosure
;
463 class MediaReportFrameCompletedClosure
;
464 class MediaReportSeekCompletedClosure
;
465 class MediaSeekClosure
;
466 class MediaThreadPool
;
471 class MmsPlaylistEntry
;
472 class MmsSecondDownloader
;
475 class MoonlightConfiguration
;
478 class MoonWindowless
;
479 class MouseButtonEventArgs
;
480 class MouseEventArgs
;
481 class MouseWheelEventArgs
;
483 class Mp3DemuxerInfo
;
484 class Mp3FrameReader
;
485 class MultiScaleImage
;
486 class MultiScaleImagePropertyValueProvider
;
487 class MultiScaleSubImage
;
488 class MultiScaleSubImageCollection
;
489 class MultiScaleTileSource
;
492 class NPStreamRequest
;
494 class NullDecoderInfo
;
495 class ObjectAnimationUsingKeyFrames
;
496 class ObjectKeyFrame
;
497 class ObjectKeyFrameCollection
;
499 class OutOfBrowserSettings
;
501 class ParallelTimeline
;
502 class ParserErrorEventArgs
;
503 class PassThroughDecoder
;
504 class PassThroughDecoderInfo
;
508 class PathFigureCollection
;
511 class PathSegmentCollection
;
516 class PlaylistParser
;
517 class PlaylistParserInternal
;
519 class PluginDownloader
;
520 class PluginInstance
;
521 class PluginXamlLoader
;
522 class PointAnimation
;
523 class PointAnimationUsingKeyFrames
;
524 class PointCollection
;
526 class PointKeyFrameCollection
;
527 class PolyBezierSegment
;
530 class PolyLineSegment
;
531 class PolyQuadraticBezierSegment
;
534 class ProgressEventArgs
;
535 class ProgressiveSource
;
536 class PropertyChangedEventArgs
;
537 class PropertyValueProvider
;
540 class QuadraticBezierSegment
;
545 class RadialGradientBrush
;
547 class RectangleGeometry
;
549 class RenderingEventArgs
;
551 class ResourceDictionary
;
552 class ResourceDictionaryCollection
;
553 class RotateTransform
;
554 class RoutedEventArgs
;
556 class RowDefinitionCollection
;
558 class ScaleTransform
;
561 class SetterBaseCollection
;
564 class SizeChangedEventArgs
;
566 class SolidColorBrush
;
567 class SplineColorKeyFrame
;
568 class SplineDoubleKeyFrame
;
569 class SplinePointKeyFrame
;
573 class StrokeCollection
;
575 class StylePropertyValueProvider
;
578 class StylusPointCollection
;
580 class SystemTimeSource
;
581 class TabNavigationWalker
;
585 class TextBoxModelChangedEventArgs
;
587 class TextChangedEventArgs
;
589 class TextFontDescription
;
591 class TextLayoutAttributes
;
595 class TimelineCollection
;
597 class TimelineMarker
;
598 class TimelineMarkerCollection
;
601 class ToggleNotifyListener
;
603 class TransformCollection
;
604 class TransformGroup
;
605 class TranslateTransform
;
607 class TriggerActionCollection
;
609 class TriggerCollection
;
613 class UIElementCollection
;
615 class UnmanagedMatrix
;
621 class VisualTreeWalker
;
622 class WriteableBitmap
;
627 class YUVConverterInfo
;
629 struct asf_bitrate_mutual_exclusion
;
630 struct asf_codec_list
;
631 struct asf_content_description
;
633 struct asf_error_correction
;
634 struct asf_error_correction_data
;
635 struct asf_extended_content_description
;
636 struct asf_extended_stream_name
;
637 struct asf_extended_stream_properties
;
638 struct asf_file_properties
;
641 struct asf_header_extension
;
643 struct asf_marker_entry
;
644 struct asf_multiple_payloads
;
646 struct asf_payload_extension_system
;
647 struct asf_payload_parsing_information
;
648 struct asf_script_command
;
649 struct asf_script_command_entry
;
650 struct asf_single_payload
;
651 struct asf_stream_bitrate_properties
;
652 struct asf_stream_properties
;
653 struct asf_video_stream_data
;
655 struct ASFFrameReaderData
;
656 struct ASFFrameReaderIndex
;
658 struct BITMAPINFOHEADER
;
662 struct FontFaceExtents
;
672 struct ManagedStreamCallbacks
;
673 struct ManagedTypeInfo
;
674 struct MmsDataPacket
;
676 struct MmsHeaderReason
;
678 struct MoonlightCollectionObject
;
679 struct MoonlightCollectionType
;
680 struct MoonlightContentObject
;
681 struct MoonlightContentType
;
682 struct MoonlightControlObject
;
683 struct MoonlightControlType
;
684 struct MoonlightCornerRadius
;
685 struct MoonlightCornerRadiusType
;
686 struct MoonlightDependencyObjectObject
;
687 struct MoonlightDependencyObjectType
;
688 struct MoonlightDownloaderObject
;
689 struct MoonlightDownloaderType
;
690 struct MoonlightDownloadProgressEventArgs
;
691 struct MoonlightDownloadProgressEventArgsType
;
692 struct MoonlightDuration
;
693 struct MoonlightDurationType
;
694 struct MoonlightErrorEventArgs
;
695 struct MoonlightErrorEventArgsType
;
696 struct MoonlightEventArgs
;
697 struct MoonlightEventArgsType
;
698 struct MoonlightEventObjectObject
;
699 struct MoonlightEventObjectType
;
700 struct MoonlightGridLength
;
701 struct MoonlightGridLengthType
;
702 struct MoonlightImageBrushObject
;
703 struct MoonlightImageBrushType
;
704 struct MoonlightImageObject
;
705 struct MoonlightImageType
;
706 struct MoonlightKeyEventArgsObject
;
707 struct MoonlightKeyEventArgsType
;
708 struct MoonlightKeyTime
;
709 struct MoonlightKeyTimeType
;
710 struct MoonlightMarkerReachedEventArgsObject
;
711 struct MoonlightMarkerReachedEventArgsType
;
712 struct MoonlightMediaElementObject
;
713 struct MoonlightMediaElementType
;
714 struct MoonlightMouseEventArgsObject
;
715 struct MoonlightMouseEventArgsType
;
716 struct MoonlightMultiScaleImageObject
;
717 struct MoonlightMultiScaleImageType
;
718 struct MoonlightObject
;
719 struct MoonlightObjectType
;
720 struct MoonlightPasswordBoxObject
;
721 struct MoonlightPasswordBoxType
;
722 struct MoonlightPoint
;
723 struct MoonlightPointType
;
724 struct MoonlightRect
;
725 struct MoonlightRectType
;
726 struct MoonlightRoutedEventArgs
;
727 struct MoonlightRoutedEventArgsType
;
728 struct MoonlightScriptableObjectObject
;
729 struct MoonlightScriptableObjectType
;
730 struct MoonlightScriptControlObject
;
731 struct MoonlightScriptControlType
;
732 struct MoonlightSettingsObject
;
733 struct MoonlightSettingsType
;
734 struct MoonlightStoryboardObject
;
735 struct MoonlightStoryboardType
;
736 struct MoonlightStrokeCollectionObject
;
737 struct MoonlightStrokeCollectionType
;
738 struct MoonlightStrokeObject
;
739 struct MoonlightStrokeType
;
740 struct MoonlightStylusInfoObject
;
741 struct MoonlightStylusInfoType
;
742 struct MoonlightStylusPointCollectionObject
;
743 struct MoonlightStylusPointCollectionType
;
744 struct MoonlightTextBlockObject
;
745 struct MoonlightTextBlockType
;
746 struct MoonlightTextBoxObject
;
747 struct MoonlightTextBoxType
;
748 struct MoonlightThickness
;
749 struct MoonlightThicknessType
;
750 struct MoonlightTimeSpan
;
751 struct MoonlightTimeSpanType
;
752 struct MoonlightUIElementObject
;
753 struct MoonlightUIElementType
;
754 struct MoonNameIdMapping
;
756 struct MpegFrameHeader
;
757 struct MpegVBRHeader
;
761 struct RepeatBehavior
;
764 struct TextLayoutGlyphCluster
;
765 struct TextLayoutLine
;
766 struct TextLayoutRun
;
771 struct WAVEFORMATEXTENSIBLE
;
772 struct XamlCallbackData
;
773 struct XamlLoaderCallbacks
;
775 typedef void ( * ApplyDefaultStyleCallback
) ( FrameworkElement
* fwe
, ManagedTypeInfo
* key
) ;
776 typedef void ( * ApplyStyleCallback
) ( FrameworkElement
* fwe
, Style
* style
) ;
777 typedef void * ( * ConvertKeyframeValueCallback
) ( int kind
, DependencyProperty
* property
, Value
* original
, Value
* converted
) ;
778 typedef ManagedStreamCallbacks ( * GetResourceCallback
) ( const char * resourceBase
, const char * name
) ;
779 typedef void ( * TickCallHandler
) ( EventObject
* object
) ;
780 typedef void ( * EventHandler
) ( EventObject
* sender
, EventArgs
* args
, gpointer closure
) ;
781 typedef void ( * ToggleNotifyHandler
) ( EventObject
* sender
, bool isLastRef
) ;
782 typedef void ( * PropertyChangeHandler
) ( DependencyObject
* sender
, PropertyChangedEventArgs
* args
, MoonError
* error
, gpointer closure
) ;
783 typedef void ( * DownloaderResponseHeaderCallback
) ( gpointer context
, const char * header
, const char * value
) ;
784 typedef void ( * DownloaderWriteFunc
) ( void * buf
, gint32 offset
, gint32 n
, gpointer cb_data
) ;
785 typedef void ( * DownloaderNotifySizeFunc
) ( gint64 size
, gpointer cb_data
) ;
786 typedef gpointer ( * DownloaderCreateStateFunc
) ( Downloader
* dl
) ;
787 typedef void ( * DownloaderDestroyStateFunc
) ( gpointer state
) ;
788 typedef void ( * DownloaderOpenFunc
) ( gpointer state
, const char * verb
, const char * uri
, bool custom_header_support
, bool disable_cache
) ;
789 typedef void ( * DownloaderSendFunc
) ( gpointer state
) ;
790 typedef void ( * DownloaderAbortFunc
) ( gpointer state
) ;
791 typedef void ( * DownloaderHeaderFunc
) ( gpointer state
, const char * header
, const char * value
) ;
792 typedef void ( * DownloaderBodyFunc
) ( gpointer state
, void * body
, guint32 length
) ;
793 typedef gpointer ( * DownloaderCreateWebRequestFunc
) ( const char * method
, const char * uri
, gpointer context
) ;
794 typedef void ( * DownloaderSetResponseHeaderCallbackFunc
) ( gpointer state
, DownloaderResponseHeaderCallback callback
, gpointer context
) ;
795 typedef DownloaderResponse
* ( * DownloaderGetResponseFunc
) ( gpointer state
) ;
796 typedef guint32 ( * DownloaderResponseStartedHandler
) ( DownloaderResponse
* response
, gpointer context
) ;
797 typedef guint32 ( * DownloaderResponseDataAvailableHandler
) ( DownloaderResponse
* response
, gpointer context
, char * buffer
, guint32 length
) ;
798 typedef guint32 ( * DownloaderResponseFinishedHandler
) ( DownloaderResponse
* response
, gpointer context
, bool success
, gpointer data
, const char * uri
) ;
799 typedef double ( * EasingFunction
) ( double normalizedTime
) ;
800 typedef Size ( * MeasureOverrideCallback
) ( Size availableSize
) ;
801 typedef Size ( * ArrangeOverrideCallback
) ( Size finalSize
) ;
802 typedef UIElement
* ( * GetDefaultTemplateCallback
) ( FrameworkElement
* element
) ;
803 typedef void ( * LoadedCallback
) ( FrameworkElement
* element
) ;
804 typedef void ( * CloseDemuxerCallback
) ( void * instance
) ;
805 typedef void ( * GetDiagnosticAsyncCallback
) ( void * instance
, int diagnosticKind
) ;
806 typedef void ( * GetFrameAsyncCallback
) ( void * instance
, int mediaStreamType
) ;
807 typedef void ( * OpenDemuxerAsyncCallback
) ( void * instance
, IMediaDemuxer
* demuxer
) ;
808 typedef void ( * SeekAsyncCallback
) ( void * instance
, guint64 seekToTime
) ;
809 typedef void ( * SwitchMediaStreamAsyncCallback
) ( void * instance
, IMediaStream
* mediaStreamDescription
) ;
810 typedef void ( * ExternalDecoder_DecodeFrameAsyncCallback
) ( void * instance
, MediaFrame
* frame
) ;
811 typedef void ( * ExternalDecoder_OpenDecoderAsyncCallback
) ( void * instance
) ;
812 typedef void ( * ExternalDecoder_CleanupCallback
) ( void * instance
, MediaFrame
* frame
) ;
813 typedef void ( * ExternalDecoder_CleanStateCallback
) ( void * instance
) ;
814 typedef bool ( * ExternalDecoder_HasDelayedFrameCallback
) ( void * instance
) ;
815 typedef void ( * ExternalDecoder_DisposeCallback
) ( void * instance
) ;
816 typedef void ( * ExternalDecoder_DtorCallback
) ( void * instance
) ;
817 typedef bool ( * ExternalDecoderInfo_SupportsCallback
) ( void * instance
, const char * codec
) ;
818 typedef IMediaDecoder
* ( * ExternalDecoderInfo_Create
) ( void * instance
, Media
* media
, IMediaStream
* stream
) ;
819 typedef void ( * ExternalDecoderInfo_dtor
) ( void * instance
) ;
820 typedef bool ( * get_image_uri_func
) ( int level
, int posX
, int posY
, Uri
* uri
, void * user_data
) ;
821 typedef gint64 TimeSpan
;
829 /* @GeneratePInvoke */
830 Application
*application_new (void);
832 /* @GeneratePInvoke */
833 Application
*application_get_current (void);
835 /* @GeneratePInvoke */
836 void application_register_callbacks (Application
*instance
, ApplyDefaultStyleCallback apply_default_style_cb
, ApplyStyleCallback apply_style_cb
, GetResourceCallback get_resource_cb
, ConvertKeyframeValueCallback convert_keyframe_callback
);
838 /* @GeneratePInvoke */
839 void application_set_current (Application
*current
);
844 /* @GeneratePInvoke */
845 ArcSegment
*arc_segment_new (void);
850 /* @GeneratePInvoke */
851 AssemblyPart
*assembly_part_new (void);
854 * AssemblyPartCollection
856 /* @GeneratePInvoke */
857 AssemblyPartCollection
*assembly_part_collection_new (void);
862 /* @GeneratePInvoke */
863 AudioStream
*audio_stream_new (Media
*media
, int codec_id
, int bits_per_sample
, int block_align
, int sample_rate
, int channels
, int bit_rate
, gpointer extra_data
, guint32 extra_data_size
);
865 int audio_stream_get_bit_rate (AudioStream
*instance
);
867 int audio_stream_get_bits_per_sample (AudioStream
*instance
);
869 int audio_stream_get_block_align (AudioStream
*instance
);
871 int audio_stream_get_channels (AudioStream
*instance
);
873 int audio_stream_get_input_bit_rate (AudioStream
*instance
);
875 int audio_stream_get_input_bits_per_sample (AudioStream
*instance
);
877 int audio_stream_get_input_block_align (AudioStream
*instance
);
879 int audio_stream_get_input_channels (AudioStream
*instance
);
881 int audio_stream_get_input_sample_rate (AudioStream
*instance
);
883 int audio_stream_get_output_bit_rate (AudioStream
*instance
);
885 int audio_stream_get_output_bits_per_sample (AudioStream
*instance
);
887 int audio_stream_get_output_block_align (AudioStream
*instance
);
889 int audio_stream_get_output_channels (AudioStream
*instance
);
891 int audio_stream_get_output_sample_rate (AudioStream
*instance
);
893 int audio_stream_get_sample_rate (AudioStream
*instance
);
895 void audio_stream_set_bit_rate (AudioStream
*instance
, int value
);
897 void audio_stream_set_bits_per_sample (AudioStream
*instance
, int value
);
899 void audio_stream_set_block_align (AudioStream
*instance
, int value
);
901 void audio_stream_set_channels (AudioStream
*instance
, int value
);
903 void audio_stream_set_input_bit_rate (AudioStream
*instance
, int value
);
905 void audio_stream_set_input_bits_per_sample (AudioStream
*instance
, int value
);
907 void audio_stream_set_input_block_align (AudioStream
*instance
, int value
);
909 void audio_stream_set_input_channels (AudioStream
*instance
, int value
);
911 void audio_stream_set_input_sample_rate (AudioStream
*instance
, int value
);
913 void audio_stream_set_output_bit_rate (AudioStream
*instance
, int value
);
915 void audio_stream_set_output_bits_per_sample (AudioStream
*instance
, int value
);
917 void audio_stream_set_output_block_align (AudioStream
*instance
, int value
);
919 void audio_stream_set_output_channels (AudioStream
*instance
, int value
);
921 void audio_stream_set_output_sample_rate (AudioStream
*instance
, int value
);
923 void audio_stream_set_sample_rate (AudioStream
*instance
, int value
);
928 /* @GeneratePInvoke */
929 BackEase
*back_ease_new (void);
931 /* @GeneratePInvoke */
932 double back_ease_ease_in_core (BackEase
*instance
, double normalizedTime
);
937 /* @GeneratePInvoke */
938 BeginStoryboard
*begin_storyboard_new (void);
943 /* @GeneratePInvoke */
944 BezierSegment
*bezier_segment_new (void);
949 /* @GeneratePInvoke */
950 BitmapImage
*bitmap_image_new (void);
952 /* @GeneratePInvoke */
953 void bitmap_image_pixbuf_write (BitmapImage
*instance
, gpointer buffer
, gint32 offset
, gint32 n
);
955 /* @GeneratePInvoke */
956 void bitmap_image_pixmap_complete (BitmapImage
*instance
);
961 /* @GeneratePInvoke */
962 BitmapSource
*bitmap_source_new (void);
964 /* @GeneratePInvoke */
965 gpointer
bitmap_source_get_bitmap_data (BitmapSource
*instance
);
967 /* @GeneratePInvoke */
968 void bitmap_source_invalidate (BitmapSource
*instance
);
970 /* @GeneratePInvoke */
971 void bitmap_source_set_bitmap_data (BitmapSource
*instance
, gpointer data
, bool own
);
976 /* @GeneratePInvoke */
977 Border
*border_new (void);
982 /* @GeneratePInvoke */
983 BounceEase
*bounce_ease_new (void);
985 /* @GeneratePInvoke */
986 double bounce_ease_ease_in_core (BounceEase
*instance
, double normalizedTime
);
991 /* @GeneratePInvoke */
992 Brush
*brush_new (void);
997 /* @GeneratePInvoke */
998 Canvas
*canvas_new (void);
1003 /* @GeneratePInvoke */
1004 CircleEase
*circle_ease_new (void);
1006 /* @GeneratePInvoke */
1007 double circle_ease_ease_in_core (CircleEase
*instance
, double normalizedTime
);
1012 /* @GeneratePInvoke */
1013 int collection_add_with_error (Collection
*instance
, Value
*value
, MoonError
*error
);
1015 /* @GeneratePInvoke */
1016 bool collection_clear (Collection
*instance
);
1018 /* @GeneratePInvoke */
1019 bool collection_contains (Collection
*instance
, Value
*value
);
1021 /* @GeneratePInvoke */
1022 int collection_get_count (Collection
*instance
);
1024 /* @GeneratePInvoke */
1025 int collection_get_element_type (Collection
*instance
);
1027 /* @GeneratePInvoke */
1028 CollectionIterator
*collection_get_iterator (Collection
*instance
);
1030 /* @GeneratePInvoke */
1031 Value
*collection_get_value_at_with_error (Collection
*instance
, int index
, MoonError
*error
);
1033 /* @GeneratePInvoke */
1034 int collection_index_of (Collection
*instance
, Value
*value
);
1036 /* @GeneratePInvoke */
1037 bool collection_insert_with_error (Collection
*instance
, int index
, Value
*value
, MoonError
*error
);
1039 /* @GeneratePInvoke */
1040 bool collection_remove (Collection
*instance
, Value
*value
);
1042 /* @GeneratePInvoke */
1043 bool collection_remove_at_with_error (Collection
*instance
, int index
, MoonError
*error
);
1045 /* @GeneratePInvoke */
1046 bool collection_set_value_at_with_error (Collection
*instance
, int index
, Value
*value
, MoonError
*error
);
1049 * CollectionChangedEventArgs
1051 /* @GeneratePInvoke */
1052 CollectionChangedEventArgs
*collection_changed_event_args_new (void);
1054 /* @GeneratePInvoke */
1055 int collection_changed_event_args_get_changed_action (CollectionChangedEventArgs
*instance
);
1057 /* @GeneratePInvoke */
1058 int collection_changed_event_args_get_index (CollectionChangedEventArgs
*instance
);
1060 /* @GeneratePInvoke */
1061 Value
*collection_changed_event_args_get_new_item (CollectionChangedEventArgs
*instance
);
1063 /* @GeneratePInvoke */
1064 Value
*collection_changed_event_args_get_old_item (CollectionChangedEventArgs
*instance
);
1066 /* @GeneratePInvoke */
1067 void collection_changed_event_args_set_changed_action (CollectionChangedEventArgs
*instance
, int action
);
1069 /* @GeneratePInvoke */
1070 void collection_changed_event_args_set_index (CollectionChangedEventArgs
*instance
, int index
);
1072 /* @GeneratePInvoke */
1073 void collection_changed_event_args_set_new_item (CollectionChangedEventArgs
*instance
, Value
*item
);
1075 /* @GeneratePInvoke */
1076 void collection_changed_event_args_set_old_item (CollectionChangedEventArgs
*instance
, Value
*item
);
1079 * CollectionIterator
1081 /* @GeneratePInvoke */
1082 void collection_iterator_destroy (CollectionIterator
*iterator
);
1084 /* @GeneratePInvoke */
1085 Value
*collection_iterator_get_current (CollectionIterator
*instance
, int *error
);
1087 /* @GeneratePInvoke */
1088 int collection_iterator_next (CollectionIterator
*instance
);
1090 /* @GeneratePInvoke */
1091 bool collection_iterator_reset (CollectionIterator
*instance
);
1096 /* @GeneratePInvoke */
1097 ColorAnimation
*color_animation_new (void);
1100 * ColorAnimationUsingKeyFrames
1102 /* @GeneratePInvoke */
1103 ColorAnimationUsingKeyFrames
*color_animation_using_key_frames_new (void);
1108 /* @GeneratePInvoke */
1109 ColorKeyFrame
*color_key_frame_new (void);
1112 * ColorKeyFrameCollection
1114 /* @GeneratePInvoke */
1115 ColorKeyFrameCollection
*color_key_frame_collection_new (void);
1120 /* @GeneratePInvoke */
1121 ColumnDefinition
*column_definition_new (void);
1124 * ColumnDefinitionCollection
1126 /* @GeneratePInvoke */
1127 ColumnDefinitionCollection
*column_definition_collection_new (void);
1130 * ContentChangedEventArgs
1132 /* @GeneratePInvoke */
1133 Value
*content_changed_event_args_get_new_content (ContentChangedEventArgs
*instance
);
1135 /* @GeneratePInvoke */
1136 Value
*content_changed_event_args_get_old_content (ContentChangedEventArgs
*instance
);
1141 /* @GeneratePInvoke */
1142 ContentControl
*content_control_new (void);
1144 /* @GeneratePInvoke */
1145 bool content_control_get_content_sets_parent (ContentControl
*instance
);
1147 /* @GeneratePInvoke */
1148 void content_control_set_content_sets_parent (ContentControl
*instance
, bool value
);
1153 /* @GeneratePInvoke */
1154 Control
*control_new (void);
1156 /* @GeneratePInvoke */
1157 DependencyObject
*control_get_template_child (Control
*instance
, const char *name
);
1162 /* @GeneratePInvoke */
1163 ControlTemplate
*control_template_new (void);
1168 /* @GeneratePInvoke */
1169 CubicEase
*cubic_ease_new (void);
1171 /* @GeneratePInvoke */
1172 double cubic_ease_ease_in_core (CubicEase
*instance
, double normalizedTime
);
1175 * CursorPositionChangedEventArgs
1177 /* @GeneratePInvoke */
1178 CursorPositionChangedEventArgs
*cursor_position_changed_event_args_new (void);
1180 /* @GeneratePInvoke */
1181 double cursor_position_changed_event_args_get_cursor_height (CursorPositionChangedEventArgs
*instance
);
1183 /* @GeneratePInvoke */
1184 double cursor_position_changed_event_args_get_cursor_x (CursorPositionChangedEventArgs
*instance
);
1186 /* @GeneratePInvoke */
1187 double cursor_position_changed_event_args_get_cursor_y (CursorPositionChangedEventArgs
*instance
);
1192 /* @GeneratePInvoke */
1193 DataTemplate
*data_template_new (void);
1196 * DeepZoomImageTileSource
1198 /* @GeneratePInvoke */
1199 DeepZoomImageTileSource
*deep_zoom_image_tile_source_new (void);
1204 /* @GeneratePInvoke */
1205 void dependency_object_add_property_change_handler (DependencyObject
*instance
, DependencyProperty
*property
, PropertyChangeHandler cb
, gpointer closure
);
1207 /* @GeneratePInvoke */
1208 void dependency_object_clear_value (DependencyObject
*instance
, DependencyProperty
*property
, bool notify_listeners
, MoonError
*error
);
1210 /* @GeneratePInvoke */
1211 DependencyObject
*dependency_object_new (void);
1213 /* @GeneratePInvoke */
1214 DependencyObject
*dependency_object_find_name (DependencyObject
*instance
, const char *name
, int *element_kind
);
1216 /* @GeneratePInvoke */
1217 const char *dependency_object_get_name (DependencyObject
*instance
);
1219 /* @GeneratePInvoke */
1220 Value
*dependency_object_get_value_no_default_with_error (DependencyObject
*instance
, DependencyProperty
*property
, MoonError
*error
);
1222 /* @GeneratePInvoke */
1223 Value
*dependency_object_get_value_with_error (DependencyObject
*instance
, int whatami
, DependencyProperty
*property
, MoonError
*error
);
1225 /* @GeneratePInvoke */
1226 Value
*dependency_object_read_local_value_with_error (DependencyObject
*instance
, DependencyProperty
*property
, MoonError
*error
);
1228 /* @GeneratePInvoke */
1229 void dependency_object_remove_property_change_handler (DependencyObject
*instance
, DependencyProperty
*property
, PropertyChangeHandler cb
);
1231 /* @GeneratePInvoke */
1232 void dependency_object_set_name (DependencyObject
*instance
, const char *name
);
1234 /* @GeneratePInvoke */
1235 void dependency_object_set_parent (DependencyObject
*instance
, DependencyObject
*parent
, MoonError
*error
);
1237 /* @GeneratePInvoke */
1238 bool dependency_object_set_value_with_error (DependencyObject
*instance
, DependencyProperty
*property
, Value
*value
, MoonError
*error
);
1241 * DependencyObjectCollection
1243 /* @GeneratePInvoke */
1244 DependencyObjectCollection
*dependency_object_collection_new (void);
1247 * DependencyProperty
1249 /* @GeneratePInvoke */
1250 Value
*dependency_property_get_default_value (DependencyProperty
*instance
);
1252 /* @GeneratePInvoke */
1253 DependencyProperty
*dependency_property_get_dependency_property (int type
, const char *name
);
1255 /* @GeneratePInvoke */
1256 DependencyProperty
*dependency_property_get_dependency_property_full (int type
, const char *name
, bool inherits
);
1258 /* @GeneratePInvoke */
1259 const char *dependency_property_get_name (DependencyProperty
*instance
);
1261 /* @GeneratePInvoke */
1262 int dependency_property_get_property_type (DependencyProperty
*instance
);
1264 /* @GeneratePInvoke */
1265 bool dependency_property_is_attached (DependencyProperty
*instance
);
1267 /* @GeneratePInvoke */
1268 bool dependency_property_is_nullable (DependencyProperty
*instance
);
1270 /* @GeneratePInvoke */
1271 bool dependency_property_is_read_only (DependencyProperty
*instance
);
1273 /* @GeneratePInvoke */
1274 DependencyProperty
*dependency_property_register_core_property (const char *name
, int property_type
, int owner_type
, Value
*defaultValue
, bool attached
, bool read_only
, PropertyChangeHandler callback
);
1276 /* @GeneratePInvoke */
1277 DependencyProperty
*dependency_property_register_custom_property (const char *name
, int property_type
, int owner_type
, Value
*defaultValue
, bool attached
, bool read_only
, PropertyChangeHandler callback
);
1279 /* @GeneratePInvoke */
1280 void dependency_property_set_is_nullable (DependencyProperty
*instance
, bool value
);
1282 /* @GeneratePInvoke */
1283 void dependency_property_set_property_changed_callback (DependencyProperty
*instance
, PropertyChangeHandler changed_callback
);
1288 /* @GeneratePInvoke */
1289 Deployment
*deployment_new (void);
1291 /* @GeneratePInvoke */
1292 Deployment
*deployment_get_current (void);
1294 /* @GeneratePInvoke */
1295 Types
*deployment_get_types (Deployment
*instance
);
1297 /* @GeneratePInvoke */
1298 void deployment_set_current (Deployment
*value
);
1300 /* @GeneratePInvoke */
1301 void deployment_set_current_application (Deployment
*instance
, Application
*value
);
1303 /* @GeneratePInvoke */
1304 void deployment_set_is_loaded_from_xap (Deployment
*instance
, bool flag
);
1307 * DiscreteColorKeyFrame
1309 /* @GeneratePInvoke */
1310 DiscreteColorKeyFrame
*discrete_color_key_frame_new (void);
1313 * DiscreteDoubleKeyFrame
1315 /* @GeneratePInvoke */
1316 DiscreteDoubleKeyFrame
*discrete_double_key_frame_new (void);
1319 * DiscreteObjectKeyFrame
1321 /* @GeneratePInvoke */
1322 DiscreteObjectKeyFrame
*discrete_object_key_frame_new (void);
1325 * DiscretePointKeyFrame
1327 /* @GeneratePInvoke */
1328 DiscretePointKeyFrame
*discrete_point_key_frame_new (void);
1333 /* @GeneratePInvoke */
1334 DispatcherTimer
*dispatcher_timer_new (void);
1336 /* @GeneratePInvoke */
1337 void dispatcher_timer_start (DispatcherTimer
*instance
);
1339 /* @GeneratePInvoke */
1340 void dispatcher_timer_stop (DispatcherTimer
*instance
);
1345 /* @GeneratePInvoke */
1346 DoubleAnimation
*double_animation_new (void);
1349 * DoubleAnimationUsingKeyFrames
1351 /* @GeneratePInvoke */
1352 DoubleAnimationUsingKeyFrames
*double_animation_using_key_frames_new (void);
1357 /* @GeneratePInvoke */
1358 DoubleCollection
*double_collection_new (void);
1363 /* @GeneratePInvoke */
1364 DoubleKeyFrame
*double_key_frame_new (void);
1367 * DoubleKeyFrameCollection
1369 /* @GeneratePInvoke */
1370 DoubleKeyFrameCollection
*double_key_frame_collection_new (void);
1375 /* @GeneratePInvoke */
1376 void *downloader_create_web_request (Downloader
*instance
, const char *method
, const char *uri
);
1378 /* @GeneratePInvoke */
1379 Downloader
*downloader_new (void);
1381 /* @GeneratePInvoke */
1382 void downloader_notify_failed (Downloader
*instance
, const char *msg
);
1384 /* @GeneratePInvoke */
1385 void downloader_notify_finished (Downloader
*instance
, const char *final_uri
);
1387 /* @GeneratePInvoke */
1388 void downloader_notify_size (Downloader
*instance
, gint64 size
);
1390 /* @GeneratePInvoke */
1391 void downloader_set_functions (DownloaderCreateStateFunc create_state
, DownloaderDestroyStateFunc destroy_state
, DownloaderOpenFunc open
, DownloaderSendFunc send
, DownloaderAbortFunc abort
, DownloaderHeaderFunc header
, DownloaderBodyFunc body
, DownloaderCreateWebRequestFunc request
, DownloaderSetResponseHeaderCallbackFunc response_header_callback
, DownloaderGetResponseFunc get_response
);
1393 /* @GeneratePInvoke */
1394 void downloader_write (Downloader
*instance
, void *buf
, gint32 offset
, gint32 n
);
1399 /* @GeneratePInvoke */
1400 void downloader_request_free (DownloaderRequest
*instance
);
1402 /* @GeneratePInvoke */
1403 void downloader_request_abort (DownloaderRequest
*instance
);
1405 /* @GeneratePInvoke */
1406 DownloaderResponse
*downloader_request_get_downloader_response (DownloaderRequest
*instance
);
1408 /* @GeneratePInvoke */
1409 bool downloader_request_get_response (DownloaderRequest
*instance
, DownloaderResponseStartedHandler started
, DownloaderResponseDataAvailableHandler available
, DownloaderResponseFinishedHandler finished
, gpointer context
);
1411 /* @GeneratePInvoke */
1412 const bool downloader_request_is_aborted (DownloaderRequest
*instance
);
1414 /* @GeneratePInvoke */
1415 void downloader_request_set_body (DownloaderRequest
*instance
, void *body
, int size
);
1417 /* @GeneratePInvoke */
1418 void downloader_request_set_http_header (DownloaderRequest
*instance
, const char *name
, const char *value
);
1421 * DownloaderResponse
1423 /* @GeneratePInvoke */
1424 void downloader_response_free (DownloaderResponse
*instance
);
1426 /* @GeneratePInvoke */
1427 void downloader_response_abort (DownloaderResponse
*instance
);
1429 /* @GeneratePInvoke */
1430 int downloader_response_get_response_status (DownloaderResponse
*instance
);
1432 /* @GeneratePInvoke */
1433 const char *downloader_response_get_response_status_text (DownloaderResponse
*instance
);
1435 /* @GeneratePInvoke */
1436 void downloader_response_set_header_visitor (DownloaderResponse
*instance
, DownloaderResponseHeaderCallback visitor
, gpointer context
);
1439 * DownloadProgressEventArgs
1441 /* @GeneratePInvoke */
1442 double download_progress_event_args_get_progress (DownloadProgressEventArgs
*instance
);
1447 /* @GeneratePInvoke */
1448 DrawingAttributes
*drawing_attributes_new (void);
1451 * EasingColorKeyFrame
1453 /* @GeneratePInvoke */
1454 EasingColorKeyFrame
*easing_color_key_frame_new (void);
1457 * EasingDoubleKeyFrame
1459 /* @GeneratePInvoke */
1460 EasingDoubleKeyFrame
*easing_double_key_frame_new (void);
1463 * EasingFunctionBase
1465 /* @GeneratePInvoke */
1466 EasingFunctionBase
*easing_function_base_new (void);
1468 /* @GeneratePInvoke */
1469 void easing_function_base_set_easing_function (EasingFunctionBase
*instance
, EasingFunction value
);
1472 * EasingPointKeyFrame
1474 /* @GeneratePInvoke */
1475 EasingPointKeyFrame
*easing_point_key_frame_new (void);
1480 /* @GeneratePInvoke */
1481 double elastic_ease_ease_in_core (ElasticEase
*instance
, double normalizedTime
);
1483 /* @GeneratePInvoke */
1484 ElasticEase
*elastic_ease_new (void);
1489 /* @GeneratePInvoke */
1490 Ellipse
*ellipse_new (void);
1495 /* @GeneratePInvoke */
1496 EllipseGeometry
*ellipse_geometry_new (void);
1501 /* @GeneratePInvoke */
1502 int error_event_args_get_error_code (ErrorEventArgs
*instance
);
1504 /* @GeneratePInvoke */
1505 const char *error_event_args_get_error_message (ErrorEventArgs
*instance
);
1507 /* @GeneratePInvoke */
1508 int error_event_args_get_error_type (ErrorEventArgs
*instance
);
1510 /* @GeneratePInvoke */
1511 gpointer
error_event_args_get_moon_error (ErrorEventArgs
*instance
);
1516 /* @GeneratePInvoke */
1517 int event_object_add_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
, GDestroyNotify data_dtor
);
1519 /* @GeneratePInvoke */
1520 void event_object_add_on_event_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
, GDestroyNotify data_dtor
);
1522 /* @GeneratePInvoke */
1523 void event_object_add_toggle_ref_notifier (EventObject
*instance
, ToggleNotifyHandler tr
);
1525 /* @GeneratePInvoke */
1526 int event_object_add_xaml_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
, GDestroyNotify data_dtor
);
1528 /* @GeneratePInvoke */
1529 void event_object_do_emit_current_context (EventObject
*instance
, int event_id
, EventArgs
*calldata
);
1531 /* @GeneratePInvoke */
1532 int event_object_get_object_type (EventObject
*instance
);
1534 /* @GeneratePInvoke */
1535 Surface
*event_object_get_surface (EventObject
*instance
);
1537 /* @GeneratePInvoke */
1538 const char *event_object_get_type_name (EventObject
*instance
);
1540 /* @GeneratePInvoke */
1541 void event_object_ref (EventObject
*instance
);
1543 /* @GeneratePInvoke */
1544 int event_object_remove_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
);
1546 /* @GeneratePInvoke */
1547 void event_object_remove_on_event_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
);
1549 /* @GeneratePInvoke */
1550 void event_object_remove_toggle_ref_notifier (EventObject
*instance
);
1552 /* @GeneratePInvoke */
1553 void event_object_set_object_type (EventObject
*instance
, int value
);
1555 /* @GeneratePInvoke */
1556 void event_object_unref (EventObject
*instance
);
1561 /* @GeneratePInvoke */
1562 EventTrigger
*event_trigger_new (void);
1567 /* @GeneratePInvoke */
1568 double exponential_ease_ease_in_core (ExponentialEase
*instance
, double normalizedTime
);
1570 /* @GeneratePInvoke */
1571 ExponentialEase
*exponential_ease_new (void);
1576 /* @GeneratePInvoke */
1577 ExtensionPart
*extension_part_new (void);
1582 ExternalDecoder
*external_decoder_new (Media
*media
, IMediaStream
*stream
, void *instance
, const char *name
, ExternalDecoder_DecodeFrameAsyncCallback decode_frame_async
, ExternalDecoder_OpenDecoderAsyncCallback open_decoder_async
, ExternalDecoder_CleanupCallback cleanup
, ExternalDecoder_CleanStateCallback clean_state
, ExternalDecoder_HasDelayedFrameCallback has_delayed_frame
, ExternalDecoder_DisposeCallback dispose
, ExternalDecoder_DtorCallback dtor
);
1585 * ExternalDecoderInfo
1587 ExternalDecoderInfo
*external_decoder_info_new (void *instance
, const char *name
, ExternalDecoderInfo_SupportsCallback supports
, ExternalDecoderInfo_Create create
, ExternalDecoderInfo_dtor dtor
);
1592 /* @GeneratePInvoke */
1593 gint32
external_demuxer_add_stream (ExternalDemuxer
*instance
, IMediaStream
*stream
);
1595 /* @GeneratePInvoke */
1596 void external_demuxer_clear_callbacks (ExternalDemuxer
*instance
);
1598 /* @GeneratePInvoke */
1599 void external_demuxer_set_can_seek (ExternalDemuxer
*instance
, bool value
);
1604 /* @GeneratePInvoke */
1605 ExternalPart
*external_part_new (void);
1608 * ExternalPartCollection
1610 /* @GeneratePInvoke */
1611 ExternalPartCollection
*external_part_collection_new (void);
1616 /* @GeneratePInvoke */
1617 bool framework_element_apply_template (FrameworkElement
*instance
);
1619 /* @GeneratePInvoke */
1620 Size
framework_element_arrange_override (FrameworkElement
*instance
, Size finalSize
);
1622 /* @GeneratePInvoke */
1623 FrameworkElement
*framework_element_new (void);
1625 /* @GeneratePInvoke */
1626 DependencyObject
*framework_element_get_logical_parent (FrameworkElement
*instance
);
1628 /* @GeneratePInvoke */
1629 Size
framework_element_measure_override (FrameworkElement
*instance
, Size availableSize
);
1631 /* @GeneratePInvoke */
1632 void framework_element_register_managed_overrides (FrameworkElement
*instance
, MeasureOverrideCallback measure_cb
, ArrangeOverrideCallback arrange_cb
, GetDefaultTemplateCallback get_default_template_cb
, LoadedCallback loaded_cb
);
1634 /* @GeneratePInvoke */
1635 void framework_element_set_default_style (FrameworkElement
*instance
, Style
*value
);
1637 /* @GeneratePInvoke */
1638 void framework_element_set_logical_parent (FrameworkElement
*instance
, DependencyObject
*logical_parent
, MoonError
*error
);
1643 /* @GeneratePInvoke */
1644 FrameworkTemplate
*framework_template_new (void);
1646 /* @GeneratePInvoke */
1647 DependencyObject
*framework_template_get_visual_tree (FrameworkTemplate
*instance
, FrameworkElement
*templateBindingSource
);
1652 /* @GeneratePInvoke */
1653 GeneralTransform
*general_transform_new (void);
1655 /* @GeneratePInvoke */
1656 Matrix
*general_transform_get_matrix (GeneralTransform
*instance
);
1661 /* @GeneratePInvoke */
1662 Geometry
*geometry_new (void);
1664 /* @GeneratePInvoke */
1665 Rect
geometry_get_bounds (Geometry
*instance
);
1668 * GeometryCollection
1670 /* @GeneratePInvoke */
1671 GeometryCollection
*geometry_collection_new (void);
1676 /* @GeneratePInvoke */
1677 GeometryGroup
*geometry_group_new (void);
1682 /* @GeneratePInvoke */
1683 Glyphs
*glyphs_new (void);
1688 /* @GeneratePInvoke */
1689 GradientBrush
*gradient_brush_new (void);
1694 /* @GeneratePInvoke */
1695 GradientStop
*gradient_stop_new (void);
1698 * GradientStopCollection
1700 /* @GeneratePInvoke */
1701 GradientStopCollection
*gradient_stop_collection_new (void);
1706 /* @GeneratePInvoke */
1707 Grid
*grid_new (void);
1712 /* @GeneratePInvoke */
1713 HitTestCollection
*hit_test_collection_new (void);
1718 /* @GeneratePInvoke */
1719 Image
*image_new (void);
1721 /* @GeneratePInvoke */
1722 void image_set_source (Image
*instance
, ImageSource
*source
);
1727 /* @GeneratePInvoke */
1728 ImageBrush
*image_brush_new (void);
1733 /* @GeneratePInvoke */
1734 ImageSource
*image_source_new (void);
1739 void imedia_decoder_report_decode_frame_completed (IMediaDecoder
*instance
, MediaFrame
*frame
);
1741 void imedia_decoder_report_open_decoder_completed (IMediaDecoder
*instance
);
1743 void imedia_decoder_set_pixel_format (IMediaDecoder
*instance
, int value
);
1748 /* @GeneratePInvoke */
1749 void imedia_demuxer_report_get_diagnostic_completed (IMediaDemuxer
*instance
, int diagnosticKind
, gint64 diagnosticValue
);
1751 /* @GeneratePInvoke */
1752 void imedia_demuxer_report_get_frame_completed (IMediaDemuxer
*instance
, MediaFrame
*frame
);
1754 /* @GeneratePInvoke */
1755 void imedia_demuxer_report_get_frame_progress (IMediaDemuxer
*instance
, double bufferingProgress
);
1757 /* @GeneratePInvoke */
1758 void imedia_demuxer_report_open_demuxer_completed (IMediaDemuxer
*instance
);
1760 /* @GeneratePInvoke */
1761 void imedia_demuxer_report_seek_completed (IMediaDemuxer
*instance
, guint64 pts
);
1763 /* @GeneratePInvoke */
1764 void imedia_demuxer_report_switch_media_stream_completed (IMediaDemuxer
*instance
, IMediaStream
*stream
);
1769 /* @GeneratePInvoke */
1770 Media
*imedia_object_get_media_reffed (IMediaObject
*instance
);
1772 void imedia_object_report_error_occurred (IMediaObject
*instance
, const char *message
);
1777 const char *imedia_stream_get_codec (IMediaStream
*instance
);
1779 int imedia_stream_get_codec_id (IMediaStream
*instance
);
1781 guint64
imedia_stream_get_duration (IMediaStream
*instance
);
1783 void *imedia_stream_get_extra_data (IMediaStream
*instance
);
1785 int imedia_stream_get_extra_data_size (IMediaStream
*instance
);
1787 int imedia_stream_get_stream_type (IMediaStream
*instance
);
1789 void imedia_stream_set_codec_id (IMediaStream
*instance
, int value
);
1791 void imedia_stream_set_duration (IMediaStream
*instance
, guint64 value
);
1793 void imedia_stream_set_extra_data (IMediaStream
*instance
, void *value
);
1795 void imedia_stream_set_extra_data_size (IMediaStream
*instance
, int value
);
1800 /* @GeneratePInvoke */
1801 InkPresenter
*ink_presenter_new (void);
1806 /* @GeneratePInvoke */
1807 Inline
*inline_new (void);
1812 /* @GeneratePInvoke */
1813 InlineCollection
*inline_collection_new (void);
1818 /* @GeneratePInvoke */
1819 InputMethod
*input_method_new (void);
1824 /* @GeneratePInvoke */
1825 ItemCollection
*item_collection_new (void);
1830 /* @GeneratePInvoke */
1831 int keyboard_get_modifiers (void);
1836 /* @GeneratePInvoke */
1837 int key_event_args_get_key (KeyEventArgs
*instance
);
1839 /* @GeneratePInvoke */
1840 int key_event_args_get_platform_key_code (KeyEventArgs
*instance
);
1842 /* @GeneratePInvoke */
1843 KeyEventArgs
*key_event_args_new (void);
1846 * KeyFrameCollection
1848 /* @GeneratePInvoke */
1849 KeyFrameCollection
*key_frame_collection_new (void);
1854 /* @GeneratePInvoke */
1855 KeySpline
*key_spline_new (void);
1860 /* @GeneratePInvoke */
1861 Line
*line_new (void);
1864 * LinearColorKeyFrame
1866 /* @GeneratePInvoke */
1867 LinearColorKeyFrame
*linear_color_key_frame_new (void);
1870 * LinearDoubleKeyFrame
1872 /* @GeneratePInvoke */
1873 LinearDoubleKeyFrame
*linear_double_key_frame_new (void);
1876 * LinearGradientBrush
1878 /* @GeneratePInvoke */
1879 LinearGradientBrush
*linear_gradient_brush_new (void);
1882 * LinearPointKeyFrame
1884 /* @GeneratePInvoke */
1885 LinearPointKeyFrame
*linear_point_key_frame_new (void);
1890 /* @GeneratePInvoke */
1891 LineBreak
*line_break_new (void);
1896 /* @GeneratePInvoke */
1897 LineGeometry
*line_geometry_new (void);
1902 /* @GeneratePInvoke */
1903 LineSegment
*line_segment_new (void);
1906 * MarkerReachedEventArgs
1908 /* @GeneratePInvoke */
1909 TimelineMarker
*marker_reached_event_args_get_marker (MarkerReachedEventArgs
*instance
);
1914 /* @GeneratePInvoke */
1915 cairo_matrix_t
*matrix_get_matrix_values (Matrix
*instance
);
1917 /* @GeneratePInvoke */
1918 Matrix
*matrix_new (void);
1923 /* @GeneratePInvoke */
1924 MatrixTransform
*matrix_transform_new (void);
1929 void media_register_decoder (DecoderInfo
*info
);
1934 /* @GeneratePInvoke */
1935 MediaAttribute
*media_attribute_new (void);
1938 * MediaAttributeCollection
1940 /* @GeneratePInvoke */
1941 MediaAttribute
*media_attribute_collection_get_item_by_name (MediaAttributeCollection
*instance
, const char *name
);
1943 /* @GeneratePInvoke */
1944 MediaAttributeCollection
*media_attribute_collection_new (void);
1949 /* @GeneratePInvoke */
1950 MediaBase
*media_base_new (void);
1952 /* @GeneratePInvoke */
1953 void media_base_set_source (MediaBase
*instance
, const char *uri
);
1958 /* @GeneratePInvoke */
1959 MediaElement
*media_element_new (void);
1961 /* @GeneratePInvoke */
1962 void media_element_pause (MediaElement
*instance
);
1964 /* @GeneratePInvoke */
1965 void media_element_play (MediaElement
*instance
);
1967 /* @GeneratePInvoke */
1968 void media_element_report_error_occurred (MediaElement
*instance
, const char *args
);
1970 /* @GeneratePInvoke */
1971 IMediaDemuxer
*media_element_set_demuxer_source (MediaElement
*instance
, void *context
, CloseDemuxerCallback close_demuxer
, GetDiagnosticAsyncCallback get_diagnostic
, GetFrameAsyncCallback get_sample
, OpenDemuxerAsyncCallback open_demuxer
, SeekAsyncCallback seek
, SwitchMediaStreamAsyncCallback switch_media_stream
);
1973 /* @GeneratePInvoke */
1974 void media_element_set_stream_source (MediaElement
*instance
, ManagedStreamCallbacks
*stream
);
1976 /* @GeneratePInvoke */
1977 void media_element_stop (MediaElement
*instance
);
1982 void media_frame_add_state (MediaFrame
*instance
, int state
);
1984 guint8
*media_frame_get_buffer (MediaFrame
*instance
);
1986 guint32
media_frame_get_buf_len (MediaFrame
*instance
);
1988 gint32
media_frame_get_height (MediaFrame
*instance
);
1990 guint64
media_frame_get_pts (MediaFrame
*instance
);
1992 gint32
media_frame_get_width (MediaFrame
*instance
);
1994 bool media_frame_is_key_frame (MediaFrame
*instance
);
1996 /* @GeneratePInvoke */
1997 MediaFrame
*media_frame_new (IMediaStream
*stream
, guint8
*buffer
, guint32 buflen
, guint64 pts
, bool keyframe
);
1999 void media_frame_set_buffer (MediaFrame
*instance
, guint8
*value
);
2001 void media_frame_set_buf_len (MediaFrame
*instance
, guint32 value
);
2003 void media_frame_set_data_stride (MediaFrame
*instance
, guint8
*a
, guint8
*b
, guint8
*c
, guint8
*d
);
2005 void media_frame_set_decoder_specific_data (MediaFrame
*instance
, void *value
);
2007 void media_frame_set_height (MediaFrame
*instance
, gint32 value
);
2009 void media_frame_set_pts (MediaFrame
*instance
, guint64 value
);
2011 void media_frame_set_src_slide_h (MediaFrame
*instance
, int value
);
2013 void media_frame_set_src_slide_y (MediaFrame
*instance
, int value
);
2015 void media_frame_set_src_stride (MediaFrame
*instance
, int a
, int b
, int c
, int d
);
2017 void media_frame_set_width (MediaFrame
*instance
, gint32 value
);
2022 /* @GeneratePInvoke */
2023 bool moon_window_get_transparent (MoonWindow
*instance
);
2025 /* @GeneratePInvoke */
2026 void moon_window_set_transparent (MoonWindow
*instance
, bool flag
);
2031 /* @GeneratePInvoke */
2032 void *moon_window_gtk_get_native_widget (MoonWindowGtk
*instance
);
2034 /* @GeneratePInvoke */
2035 MoonWindowGtk
*moon_window_gtk_new (bool fullscreen
, int w
, int h
, MoonWindow
*parent
);
2038 * MouseButtonEventArgs
2040 /* @GeneratePInvoke */
2041 MouseButtonEventArgs
*mouse_button_event_args_new (void);
2046 /* @GeneratePInvoke */
2047 void mouse_event_args_get_position (MouseEventArgs
*instance
, UIElement
*relative_to
, double *x
, double *y
);
2049 /* @GeneratePInvoke */
2050 StylusInfo
*mouse_event_args_get_stylus_info (MouseEventArgs
*instance
);
2052 /* @GeneratePInvoke */
2053 StylusPointCollection
*mouse_event_args_get_stylus_points (MouseEventArgs
*instance
, UIElement
*ink_presenter
);
2055 /* @GeneratePInvoke */
2056 MouseEventArgs
*mouse_event_args_new (void);
2059 * MouseWheelEventArgs
2061 /* @GeneratePInvoke */
2062 int mouse_wheel_event_args_get_wheel_delta (MouseWheelEventArgs
*instance
);
2064 /* @GeneratePInvoke */
2065 MouseWheelEventArgs
*mouse_wheel_event_args_new (void);
2070 /* @GeneratePInvoke */
2071 Point
multi_scale_image_element_to_logical_point (MultiScaleImage
*instance
, Point elementPoint
);
2073 void multi_scale_image_emit_image_failed (MultiScaleImage
*instance
);
2075 void multi_scale_image_emit_image_open_failed (MultiScaleImage
*instance
);
2077 void multi_scale_image_emit_motion_finished (MultiScaleImage
*instance
);
2079 void multi_scale_image_handle_dz_parsed (MultiScaleImage
*instance
);
2081 void multi_scale_image_invalidate_tile_layer (MultiScaleImage
*instance
, int level
, int tilePositionX
, int tilePositionY
, int tileLayer
);
2083 /* @GeneratePInvoke */
2084 Point
multi_scale_image_logical_to_element_point (MultiScaleImage
*instance
, Point logicalPoint
);
2086 /* @GeneratePInvoke */
2087 MultiScaleImage
*multi_scale_image_new (void);
2089 void multi_scale_image_on_source_property_changed (MultiScaleImage
*instance
);
2091 /* @GeneratePInvoke */
2092 void multi_scale_image_zoom_about_logical_point (MultiScaleImage
*instance
, double zoomIncrementFactor
, double zoomCenterLogicalX
, double zoomCenterLogicalY
);
2095 * MultiScaleSubImage
2097 gint32
multi_scale_sub_image_get_zindex (MultiScaleSubImage
*instance
);
2099 /* @GeneratePInvoke */
2100 MultiScaleSubImage
*multi_scale_sub_image_new (void);
2103 * MultiScaleSubImageCollection
2105 /* @GeneratePInvoke */
2106 MultiScaleSubImageCollection
*multi_scale_sub_image_collection_new (void);
2109 * MultiScaleTileSource
2111 /* @GeneratePInvoke */
2112 void multi_scale_tile_source_invalidate_tile_layer (MultiScaleTileSource
*instance
, int level
, int tilePositionX
, int tilePositionY
, int tileLayer
);
2114 /* @GeneratePInvoke */
2115 MultiScaleTileSource
*multi_scale_tile_source_new (void);
2117 /* @GeneratePInvoke */
2118 void multi_scale_tile_source_set_image_uri_func (MultiScaleTileSource
*instance
, get_image_uri_func func
);
2123 NameScope
*name_scope_new (void);
2126 * ObjectAnimationUsingKeyFrames
2128 /* @GeneratePInvoke */
2129 ObjectAnimationUsingKeyFrames
*object_animation_using_key_frames_new (void);
2134 /* @GeneratePInvoke */
2135 ObjectKeyFrame
*object_key_frame_new (void);
2138 * ObjectKeyFrameCollection
2140 /* @GeneratePInvoke */
2141 ObjectKeyFrameCollection
*object_key_frame_collection_new (void);
2144 * OutOfBrowserSettings
2146 /* @GeneratePInvoke */
2147 OutOfBrowserSettings
*out_of_browser_settings_new (void);
2152 /* @GeneratePInvoke */
2153 Panel
*panel_new (void);
2158 /* @GeneratePInvoke */
2159 ParallelTimeline
*parallel_timeline_new (void);
2164 /* @GeneratePInvoke */
2165 PasswordBox
*password_box_new (void);
2170 /* @GeneratePInvoke */
2171 Path
*path_new (void);
2176 /* @GeneratePInvoke */
2177 PathFigure
*path_figure_new (void);
2180 * PathFigureCollection
2182 /* @GeneratePInvoke */
2183 PathFigureCollection
*path_figure_collection_new (void);
2188 /* @GeneratePInvoke */
2189 PathGeometry
*path_geometry_new (void);
2194 /* @GeneratePInvoke */
2195 PathSegment
*path_segment_new (void);
2198 * PathSegmentCollection
2200 /* @GeneratePInvoke */
2201 PathSegmentCollection
*path_segment_collection_new (void);
2206 /* @GeneratePInvoke */
2207 PointAnimation
*point_animation_new (void);
2210 * PointAnimationUsingKeyFrames
2212 /* @GeneratePInvoke */
2213 PointAnimationUsingKeyFrames
*point_animation_using_key_frames_new (void);
2218 /* @GeneratePInvoke */
2219 PointCollection
*point_collection_new (void);
2224 /* @GeneratePInvoke */
2225 PointKeyFrame
*point_key_frame_new (void);
2228 * PointKeyFrameCollection
2230 /* @GeneratePInvoke */
2231 PointKeyFrameCollection
*point_key_frame_collection_new (void);
2236 /* @GeneratePInvoke */
2237 PolyBezierSegment
*poly_bezier_segment_new (void);
2239 void poly_bezier_segment_set_points (PolyBezierSegment
*instance
, PointCollection
*points
);
2244 /* @GeneratePInvoke */
2245 Polygon
*polygon_new (void);
2250 /* @GeneratePInvoke */
2251 Polyline
*polyline_new (void);
2256 /* @GeneratePInvoke */
2257 PolyLineSegment
*poly_line_segment_new (void);
2260 * PolyQuadraticBezierSegment
2262 /* @GeneratePInvoke */
2263 PolyQuadraticBezierSegment
*poly_quadratic_bezier_segment_new (void);
2268 /* @GeneratePInvoke */
2269 Popup
*popup_new (void);
2274 /* @GeneratePInvoke */
2275 double power_ease_ease_in_core (PowerEase
*instance
, double normalizedTime
);
2277 /* @GeneratePInvoke */
2278 PowerEase
*power_ease_new (void);
2281 * PropertyChangedEventArgs
2283 /* @GeneratePInvoke */
2284 int property_changed_event_args_get_id (PropertyChangedEventArgs
*instance
);
2286 /* @GeneratePInvoke */
2287 Value
*property_changed_event_args_get_new_value (PropertyChangedEventArgs
*instance
);
2289 /* @GeneratePInvoke */
2290 Value
*property_changed_event_args_get_old_value (PropertyChangedEventArgs
*instance
);
2292 /* @GeneratePInvoke */
2293 DependencyProperty
*property_changed_event_args_get_property (PropertyChangedEventArgs
*instance
);
2296 * QuadraticBezierSegment
2298 /* @GeneratePInvoke */
2299 QuadraticBezierSegment
*quadratic_bezier_segment_new (void);
2304 /* @GeneratePInvoke */
2305 double quadratic_ease_ease_in_core (QuadraticEase
*instance
, double normalizedTime
);
2307 /* @GeneratePInvoke */
2308 QuadraticEase
*quadratic_ease_new (void);
2313 /* @GeneratePInvoke */
2314 double quartic_ease_ease_in_core (QuarticEase
*instance
, double normalizedTime
);
2316 /* @GeneratePInvoke */
2317 QuarticEase
*quartic_ease_new (void);
2322 /* @GeneratePInvoke */
2323 double quintic_ease_ease_in_core (QuinticEase
*instance
, double normalizedTime
);
2325 /* @GeneratePInvoke */
2326 QuinticEase
*quintic_ease_new (void);
2329 * RadialGradientBrush
2331 /* @GeneratePInvoke */
2332 RadialGradientBrush
*radial_gradient_brush_new (void);
2337 /* @GeneratePInvoke */
2338 Rectangle
*rectangle_new (void);
2343 /* @GeneratePInvoke */
2344 RectangleGeometry
*rectangle_geometry_new (void);
2347 * RenderingEventArgs
2349 /* @GeneratePInvoke */
2350 TimeSpan
rendering_event_args_get_rendering_time (RenderingEventArgs
*instance
);
2353 * ResourceDictionary
2355 /* @GeneratePInvoke */
2356 bool resource_dictionary_add_with_error (ResourceDictionary
*instance
, const char *key
, Value
*value
, MoonError
*error
);
2358 /* @GeneratePInvoke */
2359 bool resource_dictionary_clear (ResourceDictionary
*instance
);
2361 /* @GeneratePInvoke */
2362 bool resource_dictionary_contains_key (ResourceDictionary
*instance
, const char *key
);
2364 /* @GeneratePInvoke */
2365 Value
*resource_dictionary_get (ResourceDictionary
*instance
, const char *key
, bool *exists
);
2367 /* @GeneratePInvoke */
2368 bool resource_dictionary_remove (ResourceDictionary
*instance
, const char *key
);
2370 /* @GeneratePInvoke */
2371 ResourceDictionary
*resource_dictionary_new (void);
2373 /* @GeneratePInvoke */
2374 bool resource_dictionary_set (ResourceDictionary
*instance
, const char *key
, Value
*value
);
2377 * ResourceDictionaryCollection
2379 /* @GeneratePInvoke */
2380 ResourceDictionaryCollection
*resource_dictionary_collection_new (void);
2385 /* @GeneratePInvoke */
2386 RotateTransform
*rotate_transform_new (void);
2391 /* @GeneratePInvoke */
2392 bool routed_event_args_get_handled (RoutedEventArgs
*instance
);
2394 /* @GeneratePInvoke */
2395 DependencyObject
*routed_event_args_get_source (RoutedEventArgs
*instance
);
2397 /* @GeneratePInvoke */
2398 RoutedEventArgs
*routed_event_args_new (void);
2400 /* @GeneratePInvoke */
2401 void routed_event_args_set_handled (RoutedEventArgs
*instance
, bool handled
);
2403 /* @GeneratePInvoke */
2404 void routed_event_args_set_source (RoutedEventArgs
*instance
, DependencyObject
*el
);
2409 /* @GeneratePInvoke */
2410 RowDefinition
*row_definition_new (void);
2413 * RowDefinitionCollection
2415 /* @GeneratePInvoke */
2416 RowDefinitionCollection
*row_definition_collection_new (void);
2421 /* @GeneratePInvoke */
2422 Run
*run_new (void);
2427 /* @GeneratePInvoke */
2428 ScaleTransform
*scale_transform_new (void);
2433 /* @GeneratePInvoke */
2434 Setter
*setter_new (void);
2439 /* @GeneratePInvoke */
2440 SetterBase
*setter_base_new (void);
2443 * SetterBaseCollection
2445 /* @GeneratePInvoke */
2446 SetterBaseCollection
*setter_base_collection_new (void);
2451 /* @GeneratePInvoke */
2452 Transform
*shape_get_geometry_transform (Shape
*instance
);
2454 /* @GeneratePInvoke */
2455 Shape
*shape_new (void);
2460 /* @GeneratePInvoke */
2461 double sine_ease_ease_in_core (SineEase
*instance
, double normalizedTime
);
2463 /* @GeneratePInvoke */
2464 SineEase
*sine_ease_new (void);
2467 * SizeChangedEventArgs
2469 /* @GeneratePInvoke */
2470 SizeChangedEventArgs
*size_changed_event_args_new (void);
2475 /* @GeneratePInvoke */
2476 SkewTransform
*skew_transform_new (void);
2481 /* @GeneratePInvoke */
2482 SolidColorBrush
*solid_color_brush_new (void);
2485 * SplineColorKeyFrame
2487 /* @GeneratePInvoke */
2488 SplineColorKeyFrame
*spline_color_key_frame_new (void);
2491 * SplineDoubleKeyFrame
2493 /* @GeneratePInvoke */
2494 SplineDoubleKeyFrame
*spline_double_key_frame_new (void);
2497 * SplinePointKeyFrame
2499 /* @GeneratePInvoke */
2500 SplinePointKeyFrame
*spline_point_key_frame_new (void);
2505 /* @GeneratePInvoke */
2506 bool storyboard_begin_with_error (Storyboard
*instance
, MoonError
*error
);
2508 /* @GeneratePInvoke */
2509 int storyboard_get_current_state (Storyboard
*instance
);
2511 /* @GeneratePInvoke */
2512 TimeSpan
storyboard_get_current_time (Storyboard
*instance
);
2514 /* @GeneratePInvoke */
2515 DependencyProperty
*storyboard_get_target_dependency_property (Storyboard
*instance
);
2517 /* @GeneratePInvoke */
2518 void storyboard_pause_with_error (Storyboard
*instance
, MoonError
*error
);
2520 /* @GeneratePInvoke */
2521 void storyboard_resume_with_error (Storyboard
*instance
, MoonError
*error
);
2523 /* @GeneratePInvoke */
2524 void storyboard_seek_aligned_to_last_tick_with_error (Storyboard
*instance
, TimeSpan timespan
, MoonError
*error
);
2526 /* @GeneratePInvoke */
2527 void storyboard_seek_with_error (Storyboard
*instance
, TimeSpan timespan
, MoonError
*error
);
2529 /* @GeneratePInvoke */
2530 void storyboard_skip_to_fill_with_error (Storyboard
*instance
, MoonError
*error
);
2532 /* @GeneratePInvoke */
2533 void storyboard_stop_with_error (Storyboard
*instance
, MoonError
*error
);
2535 /* @GeneratePInvoke */
2536 Storyboard
*storyboard_new (void);
2541 /* @GeneratePInvoke */
2542 bool stroke_hit_test (Stroke
*instance
, StylusPointCollection
*stylusPoints
);
2544 /* @GeneratePInvoke */
2545 Stroke
*stroke_new (void);
2550 /* @GeneratePInvoke */
2551 StrokeCollection
*stroke_collection_hit_test (StrokeCollection
*instance
, StylusPointCollection
*stylusPoints
);
2553 /* @GeneratePInvoke */
2554 StrokeCollection
*stroke_collection_new (void);
2559 /* @GeneratePInvoke */
2560 void style_seal (Style
*instance
);
2562 /* @GeneratePInvoke */
2563 Style
*style_new (void);
2568 /* @GeneratePInvoke */
2569 StylusInfo
*stylus_info_new (void);
2574 /* @GeneratePInvoke */
2575 double stylus_point_get_pressure_factor (StylusPoint
*instance
);
2577 /* @GeneratePInvoke */
2578 double stylus_point_get_x (StylusPoint
*instance
);
2580 /* @GeneratePInvoke */
2581 double stylus_point_get_y (StylusPoint
*instance
);
2583 /* @GeneratePInvoke */
2584 void stylus_point_set_pressure_factor (StylusPoint
*instance
, double factor
);
2586 /* @GeneratePInvoke */
2587 void stylus_point_set_x (StylusPoint
*instance
, double x
);
2589 /* @GeneratePInvoke */
2590 void stylus_point_set_y (StylusPoint
*instance
, double y
);
2592 /* @GeneratePInvoke */
2593 StylusPoint
*stylus_point_new (void);
2596 * StylusPointCollection
2598 /* @GeneratePInvoke */
2599 double stylus_point_collection_add_stylus_points (StylusPointCollection
*instance
, StylusPointCollection
*stylusPointCollection
);
2601 /* @GeneratePInvoke */
2602 StylusPointCollection
*stylus_point_collection_new (void);
2607 /* @GeneratePInvoke */
2608 void surface_attach (Surface
*instance
, UIElement
*toplevel
);
2610 /* @GeneratePInvoke */
2611 Downloader
*surface_create_downloader (Surface
*instance
);
2613 /* @GeneratePInvoke */
2614 void surface_emit_error (Surface
*instance
, int number
, int code
, const char *message
);
2616 /* @GeneratePInvoke */
2617 Color
*surface_get_background_color (Surface
*instance
);
2619 /* @GeneratePInvoke */
2620 UIElement
*surface_get_focused_element (Surface
*instance
);
2622 /* @GeneratePInvoke */
2623 bool surface_get_full_screen (Surface
*instance
);
2625 /* @GeneratePInvoke */
2626 TimeManager
*surface_get_time_manager (Surface
*instance
);
2628 /* @GeneratePInvoke */
2629 UIElement
*surface_get_toplevel (Surface
*instance
);
2631 MoonWindow
*surface_get_window (Surface
*instance
);
2633 /* @GeneratePInvoke */
2634 bool surface_in_main_thread (void);
2636 /* @GeneratePInvoke */
2637 bool surface_is_loaded (Surface
*instance
);
2639 /* @GeneratePInvoke */
2640 bool surface_is_user_initiated_event (Surface
*instance
);
2642 /* @GeneratePInvoke */
2643 bool surface_is_version_supported (const char *version
);
2645 /* @GeneratePInvoke */
2646 void surface_paint (Surface
*instance
, cairo_t
*ctx
, int x
, int y
, int width
, int height
);
2648 /* @GeneratePInvoke */
2649 void surface_resize (Surface
*instance
, int width
, int height
);
2651 /* @GeneratePInvoke */
2652 void surface_set_full_screen (Surface
*instance
, bool value
);
2654 /* @GeneratePInvoke */
2655 Surface
*surface_new (MoonWindow
*window
);
2658 * TabNavigationWalker
2660 /* @GeneratePInvoke */
2661 bool tab_navigation_walker_focus (UIElement
*element
, bool forwards
);
2666 /* @GeneratePInvoke */
2667 TextBlock
*text_block_new (void);
2672 /* @GeneratePInvoke */
2673 TextBox
*text_box_new (void);
2678 /* @GeneratePInvoke */
2679 void text_box_base_on_got_focus (TextBoxBase
*instance
, RoutedEventArgs
*args
);
2681 /* @GeneratePInvoke */
2682 void text_box_base_on_key_down (TextBoxBase
*instance
, KeyEventArgs
*args
);
2684 /* @GeneratePInvoke */
2685 void text_box_base_on_key_up (TextBoxBase
*instance
, KeyEventArgs
*args
);
2687 /* @GeneratePInvoke */
2688 void text_box_base_on_lost_focus (TextBoxBase
*instance
, RoutedEventArgs
*args
);
2690 /* @GeneratePInvoke */
2691 void text_box_base_on_mouse_left_button_down (TextBoxBase
*instance
, MouseButtonEventArgs
*args
);
2693 /* @GeneratePInvoke */
2694 void text_box_base_on_mouse_left_button_up (TextBoxBase
*instance
, MouseButtonEventArgs
*args
);
2696 /* @GeneratePInvoke */
2697 void text_box_base_on_mouse_move (TextBoxBase
*instance
, MouseEventArgs
*args
);
2699 /* @GeneratePInvoke */
2700 void text_box_base_post_on_key_down (TextBoxBase
*instance
, KeyEventArgs
*args
);
2702 /* @GeneratePInvoke */
2703 void text_box_base_select_all (TextBoxBase
*instance
);
2705 /* @GeneratePInvoke */
2706 bool text_box_base_select_with_error (TextBoxBase
*instance
, int start
, int length
, MoonError
*error
);
2711 /* @GeneratePInvoke */
2712 TextBoxView
*text_box_view_new (void);
2715 * TextChangedEventArgs
2717 /* @GeneratePInvoke */
2718 TextChangedEventArgs
*text_changed_event_args_new (void);
2723 /* @GeneratePInvoke */
2724 TileBrush
*tile_brush_new (void);
2729 /* @GeneratePInvoke */
2730 DependencyObject
*timeline_get_manual_target (Timeline
*instance
);
2732 /* @GeneratePInvoke */
2733 void timeline_set_manual_target (Timeline
*instance
, DependencyObject
*o
);
2735 /* @GeneratePInvoke */
2736 Timeline
*timeline_new (void);
2739 * TimelineCollection
2741 /* @GeneratePInvoke */
2742 TimelineCollection
*timeline_collection_new (void);
2747 /* @GeneratePInvoke */
2748 TimelineGroup
*timeline_group_new (void);
2753 /* @GeneratePInvoke */
2754 TimelineMarker
*timeline_marker_new (void);
2757 * TimelineMarkerCollection
2759 /* @GeneratePInvoke */
2760 TimelineMarkerCollection
*timeline_marker_collection_new (void);
2765 /* @GeneratePInvoke */
2766 void time_manager_add_dispatcher_call (TimeManager
*instance
, TickCallHandler handler
, EventObject
*tick_data
);
2768 /* @GeneratePInvoke */
2769 void time_manager_add_tick_call (TimeManager
*instance
, TickCallHandler handler
, EventObject
*tick_data
);
2771 guint
time_manager_add_timeout (TimeManager
*instance
, gint priority
, guint ms_interval
, GSourceFunc func
, gpointer timeout_data
);
2773 /* @GeneratePInvoke */
2774 int time_manager_get_maximum_refresh_rate (TimeManager
*instance
);
2776 /* @GeneratePInvoke */
2777 void time_manager_remove_tick_call (TimeManager
*instance
, TickCallHandler handler
, EventObject
*tick_data
);
2779 void time_manager_remove_timeout (TimeManager
*instance
, guint timeout_id
);
2781 /* @GeneratePInvoke */
2782 void time_manager_set_maximum_refresh_rate (TimeManager
*instance
, int hz
);
2787 /* @GeneratePInvoke */
2788 Transform
*transform_new (void);
2791 * TransformCollection
2793 /* @GeneratePInvoke */
2794 TransformCollection
*transform_collection_new (void);
2799 /* @GeneratePInvoke */
2800 TransformGroup
*transform_group_new (void);
2803 * TranslateTransform
2805 /* @GeneratePInvoke */
2806 TranslateTransform
*translate_transform_new (void);
2811 void trigger_action_fire (TriggerAction
*instance
);
2813 /* @GeneratePInvoke */
2814 TriggerAction
*trigger_action_new (void);
2817 * TriggerActionCollection
2819 /* @GeneratePInvoke */
2820 TriggerActionCollection
*trigger_action_collection_new (void);
2825 /* @GeneratePInvoke */
2826 TriggerBase
*trigger_base_new (void);
2831 /* @GeneratePInvoke */
2832 TriggerCollection
*trigger_collection_new (void);
2837 /* @GeneratePInvoke */
2838 void types_free (Types
*instance
);
2840 /* @GeneratePInvoke */
2841 Type
*types_find (Types
*instance
, int type
);
2843 int types_register_type (Types
*instance
, const char *name
, void *gc_handle
, int parent
, bool is_interface
, bool ctor_visible
, int *interfaces
, int interface_count
);
2845 /* @GeneratePInvoke */
2846 Types
*types_new (void);
2851 /* @GeneratePInvoke */
2852 void uielement_arrange (UIElement
*instance
, Rect finalRect
);
2854 /* @GeneratePInvoke */
2855 bool uielement_capture_mouse (UIElement
*instance
);
2857 /* @GeneratePInvoke */
2858 void uielement_element_added (UIElement
*instance
, UIElement
*obj
);
2860 /* @GeneratePInvoke */
2861 void uielement_element_removed (UIElement
*instance
, UIElement
*obj
);
2863 /* @GeneratePInvoke */
2864 void uielement_find_elements_in_host_coordinates_p (UIElement
*instance
, Point p
, HitTestCollection
*uielement_list
);
2866 /* @GeneratePInvoke */
2867 void uielement_find_elements_in_host_coordinates_r (UIElement
*instance
, Rect p
, HitTestCollection
*uielement_list
);
2869 /* @GeneratePInvoke */
2870 bool uielement_focus (UIElement
*instance
, bool recurse
);
2872 /* @GeneratePInvoke */
2873 Size
uielement_get_desired_size (UIElement
*instance
);
2875 /* @GeneratePInvoke */
2876 Size
uielement_get_render_size (UIElement
*instance
);
2878 /* @GeneratePInvoke */
2879 DependencyObject
*uielement_get_subtree_object (UIElement
*instance
);
2881 /* @GeneratePInvoke */
2882 GeneralTransform
*uielement_get_transform_to_uielement_with_error (UIElement
*instance
, UIElement
*to_element
, MoonError
*error
);
2884 /* @GeneratePInvoke */
2885 UIElement
*uielement_get_visual_parent (UIElement
*instance
);
2887 void uielement_invalidate (UIElement
*instance
);
2889 /* @GeneratePInvoke */
2890 void uielement_invalidate_arrange (UIElement
*instance
);
2892 /* @GeneratePInvoke */
2893 void uielement_invalidate_measure (UIElement
*instance
);
2895 /* @GeneratePInvoke */
2896 void uielement_measure (UIElement
*instance
, Size availableSize
);
2898 /* @GeneratePInvoke */
2899 void uielement_release_mouse_capture (UIElement
*instance
);
2901 /* @GeneratePInvoke */
2902 void uielement_set_subtree_object (UIElement
*instance
, DependencyObject
*value
);
2904 /* @GeneratePInvoke */
2905 void uielement_update_layout (UIElement
*instance
);
2908 * UIElementCollection
2910 /* @GeneratePInvoke */
2911 UIElementCollection
*uielement_collection_new (void);
2916 /* @GeneratePInvoke */
2917 UnmanagedMatrix
*unmanaged_matrix_new (void);
2922 bool uri_equals (const Uri
*left
, const Uri
*right
);
2924 /* @GeneratePInvoke */
2925 void uri_free (Uri
*instance
);
2927 guint
uri_get_hash_code (Uri
*instance
);
2929 /* @GeneratePInvoke */
2930 bool uri_parse (Uri
*instance
, const char *uri
, bool allow_trailing_sep
);
2935 /* @GeneratePInvoke */
2936 UserControl
*user_control_new (void);
2941 /* @GeneratePInvoke */
2942 void video_brush_set_source (VideoBrush
*instance
, MediaElement
*source
);
2944 /* @GeneratePInvoke */
2945 VideoBrush
*video_brush_new (void);
2950 guint32
video_stream_get_height (VideoStream
*instance
);
2952 guint32
video_stream_get_width (VideoStream
*instance
);
2954 /* @GeneratePInvoke */
2955 VideoStream
*video_stream_new (Media
*media
, int codec_id
, guint32 width
, guint32 height
, guint64 duration
, gpointer extra_data
, guint32 extra_data_size
);
2960 /* @GeneratePInvoke */
2961 VisualBrush
*visual_brush_new (void);
2966 /* @GeneratePInvoke */
2967 gpointer
writeable_bitmap_initialize_from_bitmap_source (WriteableBitmap
*instance
, BitmapSource
*source
);
2969 /* @GeneratePInvoke */
2970 void writeable_bitmap_lock (WriteableBitmap
*instance
);
2972 /* @GeneratePInvoke */
2973 void writeable_bitmap_render (WriteableBitmap
*instance
, UIElement
*element
, Transform
*transform
);
2975 /* @GeneratePInvoke */
2976 void writeable_bitmap_unlock (WriteableBitmap
*instance
);
2978 /* @GeneratePInvoke */
2979 WriteableBitmap
*writeable_bitmap_new (void);
2984 /* @GeneratePInvoke */
2985 DependencyObject
*xaml_context_get_template_binding_source (XamlContext
*instance
);
2990 /* @GeneratePInvoke */
2991 Value
*xaml_loader_create_from_file_with_error (XamlLoader
*instance
, const char *xaml
, bool create_namescope
, int *element_type
, MoonError
*error
);
2993 /* @GeneratePInvoke */
2994 Value
*xaml_loader_create_from_string_with_error (XamlLoader
*instance
, const char *xaml
, bool create_namescope
, int *element_type
, int flags
, MoonError
*error
);
2996 /* @GeneratePInvoke */
2997 XamlContext
*xaml_loader_get_context (XamlLoader
*instance
);
2999 /* @GeneratePInvoke */
3000 Value
*xaml_loader_hydrate_from_string_with_error (XamlLoader
*instance
, const char *xaml
, Value
*obj
, bool create_namescope
, int *element_type
, int flags
, MoonError
*error
);
3005 /* @GeneratePInvoke */
3006 char *xap_unpack (const char *fname
);