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 MediaReportSeekCompletedClosure
;
156 class MediaSeekClosure
;
160 class MmsPlaylistEntry
;
161 class MmsSecondDownloader
;
163 class MouseButtonEventArgs
;
164 class MouseEventArgs
;
165 class MouseWheelEventArgs
;
167 class MultiScaleImage
;
168 class MultiScaleSubImage
;
169 class MultiScaleSubImageCollection
;
170 class MultiScaleTileSource
;
173 class ObjectAnimationUsingKeyFrames
;
174 class ObjectKeyFrame
;
175 class ObjectKeyFrameCollection
;
176 class OutOfBrowserSettings
;
178 class ParallelTimeline
;
179 class ParserErrorEventArgs
;
180 class PassThroughDecoder
;
184 class PathFigureCollection
;
187 class PathSegmentCollection
;
191 class PointCollection
;
192 class PointAnimation
;
193 class PointAnimationUsingKeyFrames
;
195 class PointKeyFrameCollection
;
196 class PolyBezierSegment
;
199 class PolyLineSegment
;
200 class PolyQuadraticBezierSegment
;
203 class ProgressEventArgs
;
204 class ProgressiveSource
;
205 class PropertyChangedEventArgs
;
207 class QuadraticBezierSegment
;
211 class RadialGradientBrush
;
213 class RectangleGeometry
;
214 class RenderingEventArgs
;
215 class ResourceDictionary
;
216 class ResourceDictionaryCollection
;
217 class RotateTransform
;
218 class RoutedEventArgs
;
220 class RowDefinitionCollection
;
222 class ScaleTransform
;
225 class SetterBaseCollection
;
228 class SizeChangedEventArgs
;
230 class SolidColorBrush
;
231 class SplineColorKeyFrame
;
232 class SplineDoubleKeyFrame
;
233 class SplinePointKeyFrame
;
236 class StrokeCollection
;
240 class StylusPointCollection
;
242 class SystemTimeSource
;
246 class TextBoxModelChangedEventArgs
;
248 class TextChangedEventArgs
;
251 class TimelineCollection
;
253 class TimelineMarker
;
254 class TimelineMarkerCollection
;
258 class TransformCollection
;
259 class TransformGroup
;
260 class TranslateTransform
;
261 class TriggerCollection
;
263 class TriggerActionCollection
;
266 class UIElementCollection
;
267 class UnmanagedMatrix
;
272 class WriteableBitmap
;
280 class AnimationClock
;
281 class AnimationStorage
;
287 class ASFDemuxerInfo
;
288 class ASFFrameReader
;
289 class ASFMarkerDecoder
;
290 class ASFMarkerDecoderInfo
;
295 class AssemblyPartCollection
;
297 class ASXDemuxerInfo
;
303 class AutoCreatePropertyValueProvider
;
306 class BeginStoryboard
;
319 class CodecDownloader
;
321 class CollectionChangedEventArgs
;
322 class CollectionItemChangedEventArgs
;
323 class CollectionIterator
;
324 class ColorAnimation
;
325 class ColorAnimationUsingKeyFrames
;
327 class ColorKeyFrameCollection
;
328 class ColumnDefinition
;
329 class ColumnDefinitionCollection
;
330 class ContentChangedEventArgs
;
331 class ContentControl
;
332 class ContentDescription
;
333 class ContentDescriptionList
;
335 class ControlTemplate
;
338 class CursorPositionChangedEventArgs
;
341 class DeepTreeWalker
;
342 class DeepZoomImageTileSource
;
343 class DefaultValuePropertyValueProvider
;
345 class DependencyObject
;
346 class DependencyObjectCollection
;
347 class DependencyProperty
;
349 class DeploymentStack
;
351 class DiscreteColorKeyFrame
;
352 class DiscreteDoubleKeyFrame
;
353 class DiscreteObjectKeyFrame
;
354 class DiscretePointKeyFrame
;
355 class DispatcherTimer
;
356 class DoubleAnimation
;
357 class DoubleAnimationUsingKeyFrames
;
358 class DoubleCollection
;
359 class DoubleKeyFrame
;
360 class DoubleKeyFrameCollection
;
362 class DownloaderRequest
;
363 class DownloaderResponse
;
364 class DownloadProgressEventArgs
;
365 class DrawingAttributes
;
366 class EasingColorKeyFrame
;
367 class EasingDoubleKeyFrame
;
368 class EasingFunctionBase
;
369 class EasingPointKeyFrame
;
372 class EllipseGeometry
;
373 class ErrorEventArgs
;
375 class EventListenerProxy
;
378 class ExponentialEase
;
380 class ExternalDecoder
;
381 class ExternalDecoderInfo
;
382 class ExternalDemuxer
;
384 class ExternalPartCollection
;
386 class FfmpegDecoderInfo
;
388 class FileDownloader
;
392 class FrameworkElement
;
393 class FrameworkElementProvider
;
394 class FrameworkTemplate
;
395 class GeneralTransform
;
397 class GeometryCollection
;
402 class GradientStopCollection
;
405 class HitTestCollection
;
407 class IImageConverter
;
410 class ImageErrorEventArgs
;
417 class InheritedPropertyValueProvider
;
420 class InlineCollection
;
422 class InternalDownloader
;
423 class ItemCollection
;
424 class ITextAttributes
;
428 class KeyFrameCollection
;
430 class LayoutInformation
;
432 class LinearColorKeyFrame
;
433 class LinearDoubleKeyFrame
;
434 class LinearGradientBrush
;
435 class LinearPointKeyFrame
;
440 class LocalPropertyValueProvider
;
441 class ManagedStreamSource
;
442 class ManualTimeSource
;
443 class MarkerReachedEventArgs
;
446 class MatrixTransform
;
448 class MediaAttribute
;
449 class MediaAttributeCollection
;
452 class MediaDisposeObjectClosure
;
454 class MediaElementPropertyValueProvider
;
456 class MediaGetFrameClosure
;
459 class MediaMarkerFoundClosure
;
461 class MediaReportSeekCompletedClosure
;
462 class MediaSeekClosure
;
463 class MediaThreadPool
;
468 class MmsPlaylistEntry
;
469 class MmsSecondDownloader
;
472 class MoonlightConfiguration
;
475 class MoonWindowless
;
476 class MouseButtonEventArgs
;
477 class MouseEventArgs
;
478 class MouseWheelEventArgs
;
480 class Mp3DemuxerInfo
;
481 class Mp3FrameReader
;
482 class MultiScaleImage
;
483 class MultiScaleImagePropertyValueProvider
;
484 class MultiScaleSubImage
;
485 class MultiScaleSubImageCollection
;
486 class MultiScaleTileSource
;
489 class NPStreamRequest
;
491 class NullDecoderInfo
;
492 class ObjectAnimationUsingKeyFrames
;
493 class ObjectKeyFrame
;
494 class ObjectKeyFrameCollection
;
496 class OutOfBrowserSettings
;
498 class ParallelTimeline
;
499 class ParserErrorEventArgs
;
500 class PassThroughDecoder
;
501 class PassThroughDecoderInfo
;
505 class PathFigureCollection
;
508 class PathSegmentCollection
;
513 class PlaylistParser
;
514 class PlaylistParserInternal
;
516 class PluginDownloader
;
517 class PluginInstance
;
518 class PluginXamlLoader
;
519 class PointAnimation
;
520 class PointAnimationUsingKeyFrames
;
521 class PointCollection
;
523 class PointKeyFrameCollection
;
524 class PolyBezierSegment
;
527 class PolyLineSegment
;
528 class PolyQuadraticBezierSegment
;
531 class ProgressEventArgs
;
532 class ProgressiveSource
;
533 class PropertyChangedEventArgs
;
534 class PropertyValueProvider
;
537 class QuadraticBezierSegment
;
542 class RadialGradientBrush
;
544 class RectangleGeometry
;
546 class RenderingEventArgs
;
548 class ResourceDictionary
;
549 class ResourceDictionaryCollection
;
550 class RotateTransform
;
551 class RoutedEventArgs
;
553 class RowDefinitionCollection
;
555 class ScaleTransform
;
558 class SetterBaseCollection
;
561 class SizeChangedEventArgs
;
563 class SolidColorBrush
;
564 class SplineColorKeyFrame
;
565 class SplineDoubleKeyFrame
;
566 class SplinePointKeyFrame
;
570 class StrokeCollection
;
572 class StylePropertyValueProvider
;
575 class StylusPointCollection
;
577 class SystemTimeSource
;
578 class TabNavigationWalker
;
582 class TextBoxModelChangedEventArgs
;
584 class TextChangedEventArgs
;
586 class TextFontDescription
;
588 class TextLayoutAttributes
;
592 class TimelineCollection
;
594 class TimelineMarker
;
595 class TimelineMarkerCollection
;
598 class ToggleNotifyListener
;
600 class TransformCollection
;
601 class TransformGroup
;
602 class TranslateTransform
;
604 class TriggerActionCollection
;
606 class TriggerCollection
;
610 class UIElementCollection
;
612 class UnmanagedMatrix
;
618 class VisualTreeWalker
;
619 class WriteableBitmap
;
624 class YUVConverterInfo
;
626 struct asf_bitrate_mutual_exclusion
;
627 struct asf_codec_list
;
628 struct asf_content_description
;
630 struct asf_error_correction
;
631 struct asf_error_correction_data
;
632 struct asf_extended_content_description
;
633 struct asf_extended_stream_name
;
634 struct asf_extended_stream_properties
;
635 struct asf_file_properties
;
638 struct asf_header_extension
;
640 struct asf_marker_entry
;
641 struct asf_multiple_payloads
;
643 struct asf_payload_extension_system
;
644 struct asf_payload_parsing_information
;
645 struct asf_script_command
;
646 struct asf_script_command_entry
;
647 struct asf_single_payload
;
648 struct asf_stream_bitrate_properties
;
649 struct asf_stream_properties
;
650 struct asf_video_stream_data
;
652 struct ASFFrameReaderData
;
653 struct ASFFrameReaderIndex
;
655 struct BITMAPINFOHEADER
;
659 struct FontFaceExtents
;
669 struct ManagedStreamCallbacks
;
670 struct ManagedTypeInfo
;
671 struct MmsDataPacket
;
673 struct MmsHeaderReason
;
675 struct MoonlightCollectionObject
;
676 struct MoonlightCollectionType
;
677 struct MoonlightContentObject
;
678 struct MoonlightContentType
;
679 struct MoonlightControlObject
;
680 struct MoonlightControlType
;
681 struct MoonlightCornerRadius
;
682 struct MoonlightCornerRadiusType
;
683 struct MoonlightDependencyObjectObject
;
684 struct MoonlightDependencyObjectType
;
685 struct MoonlightDownloaderObject
;
686 struct MoonlightDownloaderType
;
687 struct MoonlightDownloadProgressEventArgs
;
688 struct MoonlightDownloadProgressEventArgsType
;
689 struct MoonlightDuration
;
690 struct MoonlightDurationType
;
691 struct MoonlightErrorEventArgs
;
692 struct MoonlightErrorEventArgsType
;
693 struct MoonlightEventArgs
;
694 struct MoonlightEventArgsType
;
695 struct MoonlightEventObjectObject
;
696 struct MoonlightEventObjectType
;
697 struct MoonlightGridLength
;
698 struct MoonlightGridLengthType
;
699 struct MoonlightImageBrushObject
;
700 struct MoonlightImageBrushType
;
701 struct MoonlightImageObject
;
702 struct MoonlightImageType
;
703 struct MoonlightKeyEventArgsObject
;
704 struct MoonlightKeyEventArgsType
;
705 struct MoonlightKeyTime
;
706 struct MoonlightKeyTimeType
;
707 struct MoonlightMarkerReachedEventArgsObject
;
708 struct MoonlightMarkerReachedEventArgsType
;
709 struct MoonlightMediaElementObject
;
710 struct MoonlightMediaElementType
;
711 struct MoonlightMouseEventArgsObject
;
712 struct MoonlightMouseEventArgsType
;
713 struct MoonlightMultiScaleImageObject
;
714 struct MoonlightMultiScaleImageType
;
715 struct MoonlightObject
;
716 struct MoonlightObjectType
;
717 struct MoonlightPasswordBoxObject
;
718 struct MoonlightPasswordBoxType
;
719 struct MoonlightPoint
;
720 struct MoonlightPointType
;
721 struct MoonlightRect
;
722 struct MoonlightRectType
;
723 struct MoonlightRoutedEventArgs
;
724 struct MoonlightRoutedEventArgsType
;
725 struct MoonlightScriptableObjectObject
;
726 struct MoonlightScriptableObjectType
;
727 struct MoonlightScriptControlObject
;
728 struct MoonlightScriptControlType
;
729 struct MoonlightSettingsObject
;
730 struct MoonlightSettingsType
;
731 struct MoonlightStoryboardObject
;
732 struct MoonlightStoryboardType
;
733 struct MoonlightStrokeCollectionObject
;
734 struct MoonlightStrokeCollectionType
;
735 struct MoonlightStrokeObject
;
736 struct MoonlightStrokeType
;
737 struct MoonlightStylusInfoObject
;
738 struct MoonlightStylusInfoType
;
739 struct MoonlightStylusPointCollectionObject
;
740 struct MoonlightStylusPointCollectionType
;
741 struct MoonlightTextBlockObject
;
742 struct MoonlightTextBlockType
;
743 struct MoonlightTextBoxObject
;
744 struct MoonlightTextBoxType
;
745 struct MoonlightThickness
;
746 struct MoonlightThicknessType
;
747 struct MoonlightTimeSpan
;
748 struct MoonlightTimeSpanType
;
749 struct MoonlightUIElementObject
;
750 struct MoonlightUIElementType
;
751 struct MoonNameIdMapping
;
753 struct MpegFrameHeader
;
754 struct MpegVBRHeader
;
758 struct RepeatBehavior
;
761 struct TextLayoutGlyphCluster
;
762 struct TextLayoutLine
;
763 struct TextLayoutRun
;
768 struct WAVEFORMATEXTENSIBLE
;
769 struct XamlCallbackData
;
770 struct XamlLoaderCallbacks
;
772 typedef void ( * ApplyDefaultStyleCallback
) ( FrameworkElement
* fwe
, ManagedTypeInfo
* key
) ;
773 typedef UIElement
* ( * GetDefaultTemplateRootCallback
) ( ContentControl
* ctrl_ptr
) ;
774 typedef void ( * ApplyStyleCallback
) ( FrameworkElement
* fwe
, Style
* style
) ;
775 typedef void * ( * ConvertKeyframeValueCallback
) ( int kind
, DependencyProperty
* property
, Value
* original
, Value
* converted
) ;
776 typedef ManagedStreamCallbacks ( * GetResourceCallback
) ( const char * resourceBase
, const char * name
) ;
777 typedef void ( * TickCallHandler
) ( EventObject
* object
) ;
778 typedef void ( * EventHandler
) ( EventObject
* sender
, EventArgs
* args
, gpointer closure
) ;
779 typedef void ( * ToggleNotifyHandler
) ( EventObject
* sender
, bool isLastRef
) ;
780 typedef void ( * PropertyChangeHandler
) ( DependencyObject
* sender
, PropertyChangedEventArgs
* args
, MoonError
* error
, gpointer closure
) ;
781 typedef void ( * DownloaderResponseHeaderCallback
) ( gpointer context
, const char * header
, const char * value
) ;
782 typedef void ( * DownloaderWriteFunc
) ( void * buf
, gint32 offset
, gint32 n
, gpointer cb_data
) ;
783 typedef void ( * DownloaderNotifySizeFunc
) ( gint64 size
, gpointer cb_data
) ;
784 typedef gpointer ( * DownloaderCreateStateFunc
) ( Downloader
* dl
) ;
785 typedef void ( * DownloaderDestroyStateFunc
) ( gpointer state
) ;
786 typedef void ( * DownloaderOpenFunc
) ( gpointer state
, const char * verb
, const char * uri
, bool custom_header_support
, bool disable_cache
) ;
787 typedef void ( * DownloaderSendFunc
) ( gpointer state
) ;
788 typedef void ( * DownloaderAbortFunc
) ( gpointer state
) ;
789 typedef void ( * DownloaderHeaderFunc
) ( gpointer state
, const char * header
, const char * value
) ;
790 typedef void ( * DownloaderBodyFunc
) ( gpointer state
, void * body
, guint32 length
) ;
791 typedef gpointer ( * DownloaderCreateWebRequestFunc
) ( const char * method
, const char * uri
, gpointer context
) ;
792 typedef void ( * DownloaderSetResponseHeaderCallbackFunc
) ( gpointer state
, DownloaderResponseHeaderCallback callback
, gpointer context
) ;
793 typedef DownloaderResponse
* ( * DownloaderGetResponseFunc
) ( gpointer state
) ;
794 typedef guint32 ( * DownloaderResponseStartedHandler
) ( DownloaderResponse
* response
, gpointer context
) ;
795 typedef guint32 ( * DownloaderResponseDataAvailableHandler
) ( DownloaderResponse
* response
, gpointer context
, char * buffer
, guint32 length
) ;
796 typedef guint32 ( * DownloaderResponseFinishedHandler
) ( DownloaderResponse
* response
, gpointer context
, bool success
, gpointer data
, const char * uri
) ;
797 typedef double ( * EasingFunction
) ( double normalizedTime
) ;
798 typedef Size ( * MeasureOverrideCallback
) ( Size availableSize
) ;
799 typedef Size ( * ArrangeOverrideCallback
) ( Size finalSize
) ;
800 typedef void ( * CloseDemuxerCallback
) ( void * instance
) ;
801 typedef void ( * GetDiagnosticAsyncCallback
) ( void * instance
, int diagnosticKind
) ;
802 typedef void ( * GetFrameAsyncCallback
) ( void * instance
, int mediaStreamType
) ;
803 typedef void ( * OpenDemuxerAsyncCallback
) ( void * instance
, IMediaDemuxer
* demuxer
) ;
804 typedef void ( * SeekAsyncCallback
) ( void * instance
, guint64 seekToTime
) ;
805 typedef void ( * SwitchMediaStreamAsyncCallback
) ( void * instance
, IMediaStream
* mediaStreamDescription
) ;
806 typedef void ( * ExternalDecoder_DecodeFrameAsyncCallback
) ( void * instance
, MediaFrame
* frame
) ;
807 typedef void ( * ExternalDecoder_OpenDecoderAsyncCallback
) ( void * instance
) ;
808 typedef void ( * ExternalDecoder_CleanupCallback
) ( void * instance
, MediaFrame
* frame
) ;
809 typedef void ( * ExternalDecoder_CleanStateCallback
) ( void * instance
) ;
810 typedef bool ( * ExternalDecoder_HasDelayedFrameCallback
) ( void * instance
) ;
811 typedef void ( * ExternalDecoder_DisposeCallback
) ( void * instance
) ;
812 typedef void ( * ExternalDecoder_DtorCallback
) ( void * instance
) ;
813 typedef bool ( * ExternalDecoderInfo_SupportsCallback
) ( void * instance
, const char * codec
) ;
814 typedef IMediaDecoder
* ( * ExternalDecoderInfo_Create
) ( void * instance
, Media
* media
, IMediaStream
* stream
) ;
815 typedef void ( * ExternalDecoderInfo_dtor
) ( void * instance
) ;
816 typedef bool ( * get_image_uri_func
) ( int level
, int posX
, int posY
, Uri
* uri
, void * user_data
) ;
817 typedef gint64 TimeSpan
;
825 /* @GeneratePInvoke */
826 Application
*application_new (void);
828 /* @GeneratePInvoke */
829 Application
*application_get_current (void);
831 /* @GeneratePInvoke */
832 void application_register_callbacks (Application
*instance
, ApplyDefaultStyleCallback apply_default_style_cb
, ApplyStyleCallback apply_style_cb
, GetResourceCallback get_resource_cb
, ConvertKeyframeValueCallback convert_keyframe_callback
, GetDefaultTemplateRootCallback get_default_template_root_cb
);
834 /* @GeneratePInvoke */
835 void application_set_current (Application
*current
);
840 /* @GeneratePInvoke */
841 ArcSegment
*arc_segment_new (void);
846 /* @GeneratePInvoke */
847 AssemblyPart
*assembly_part_new (void);
850 * AssemblyPartCollection
852 /* @GeneratePInvoke */
853 AssemblyPartCollection
*assembly_part_collection_new (void);
858 /* @GeneratePInvoke */
859 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
);
861 int audio_stream_get_bit_rate (AudioStream
*instance
);
863 int audio_stream_get_bits_per_sample (AudioStream
*instance
);
865 int audio_stream_get_block_align (AudioStream
*instance
);
867 int audio_stream_get_channels (AudioStream
*instance
);
869 int audio_stream_get_input_bit_rate (AudioStream
*instance
);
871 int audio_stream_get_input_bits_per_sample (AudioStream
*instance
);
873 int audio_stream_get_input_block_align (AudioStream
*instance
);
875 int audio_stream_get_input_channels (AudioStream
*instance
);
877 int audio_stream_get_input_sample_rate (AudioStream
*instance
);
879 int audio_stream_get_output_bit_rate (AudioStream
*instance
);
881 int audio_stream_get_output_bits_per_sample (AudioStream
*instance
);
883 int audio_stream_get_output_block_align (AudioStream
*instance
);
885 int audio_stream_get_output_channels (AudioStream
*instance
);
887 int audio_stream_get_output_sample_rate (AudioStream
*instance
);
889 int audio_stream_get_sample_rate (AudioStream
*instance
);
891 void audio_stream_set_bit_rate (AudioStream
*instance
, int value
);
893 void audio_stream_set_bits_per_sample (AudioStream
*instance
, int value
);
895 void audio_stream_set_block_align (AudioStream
*instance
, int value
);
897 void audio_stream_set_channels (AudioStream
*instance
, int value
);
899 void audio_stream_set_input_bit_rate (AudioStream
*instance
, int value
);
901 void audio_stream_set_input_bits_per_sample (AudioStream
*instance
, int value
);
903 void audio_stream_set_input_block_align (AudioStream
*instance
, int value
);
905 void audio_stream_set_input_channels (AudioStream
*instance
, int value
);
907 void audio_stream_set_input_sample_rate (AudioStream
*instance
, int value
);
909 void audio_stream_set_output_bit_rate (AudioStream
*instance
, int value
);
911 void audio_stream_set_output_bits_per_sample (AudioStream
*instance
, int value
);
913 void audio_stream_set_output_block_align (AudioStream
*instance
, int value
);
915 void audio_stream_set_output_channels (AudioStream
*instance
, int value
);
917 void audio_stream_set_output_sample_rate (AudioStream
*instance
, int value
);
919 void audio_stream_set_sample_rate (AudioStream
*instance
, int value
);
924 /* @GeneratePInvoke */
925 BackEase
*back_ease_new (void);
927 /* @GeneratePInvoke */
928 double back_ease_ease_in_core (BackEase
*instance
, double normalizedTime
);
933 /* @GeneratePInvoke */
934 BeginStoryboard
*begin_storyboard_new (void);
939 /* @GeneratePInvoke */
940 BezierSegment
*bezier_segment_new (void);
945 /* @GeneratePInvoke */
946 BitmapImage
*bitmap_image_new (void);
948 /* @GeneratePInvoke */
949 void bitmap_image_pixbuf_write (BitmapImage
*instance
, gpointer buffer
, gint32 offset
, gint32 n
);
951 /* @GeneratePInvoke */
952 void bitmap_image_pixmap_complete (BitmapImage
*instance
);
957 /* @GeneratePInvoke */
958 BitmapSource
*bitmap_source_new (void);
960 /* @GeneratePInvoke */
961 gpointer
bitmap_source_get_bitmap_data (BitmapSource
*instance
);
963 /* @GeneratePInvoke */
964 void bitmap_source_invalidate (BitmapSource
*instance
);
966 /* @GeneratePInvoke */
967 void bitmap_source_set_bitmap_data (BitmapSource
*instance
, gpointer data
, bool own
);
972 /* @GeneratePInvoke */
973 Border
*border_new (void);
978 /* @GeneratePInvoke */
979 BounceEase
*bounce_ease_new (void);
981 /* @GeneratePInvoke */
982 double bounce_ease_ease_in_core (BounceEase
*instance
, double normalizedTime
);
987 /* @GeneratePInvoke */
988 Brush
*brush_new (void);
993 /* @GeneratePInvoke */
994 Canvas
*canvas_new (void);
999 /* @GeneratePInvoke */
1000 CircleEase
*circle_ease_new (void);
1002 /* @GeneratePInvoke */
1003 double circle_ease_ease_in_core (CircleEase
*instance
, double normalizedTime
);
1008 /* @GeneratePInvoke */
1009 int collection_add_with_error (Collection
*instance
, Value
*value
, MoonError
*error
);
1011 /* @GeneratePInvoke */
1012 bool collection_clear (Collection
*instance
);
1014 /* @GeneratePInvoke */
1015 bool collection_contains (Collection
*instance
, Value
*value
);
1017 /* @GeneratePInvoke */
1018 int collection_get_count (Collection
*instance
);
1020 /* @GeneratePInvoke */
1021 int collection_get_element_type (Collection
*instance
);
1023 /* @GeneratePInvoke */
1024 CollectionIterator
*collection_get_iterator (Collection
*instance
);
1026 /* @GeneratePInvoke */
1027 Value
*collection_get_value_at_with_error (Collection
*instance
, int index
, MoonError
*error
);
1029 /* @GeneratePInvoke */
1030 int collection_index_of (Collection
*instance
, Value
*value
);
1032 /* @GeneratePInvoke */
1033 bool collection_insert_with_error (Collection
*instance
, int index
, Value
*value
, MoonError
*error
);
1035 /* @GeneratePInvoke */
1036 bool collection_remove (Collection
*instance
, Value
*value
);
1038 /* @GeneratePInvoke */
1039 bool collection_remove_at_with_error (Collection
*instance
, int index
, MoonError
*error
);
1041 /* @GeneratePInvoke */
1042 bool collection_set_value_at_with_error (Collection
*instance
, int index
, Value
*value
, MoonError
*error
);
1045 * CollectionChangedEventArgs
1047 /* @GeneratePInvoke */
1048 CollectionChangedEventArgs
*collection_changed_event_args_new (void);
1050 /* @GeneratePInvoke */
1051 int collection_changed_event_args_get_changed_action (CollectionChangedEventArgs
*instance
);
1053 /* @GeneratePInvoke */
1054 int collection_changed_event_args_get_index (CollectionChangedEventArgs
*instance
);
1056 /* @GeneratePInvoke */
1057 Value
*collection_changed_event_args_get_new_item (CollectionChangedEventArgs
*instance
);
1059 /* @GeneratePInvoke */
1060 Value
*collection_changed_event_args_get_old_item (CollectionChangedEventArgs
*instance
);
1062 /* @GeneratePInvoke */
1063 void collection_changed_event_args_set_changed_action (CollectionChangedEventArgs
*instance
, int action
);
1065 /* @GeneratePInvoke */
1066 void collection_changed_event_args_set_index (CollectionChangedEventArgs
*instance
, int index
);
1068 /* @GeneratePInvoke */
1069 void collection_changed_event_args_set_new_item (CollectionChangedEventArgs
*instance
, Value
*item
);
1071 /* @GeneratePInvoke */
1072 void collection_changed_event_args_set_old_item (CollectionChangedEventArgs
*instance
, Value
*item
);
1075 * CollectionIterator
1077 /* @GeneratePInvoke */
1078 void collection_iterator_destroy (CollectionIterator
*iterator
);
1080 /* @GeneratePInvoke */
1081 Value
*collection_iterator_get_current (CollectionIterator
*instance
, int *error
);
1083 /* @GeneratePInvoke */
1084 int collection_iterator_next (CollectionIterator
*instance
);
1086 /* @GeneratePInvoke */
1087 bool collection_iterator_reset (CollectionIterator
*instance
);
1092 /* @GeneratePInvoke */
1093 ColorAnimation
*color_animation_new (void);
1096 * ColorAnimationUsingKeyFrames
1098 /* @GeneratePInvoke */
1099 ColorAnimationUsingKeyFrames
*color_animation_using_key_frames_new (void);
1104 /* @GeneratePInvoke */
1105 ColorKeyFrame
*color_key_frame_new (void);
1108 * ColorKeyFrameCollection
1110 /* @GeneratePInvoke */
1111 ColorKeyFrameCollection
*color_key_frame_collection_new (void);
1116 /* @GeneratePInvoke */
1117 ColumnDefinition
*column_definition_new (void);
1120 * ColumnDefinitionCollection
1122 /* @GeneratePInvoke */
1123 ColumnDefinitionCollection
*column_definition_collection_new (void);
1126 * ContentChangedEventArgs
1128 /* @GeneratePInvoke */
1129 Value
*content_changed_event_args_get_new_content (ContentChangedEventArgs
*instance
);
1131 /* @GeneratePInvoke */
1132 Value
*content_changed_event_args_get_old_content (ContentChangedEventArgs
*instance
);
1137 /* @GeneratePInvoke */
1138 ContentControl
*content_control_new (void);
1140 /* @GeneratePInvoke */
1141 bool content_control_get_content_sets_parent (ContentControl
*instance
);
1143 /* @GeneratePInvoke */
1144 void content_control_set_content_sets_parent (ContentControl
*instance
, bool value
);
1149 /* @GeneratePInvoke */
1150 bool control_apply_template (Control
*instance
);
1152 /* @GeneratePInvoke */
1153 Control
*control_new (void);
1155 /* @GeneratePInvoke */
1156 DependencyObject
*control_get_template_child (Control
*instance
, const char *name
);
1161 /* @GeneratePInvoke */
1162 ControlTemplate
*control_template_new (void);
1167 /* @GeneratePInvoke */
1168 CubicEase
*cubic_ease_new (void);
1170 /* @GeneratePInvoke */
1171 double cubic_ease_ease_in_core (CubicEase
*instance
, double normalizedTime
);
1174 * CursorPositionChangedEventArgs
1176 /* @GeneratePInvoke */
1177 CursorPositionChangedEventArgs
*cursor_position_changed_event_args_new (void);
1179 /* @GeneratePInvoke */
1180 double cursor_position_changed_event_args_get_cursor_height (CursorPositionChangedEventArgs
*instance
);
1182 /* @GeneratePInvoke */
1183 double cursor_position_changed_event_args_get_cursor_x (CursorPositionChangedEventArgs
*instance
);
1185 /* @GeneratePInvoke */
1186 double cursor_position_changed_event_args_get_cursor_y (CursorPositionChangedEventArgs
*instance
);
1191 /* @GeneratePInvoke */
1192 DataTemplate
*data_template_new (void);
1195 * DeepZoomImageTileSource
1197 /* @GeneratePInvoke */
1198 DeepZoomImageTileSource
*deep_zoom_image_tile_source_new (void);
1200 /* @GeneratePInvoke */
1201 void deep_zoom_image_tile_source_strip_and_set_uri (DeepZoomImageTileSource
*instance
, Uri
*uri
);
1206 /* @GeneratePInvoke */
1207 void dependency_object_add_property_change_handler (DependencyObject
*instance
, DependencyProperty
*property
, PropertyChangeHandler cb
, gpointer closure
);
1209 /* @GeneratePInvoke */
1210 void dependency_object_clear_value (DependencyObject
*instance
, DependencyProperty
*property
, bool notify_listeners
, MoonError
*error
);
1212 /* @GeneratePInvoke */
1213 DependencyObject
*dependency_object_new (void);
1215 /* @GeneratePInvoke */
1216 DependencyObject
*dependency_object_find_name (DependencyObject
*instance
, const char *name
, int *element_kind
);
1218 /* @GeneratePInvoke */
1219 const char *dependency_object_get_name (DependencyObject
*instance
);
1221 /* @GeneratePInvoke */
1222 Value
*dependency_object_get_value_no_default_with_error (DependencyObject
*instance
, DependencyProperty
*property
, MoonError
*error
);
1224 /* @GeneratePInvoke */
1225 Value
*dependency_object_get_value_with_error (DependencyObject
*instance
, int whatami
, DependencyProperty
*property
, MoonError
*error
);
1227 /* @GeneratePInvoke */
1228 Value
*dependency_object_read_local_value_with_error (DependencyObject
*instance
, DependencyProperty
*property
, MoonError
*error
);
1230 /* @GeneratePInvoke */
1231 void dependency_object_remove_property_change_handler (DependencyObject
*instance
, DependencyProperty
*property
, PropertyChangeHandler cb
);
1233 /* @GeneratePInvoke */
1234 void dependency_object_set_name (DependencyObject
*instance
, const char *name
);
1236 /* @GeneratePInvoke */
1237 void dependency_object_set_parent (DependencyObject
*instance
, DependencyObject
*parent
, MoonError
*error
);
1239 /* @GeneratePInvoke */
1240 bool dependency_object_set_value_with_error (DependencyObject
*instance
, DependencyProperty
*property
, Value
*value
, MoonError
*error
);
1243 * DependencyObjectCollection
1245 /* @GeneratePInvoke */
1246 DependencyObjectCollection
*dependency_object_collection_new (void);
1249 * DependencyProperty
1251 /* @GeneratePInvoke */
1252 Value
*dependency_property_get_default_value (DependencyProperty
*instance
);
1254 /* @GeneratePInvoke */
1255 DependencyProperty
*dependency_property_get_dependency_property (int type
, const char *name
);
1257 /* @GeneratePInvoke */
1258 DependencyProperty
*dependency_property_get_dependency_property_full (int type
, const char *name
, bool inherits
);
1260 /* @GeneratePInvoke */
1261 const char *dependency_property_get_name (DependencyProperty
*instance
);
1263 /* @GeneratePInvoke */
1264 int dependency_property_get_property_type (DependencyProperty
*instance
);
1266 /* @GeneratePInvoke */
1267 bool dependency_property_is_attached (DependencyProperty
*instance
);
1269 /* @GeneratePInvoke */
1270 bool dependency_property_is_nullable (DependencyProperty
*instance
);
1272 /* @GeneratePInvoke */
1273 bool dependency_property_is_read_only (DependencyProperty
*instance
);
1275 /* @GeneratePInvoke */
1276 DependencyProperty
*dependency_property_register_core_property (const char *name
, int property_type
, int owner_type
, Value
*defaultValue
, bool attached
, bool read_only
, PropertyChangeHandler callback
);
1278 /* @GeneratePInvoke */
1279 DependencyProperty
*dependency_property_register_custom_property (const char *name
, int property_type
, int owner_type
, Value
*defaultValue
, bool attached
, bool read_only
, PropertyChangeHandler callback
);
1281 /* @GeneratePInvoke */
1282 void dependency_property_set_is_nullable (DependencyProperty
*instance
, bool value
);
1284 /* @GeneratePInvoke */
1285 void dependency_property_set_property_changed_callback (DependencyProperty
*instance
, PropertyChangeHandler changed_callback
);
1290 /* @GeneratePInvoke */
1291 Deployment
*deployment_new (void);
1293 /* @GeneratePInvoke */
1294 Deployment
*deployment_get_current (void);
1296 /* @GeneratePInvoke */
1297 Types
*deployment_get_types (Deployment
*instance
);
1299 /* @GeneratePInvoke */
1300 void deployment_set_current (Deployment
*value
);
1302 /* @GeneratePInvoke */
1303 void deployment_set_current_application (Deployment
*instance
, Application
*value
);
1305 /* @GeneratePInvoke */
1306 void deployment_set_is_loaded_from_xap (Deployment
*instance
, bool flag
);
1309 * DiscreteColorKeyFrame
1311 /* @GeneratePInvoke */
1312 DiscreteColorKeyFrame
*discrete_color_key_frame_new (void);
1315 * DiscreteDoubleKeyFrame
1317 /* @GeneratePInvoke */
1318 DiscreteDoubleKeyFrame
*discrete_double_key_frame_new (void);
1321 * DiscreteObjectKeyFrame
1323 /* @GeneratePInvoke */
1324 DiscreteObjectKeyFrame
*discrete_object_key_frame_new (void);
1327 * DiscretePointKeyFrame
1329 /* @GeneratePInvoke */
1330 DiscretePointKeyFrame
*discrete_point_key_frame_new (void);
1335 /* @GeneratePInvoke */
1336 DispatcherTimer
*dispatcher_timer_new (void);
1338 /* @GeneratePInvoke */
1339 void dispatcher_timer_start (DispatcherTimer
*instance
);
1341 /* @GeneratePInvoke */
1342 void dispatcher_timer_stop (DispatcherTimer
*instance
);
1347 /* @GeneratePInvoke */
1348 DoubleAnimation
*double_animation_new (void);
1351 * DoubleAnimationUsingKeyFrames
1353 /* @GeneratePInvoke */
1354 DoubleAnimationUsingKeyFrames
*double_animation_using_key_frames_new (void);
1359 /* @GeneratePInvoke */
1360 DoubleCollection
*double_collection_new (void);
1365 /* @GeneratePInvoke */
1366 DoubleKeyFrame
*double_key_frame_new (void);
1369 * DoubleKeyFrameCollection
1371 /* @GeneratePInvoke */
1372 DoubleKeyFrameCollection
*double_key_frame_collection_new (void);
1377 /* @GeneratePInvoke */
1378 void *downloader_create_web_request (Downloader
*instance
, const char *method
, const char *uri
);
1380 /* @GeneratePInvoke */
1381 Downloader
*downloader_new (void);
1383 /* @GeneratePInvoke */
1384 void downloader_notify_failed (Downloader
*instance
, const char *msg
);
1386 /* @GeneratePInvoke */
1387 void downloader_notify_finished (Downloader
*instance
, const char *final_uri
);
1389 /* @GeneratePInvoke */
1390 void downloader_notify_size (Downloader
*instance
, gint64 size
);
1392 /* @GeneratePInvoke */
1393 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
);
1395 /* @GeneratePInvoke */
1396 void downloader_write (Downloader
*instance
, void *buf
, gint32 offset
, gint32 n
);
1401 /* @GeneratePInvoke */
1402 void downloader_request_free (DownloaderRequest
*instance
);
1404 /* @GeneratePInvoke */
1405 void downloader_request_abort (DownloaderRequest
*instance
);
1407 /* @GeneratePInvoke */
1408 DownloaderResponse
*downloader_request_get_downloader_response (DownloaderRequest
*instance
);
1410 /* @GeneratePInvoke */
1411 bool downloader_request_get_response (DownloaderRequest
*instance
, DownloaderResponseStartedHandler started
, DownloaderResponseDataAvailableHandler available
, DownloaderResponseFinishedHandler finished
, gpointer context
);
1413 /* @GeneratePInvoke */
1414 const bool downloader_request_is_aborted (DownloaderRequest
*instance
);
1416 /* @GeneratePInvoke */
1417 void downloader_request_set_body (DownloaderRequest
*instance
, void *body
, int size
);
1419 /* @GeneratePInvoke */
1420 void downloader_request_set_http_header (DownloaderRequest
*instance
, const char *name
, const char *value
);
1423 * DownloaderResponse
1425 /* @GeneratePInvoke */
1426 void downloader_response_free (DownloaderResponse
*instance
);
1428 /* @GeneratePInvoke */
1429 void downloader_response_abort (DownloaderResponse
*instance
);
1431 /* @GeneratePInvoke */
1432 int downloader_response_get_response_status (DownloaderResponse
*instance
);
1434 /* @GeneratePInvoke */
1435 const char *downloader_response_get_response_status_text (DownloaderResponse
*instance
);
1437 /* @GeneratePInvoke */
1438 void downloader_response_set_header_visitor (DownloaderResponse
*instance
, DownloaderResponseHeaderCallback visitor
, gpointer context
);
1441 * DownloadProgressEventArgs
1443 /* @GeneratePInvoke */
1444 double download_progress_event_args_get_progress (DownloadProgressEventArgs
*instance
);
1449 /* @GeneratePInvoke */
1450 DrawingAttributes
*drawing_attributes_new (void);
1453 * EasingColorKeyFrame
1455 /* @GeneratePInvoke */
1456 EasingColorKeyFrame
*easing_color_key_frame_new (void);
1459 * EasingDoubleKeyFrame
1461 /* @GeneratePInvoke */
1462 EasingDoubleKeyFrame
*easing_double_key_frame_new (void);
1465 * EasingFunctionBase
1467 /* @GeneratePInvoke */
1468 EasingFunctionBase
*easing_function_base_new (void);
1470 /* @GeneratePInvoke */
1471 void easing_function_base_set_easing_function (EasingFunctionBase
*instance
, EasingFunction value
);
1474 * EasingPointKeyFrame
1476 /* @GeneratePInvoke */
1477 EasingPointKeyFrame
*easing_point_key_frame_new (void);
1482 /* @GeneratePInvoke */
1483 double elastic_ease_ease_in_core (ElasticEase
*instance
, double normalizedTime
);
1485 /* @GeneratePInvoke */
1486 ElasticEase
*elastic_ease_new (void);
1491 /* @GeneratePInvoke */
1492 Ellipse
*ellipse_new (void);
1497 /* @GeneratePInvoke */
1498 EllipseGeometry
*ellipse_geometry_new (void);
1503 /* @GeneratePInvoke */
1504 int error_event_args_get_error_code (ErrorEventArgs
*instance
);
1506 /* @GeneratePInvoke */
1507 const char *error_event_args_get_error_message (ErrorEventArgs
*instance
);
1509 /* @GeneratePInvoke */
1510 int error_event_args_get_error_type (ErrorEventArgs
*instance
);
1512 /* @GeneratePInvoke */
1513 gpointer
error_event_args_get_moon_error (ErrorEventArgs
*instance
);
1518 /* @GeneratePInvoke */
1519 int event_object_add_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
, GDestroyNotify data_dtor
);
1521 /* @GeneratePInvoke */
1522 void event_object_add_on_event_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
, GDestroyNotify data_dtor
);
1524 /* @GeneratePInvoke */
1525 void event_object_add_toggle_ref_notifier (EventObject
*instance
, ToggleNotifyHandler tr
);
1527 /* @GeneratePInvoke */
1528 int event_object_add_xaml_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
, GDestroyNotify data_dtor
);
1530 /* @GeneratePInvoke */
1531 void event_object_do_emit_current_context (EventObject
*instance
, int event_id
, EventArgs
*calldata
);
1533 /* @GeneratePInvoke */
1534 int event_object_get_object_type (EventObject
*instance
);
1536 /* @GeneratePInvoke */
1537 Surface
*event_object_get_surface (EventObject
*instance
);
1539 /* @GeneratePInvoke */
1540 const char *event_object_get_type_name (EventObject
*instance
);
1542 /* @GeneratePInvoke */
1543 void event_object_ref (EventObject
*instance
);
1545 /* @GeneratePInvoke */
1546 void event_object_remove_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
);
1548 /* @GeneratePInvoke */
1549 void event_object_remove_on_event_handler (EventObject
*instance
, int event_id
, EventHandler handler
, gpointer data
);
1551 /* @GeneratePInvoke */
1552 void event_object_remove_toggle_ref_notifier (EventObject
*instance
);
1554 /* @GeneratePInvoke */
1555 void event_object_set_object_type (EventObject
*instance
, int value
);
1557 /* @GeneratePInvoke */
1558 void event_object_unref (EventObject
*instance
);
1563 /* @GeneratePInvoke */
1564 EventTrigger
*event_trigger_new (void);
1569 /* @GeneratePInvoke */
1570 double exponential_ease_ease_in_core (ExponentialEase
*instance
, double normalizedTime
);
1572 /* @GeneratePInvoke */
1573 ExponentialEase
*exponential_ease_new (void);
1578 /* @GeneratePInvoke */
1579 ExtensionPart
*extension_part_new (void);
1584 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
);
1587 * ExternalDecoderInfo
1589 ExternalDecoderInfo
*external_decoder_info_new (void *instance
, const char *name
, ExternalDecoderInfo_SupportsCallback supports
, ExternalDecoderInfo_Create create
, ExternalDecoderInfo_dtor dtor
);
1594 /* @GeneratePInvoke */
1595 gint32
external_demuxer_add_stream (ExternalDemuxer
*instance
, IMediaStream
*stream
);
1597 /* @GeneratePInvoke */
1598 void external_demuxer_clear_callbacks (ExternalDemuxer
*instance
);
1600 /* @GeneratePInvoke */
1601 void external_demuxer_set_can_seek (ExternalDemuxer
*instance
, bool value
);
1606 /* @GeneratePInvoke */
1607 ExternalPart
*external_part_new (void);
1610 * ExternalPartCollection
1612 /* @GeneratePInvoke */
1613 ExternalPartCollection
*external_part_collection_new (void);
1618 /* @GeneratePInvoke */
1619 Size
framework_element_arrange_override (FrameworkElement
*instance
, Size finalSize
);
1621 /* @GeneratePInvoke */
1622 FrameworkElement
*framework_element_new (void);
1624 /* @GeneratePInvoke */
1625 DependencyObject
*framework_element_get_logical_parent (FrameworkElement
*instance
);
1627 /* @GeneratePInvoke */
1628 Size
framework_element_measure_override (FrameworkElement
*instance
, Size availableSize
);
1630 /* @GeneratePInvoke */
1631 void framework_element_register_managed_overrides (FrameworkElement
*instance
, MeasureOverrideCallback measure_cb
, ArrangeOverrideCallback arrange_cb
);
1633 /* @GeneratePInvoke */
1634 void framework_element_set_default_style (FrameworkElement
*instance
, Style
*value
);
1636 /* @GeneratePInvoke */
1637 void framework_element_set_logical_parent (FrameworkElement
*instance
, DependencyObject
*logical_parent
, MoonError
*error
);
1642 /* @GeneratePInvoke */
1643 FrameworkTemplate
*framework_template_new (void);
1645 /* @GeneratePInvoke */
1646 DependencyObject
*framework_template_get_visual_tree (FrameworkTemplate
*instance
, FrameworkElement
*templateBindingSource
);
1651 /* @GeneratePInvoke */
1652 GeneralTransform
*general_transform_new (void);
1654 /* @GeneratePInvoke */
1655 Matrix
*general_transform_get_matrix (GeneralTransform
*instance
);
1660 /* @GeneratePInvoke */
1661 Geometry
*geometry_new (void);
1663 /* @GeneratePInvoke */
1664 Rect
geometry_get_bounds (Geometry
*instance
);
1667 * GeometryCollection
1669 /* @GeneratePInvoke */
1670 GeometryCollection
*geometry_collection_new (void);
1675 /* @GeneratePInvoke */
1676 GeometryGroup
*geometry_group_new (void);
1681 /* @GeneratePInvoke */
1682 Glyphs
*glyphs_new (void);
1687 /* @GeneratePInvoke */
1688 GradientBrush
*gradient_brush_new (void);
1693 /* @GeneratePInvoke */
1694 GradientStop
*gradient_stop_new (void);
1697 * GradientStopCollection
1699 /* @GeneratePInvoke */
1700 GradientStopCollection
*gradient_stop_collection_new (void);
1705 /* @GeneratePInvoke */
1706 Grid
*grid_new (void);
1711 /* @GeneratePInvoke */
1712 HitTestCollection
*hit_test_collection_new (void);
1717 /* @GeneratePInvoke */
1718 Image
*image_new (void);
1720 /* @GeneratePInvoke */
1721 void image_set_source (Image
*instance
, ImageSource
*source
);
1726 /* @GeneratePInvoke */
1727 ImageBrush
*image_brush_new (void);
1732 /* @GeneratePInvoke */
1733 ImageSource
*image_source_new (void);
1738 void imedia_decoder_report_decode_frame_completed (IMediaDecoder
*instance
, MediaFrame
*frame
);
1740 void imedia_decoder_report_open_decoder_completed (IMediaDecoder
*instance
);
1742 void imedia_decoder_set_pixel_format (IMediaDecoder
*instance
, int value
);
1747 /* @GeneratePInvoke */
1748 void imedia_demuxer_report_get_diagnostic_completed (IMediaDemuxer
*instance
, int diagnosticKind
, gint64 diagnosticValue
);
1750 /* @GeneratePInvoke */
1751 void imedia_demuxer_report_get_frame_completed (IMediaDemuxer
*instance
, MediaFrame
*frame
);
1753 /* @GeneratePInvoke */
1754 void imedia_demuxer_report_get_frame_progress (IMediaDemuxer
*instance
, double bufferingProgress
);
1756 /* @GeneratePInvoke */
1757 void imedia_demuxer_report_open_demuxer_completed (IMediaDemuxer
*instance
);
1759 /* @GeneratePInvoke */
1760 void imedia_demuxer_report_seek_completed (IMediaDemuxer
*instance
, guint64 pts
);
1762 /* @GeneratePInvoke */
1763 void imedia_demuxer_report_switch_media_stream_completed (IMediaDemuxer
*instance
, IMediaStream
*stream
);
1768 /* @GeneratePInvoke */
1769 Media
*imedia_object_get_media_reffed (IMediaObject
*instance
);
1771 void imedia_object_report_error_occurred (IMediaObject
*instance
, const char *message
);
1776 const char *imedia_stream_get_codec (IMediaStream
*instance
);
1778 int imedia_stream_get_codec_id (IMediaStream
*instance
);
1780 guint64
imedia_stream_get_duration (IMediaStream
*instance
);
1782 void *imedia_stream_get_extra_data (IMediaStream
*instance
);
1784 int imedia_stream_get_extra_data_size (IMediaStream
*instance
);
1786 int imedia_stream_get_stream_type (IMediaStream
*instance
);
1788 void imedia_stream_set_codec_id (IMediaStream
*instance
, int value
);
1790 void imedia_stream_set_duration (IMediaStream
*instance
, guint64 value
);
1792 void imedia_stream_set_extra_data (IMediaStream
*instance
, void *value
);
1794 void imedia_stream_set_extra_data_size (IMediaStream
*instance
, int value
);
1799 /* @GeneratePInvoke */
1800 InkPresenter
*ink_presenter_new (void);
1805 /* @GeneratePInvoke */
1806 Inline
*inline_new (void);
1811 /* @GeneratePInvoke */
1812 InlineCollection
*inline_collection_new (void);
1817 /* @GeneratePInvoke */
1818 InputMethod
*input_method_new (void);
1823 /* @GeneratePInvoke */
1824 ItemCollection
*item_collection_new (void);
1829 /* @GeneratePInvoke */
1830 int keyboard_get_modifiers (void);
1835 /* @GeneratePInvoke */
1836 int key_event_args_get_key (KeyEventArgs
*instance
);
1838 /* @GeneratePInvoke */
1839 int key_event_args_get_platform_key_code (KeyEventArgs
*instance
);
1841 /* @GeneratePInvoke */
1842 KeyEventArgs
*key_event_args_new (void);
1845 * KeyFrameCollection
1847 /* @GeneratePInvoke */
1848 KeyFrameCollection
*key_frame_collection_new (void);
1853 /* @GeneratePInvoke */
1854 KeySpline
*key_spline_new (void);
1859 /* @GeneratePInvoke */
1860 Line
*line_new (void);
1863 * LinearColorKeyFrame
1865 /* @GeneratePInvoke */
1866 LinearColorKeyFrame
*linear_color_key_frame_new (void);
1869 * LinearDoubleKeyFrame
1871 /* @GeneratePInvoke */
1872 LinearDoubleKeyFrame
*linear_double_key_frame_new (void);
1875 * LinearGradientBrush
1877 /* @GeneratePInvoke */
1878 LinearGradientBrush
*linear_gradient_brush_new (void);
1881 * LinearPointKeyFrame
1883 /* @GeneratePInvoke */
1884 LinearPointKeyFrame
*linear_point_key_frame_new (void);
1889 /* @GeneratePInvoke */
1890 LineBreak
*line_break_new (void);
1895 /* @GeneratePInvoke */
1896 LineGeometry
*line_geometry_new (void);
1901 /* @GeneratePInvoke */
1902 LineSegment
*line_segment_new (void);
1905 * MarkerReachedEventArgs
1907 /* @GeneratePInvoke */
1908 TimelineMarker
*marker_reached_event_args_get_marker (MarkerReachedEventArgs
*instance
);
1913 /* @GeneratePInvoke */
1914 cairo_matrix_t
*matrix_get_matrix_values (Matrix
*instance
);
1916 /* @GeneratePInvoke */
1917 Matrix
*matrix_new (void);
1922 /* @GeneratePInvoke */
1923 MatrixTransform
*matrix_transform_new (void);
1928 void media_register_decoder (DecoderInfo
*info
);
1933 /* @GeneratePInvoke */
1934 MediaAttribute
*media_attribute_new (void);
1937 * MediaAttributeCollection
1939 /* @GeneratePInvoke */
1940 MediaAttribute
*media_attribute_collection_get_item_by_name (MediaAttributeCollection
*instance
, const char *name
);
1942 /* @GeneratePInvoke */
1943 MediaAttributeCollection
*media_attribute_collection_new (void);
1948 /* @GeneratePInvoke */
1949 MediaBase
*media_base_new (void);
1951 /* @GeneratePInvoke */
1952 void media_base_set_source (MediaBase
*instance
, const char *uri
);
1957 /* @GeneratePInvoke */
1958 MediaElement
*media_element_new (void);
1960 /* @GeneratePInvoke */
1961 void media_element_pause (MediaElement
*instance
);
1963 /* @GeneratePInvoke */
1964 void media_element_play (MediaElement
*instance
);
1966 /* @GeneratePInvoke */
1967 void media_element_report_error_occurred (MediaElement
*instance
, const char *args
);
1969 /* @GeneratePInvoke */
1970 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
);
1972 /* @GeneratePInvoke */
1973 void media_element_set_stream_source (MediaElement
*instance
, ManagedStreamCallbacks
*stream
);
1975 /* @GeneratePInvoke */
1976 void media_element_stop (MediaElement
*instance
);
1981 void media_frame_add_state (MediaFrame
*instance
, int state
);
1983 guint8
*media_frame_get_buffer (MediaFrame
*instance
);
1985 guint32
media_frame_get_buf_len (MediaFrame
*instance
);
1987 gint32
media_frame_get_height (MediaFrame
*instance
);
1989 guint64
media_frame_get_pts (MediaFrame
*instance
);
1991 gint32
media_frame_get_width (MediaFrame
*instance
);
1993 bool media_frame_is_key_frame (MediaFrame
*instance
);
1995 /* @GeneratePInvoke */
1996 MediaFrame
*media_frame_new (IMediaStream
*stream
, guint8
*buffer
, guint32 buflen
, guint64 pts
, bool keyframe
);
1998 void media_frame_set_buffer (MediaFrame
*instance
, guint8
*value
);
2000 void media_frame_set_buf_len (MediaFrame
*instance
, guint32 value
);
2002 void media_frame_set_data_stride (MediaFrame
*instance
, guint8
*a
, guint8
*b
, guint8
*c
, guint8
*d
);
2004 void media_frame_set_decoder_specific_data (MediaFrame
*instance
, void *value
);
2006 void media_frame_set_height (MediaFrame
*instance
, gint32 value
);
2008 void media_frame_set_pts (MediaFrame
*instance
, guint64 value
);
2010 void media_frame_set_src_slide_h (MediaFrame
*instance
, int value
);
2012 void media_frame_set_src_slide_y (MediaFrame
*instance
, int value
);
2014 void media_frame_set_src_stride (MediaFrame
*instance
, int a
, int b
, int c
, int d
);
2016 void media_frame_set_width (MediaFrame
*instance
, gint32 value
);
2021 /* @GeneratePInvoke */
2022 bool moon_window_get_transparent (MoonWindow
*instance
);
2024 /* @GeneratePInvoke */
2025 void moon_window_set_transparent (MoonWindow
*instance
, bool flag
);
2030 /* @GeneratePInvoke */
2031 void *moon_window_gtk_get_native_widget (MoonWindowGtk
*instance
);
2033 /* @GeneratePInvoke */
2034 MoonWindowGtk
*moon_window_gtk_new (bool fullscreen
, int w
, int h
, MoonWindow
*parent
);
2037 * MouseButtonEventArgs
2039 /* @GeneratePInvoke */
2040 MouseButtonEventArgs
*mouse_button_event_args_new (void);
2045 /* @GeneratePInvoke */
2046 void mouse_event_args_get_position (MouseEventArgs
*instance
, UIElement
*relative_to
, double *x
, double *y
);
2048 /* @GeneratePInvoke */
2049 StylusInfo
*mouse_event_args_get_stylus_info (MouseEventArgs
*instance
);
2051 /* @GeneratePInvoke */
2052 StylusPointCollection
*mouse_event_args_get_stylus_points (MouseEventArgs
*instance
, UIElement
*ink_presenter
);
2054 /* @GeneratePInvoke */
2055 MouseEventArgs
*mouse_event_args_new (void);
2058 * MouseWheelEventArgs
2060 /* @GeneratePInvoke */
2061 int mouse_wheel_event_args_get_wheel_delta (MouseWheelEventArgs
*instance
);
2063 /* @GeneratePInvoke */
2064 MouseWheelEventArgs
*mouse_wheel_event_args_new (void);
2069 /* @GeneratePInvoke */
2070 Point
multi_scale_image_element_to_logical_point (MultiScaleImage
*instance
, Point elementPoint
);
2072 void multi_scale_image_emit_image_failed (MultiScaleImage
*instance
);
2074 void multi_scale_image_emit_image_open_failed (MultiScaleImage
*instance
);
2076 void multi_scale_image_emit_motion_finished (MultiScaleImage
*instance
);
2078 void multi_scale_image_handle_dz_parsed (MultiScaleImage
*instance
);
2080 void multi_scale_image_invalidate_tile_layer (MultiScaleImage
*instance
, int level
, int tilePositionX
, int tilePositionY
, int tileLayer
);
2082 /* @GeneratePInvoke */
2083 Point
multi_scale_image_logical_to_element_point (MultiScaleImage
*instance
, Point logicalPoint
);
2085 /* @GeneratePInvoke */
2086 MultiScaleImage
*multi_scale_image_new (void);
2088 void multi_scale_image_on_source_property_changed (MultiScaleImage
*instance
);
2090 /* @GeneratePInvoke */
2091 void multi_scale_image_zoom_about_logical_point (MultiScaleImage
*instance
, double zoomIncrementFactor
, double zoomCenterLogicalX
, double zoomCenterLogicalY
);
2094 * MultiScaleSubImage
2096 gint32
multi_scale_sub_image_get_zindex (MultiScaleSubImage
*instance
);
2098 /* @GeneratePInvoke */
2099 MultiScaleSubImage
*multi_scale_sub_image_new (void);
2102 * MultiScaleSubImageCollection
2104 /* @GeneratePInvoke */
2105 MultiScaleSubImageCollection
*multi_scale_sub_image_collection_new (void);
2108 * MultiScaleTileSource
2110 /* @GeneratePInvoke */
2111 void multi_scale_tile_source_invalidate_tile_layer (MultiScaleTileSource
*instance
, int level
, int tilePositionX
, int tilePositionY
, int tileLayer
);
2113 /* @GeneratePInvoke */
2114 MultiScaleTileSource
*multi_scale_tile_source_new (void);
2116 /* @GeneratePInvoke */
2117 void multi_scale_tile_source_set_image_uri_func (MultiScaleTileSource
*instance
, get_image_uri_func func
);
2122 NameScope
*name_scope_new (void);
2125 * ObjectAnimationUsingKeyFrames
2127 /* @GeneratePInvoke */
2128 ObjectAnimationUsingKeyFrames
*object_animation_using_key_frames_new (void);
2133 /* @GeneratePInvoke */
2134 ObjectKeyFrame
*object_key_frame_new (void);
2137 * ObjectKeyFrameCollection
2139 /* @GeneratePInvoke */
2140 ObjectKeyFrameCollection
*object_key_frame_collection_new (void);
2143 * OutOfBrowserSettings
2145 /* @GeneratePInvoke */
2146 OutOfBrowserSettings
*out_of_browser_settings_new (void);
2151 /* @GeneratePInvoke */
2152 Panel
*panel_new (void);
2157 /* @GeneratePInvoke */
2158 ParallelTimeline
*parallel_timeline_new (void);
2163 /* @GeneratePInvoke */
2164 PasswordBox
*password_box_new (void);
2169 /* @GeneratePInvoke */
2170 Path
*path_new (void);
2175 /* @GeneratePInvoke */
2176 PathFigure
*path_figure_new (void);
2179 * PathFigureCollection
2181 /* @GeneratePInvoke */
2182 PathFigureCollection
*path_figure_collection_new (void);
2187 /* @GeneratePInvoke */
2188 PathGeometry
*path_geometry_new (void);
2193 /* @GeneratePInvoke */
2194 PathSegment
*path_segment_new (void);
2197 * PathSegmentCollection
2199 /* @GeneratePInvoke */
2200 PathSegmentCollection
*path_segment_collection_new (void);
2205 /* @GeneratePInvoke */
2206 PointAnimation
*point_animation_new (void);
2209 * PointAnimationUsingKeyFrames
2211 /* @GeneratePInvoke */
2212 PointAnimationUsingKeyFrames
*point_animation_using_key_frames_new (void);
2217 /* @GeneratePInvoke */
2218 PointCollection
*point_collection_new (void);
2223 /* @GeneratePInvoke */
2224 PointKeyFrame
*point_key_frame_new (void);
2227 * PointKeyFrameCollection
2229 /* @GeneratePInvoke */
2230 PointKeyFrameCollection
*point_key_frame_collection_new (void);
2235 /* @GeneratePInvoke */
2236 PolyBezierSegment
*poly_bezier_segment_new (void);
2238 void poly_bezier_segment_set_points (PolyBezierSegment
*instance
, PointCollection
*points
);
2243 /* @GeneratePInvoke */
2244 Polygon
*polygon_new (void);
2249 /* @GeneratePInvoke */
2250 Polyline
*polyline_new (void);
2255 /* @GeneratePInvoke */
2256 PolyLineSegment
*poly_line_segment_new (void);
2259 * PolyQuadraticBezierSegment
2261 /* @GeneratePInvoke */
2262 PolyQuadraticBezierSegment
*poly_quadratic_bezier_segment_new (void);
2267 /* @GeneratePInvoke */
2268 Popup
*popup_new (void);
2273 /* @GeneratePInvoke */
2274 double power_ease_ease_in_core (PowerEase
*instance
, double normalizedTime
);
2276 /* @GeneratePInvoke */
2277 PowerEase
*power_ease_new (void);
2280 * PropertyChangedEventArgs
2282 /* @GeneratePInvoke */
2283 int property_changed_event_args_get_id (PropertyChangedEventArgs
*instance
);
2285 /* @GeneratePInvoke */
2286 Value
*property_changed_event_args_get_new_value (PropertyChangedEventArgs
*instance
);
2288 /* @GeneratePInvoke */
2289 Value
*property_changed_event_args_get_old_value (PropertyChangedEventArgs
*instance
);
2291 /* @GeneratePInvoke */
2292 DependencyProperty
*property_changed_event_args_get_property (PropertyChangedEventArgs
*instance
);
2295 * QuadraticBezierSegment
2297 /* @GeneratePInvoke */
2298 QuadraticBezierSegment
*quadratic_bezier_segment_new (void);
2303 /* @GeneratePInvoke */
2304 double quadratic_ease_ease_in_core (QuadraticEase
*instance
, double normalizedTime
);
2306 /* @GeneratePInvoke */
2307 QuadraticEase
*quadratic_ease_new (void);
2312 /* @GeneratePInvoke */
2313 double quartic_ease_ease_in_core (QuarticEase
*instance
, double normalizedTime
);
2315 /* @GeneratePInvoke */
2316 QuarticEase
*quartic_ease_new (void);
2321 /* @GeneratePInvoke */
2322 double quintic_ease_ease_in_core (QuinticEase
*instance
, double normalizedTime
);
2324 /* @GeneratePInvoke */
2325 QuinticEase
*quintic_ease_new (void);
2328 * RadialGradientBrush
2330 /* @GeneratePInvoke */
2331 RadialGradientBrush
*radial_gradient_brush_new (void);
2336 /* @GeneratePInvoke */
2337 Rectangle
*rectangle_new (void);
2342 /* @GeneratePInvoke */
2343 RectangleGeometry
*rectangle_geometry_new (void);
2346 * RenderingEventArgs
2348 /* @GeneratePInvoke */
2349 TimeSpan
rendering_event_args_get_rendering_time (RenderingEventArgs
*instance
);
2352 * ResourceDictionary
2354 /* @GeneratePInvoke */
2355 bool resource_dictionary_add_with_error (ResourceDictionary
*instance
, const char *key
, Value
*value
, MoonError
*error
);
2357 /* @GeneratePInvoke */
2358 bool resource_dictionary_clear (ResourceDictionary
*instance
);
2360 /* @GeneratePInvoke */
2361 bool resource_dictionary_contains_key (ResourceDictionary
*instance
, const char *key
);
2363 /* @GeneratePInvoke */
2364 Value
*resource_dictionary_get (ResourceDictionary
*instance
, const char *key
, bool *exists
);
2366 /* @GeneratePInvoke */
2367 bool resource_dictionary_remove (ResourceDictionary
*instance
, const char *key
);
2369 /* @GeneratePInvoke */
2370 ResourceDictionary
*resource_dictionary_new (void);
2372 /* @GeneratePInvoke */
2373 bool resource_dictionary_set (ResourceDictionary
*instance
, const char *key
, Value
*value
);
2376 * ResourceDictionaryCollection
2378 /* @GeneratePInvoke */
2379 ResourceDictionaryCollection
*resource_dictionary_collection_new (void);
2384 /* @GeneratePInvoke */
2385 RotateTransform
*rotate_transform_new (void);
2390 /* @GeneratePInvoke */
2391 bool routed_event_args_get_handled (RoutedEventArgs
*instance
);
2393 /* @GeneratePInvoke */
2394 DependencyObject
*routed_event_args_get_source (RoutedEventArgs
*instance
);
2396 /* @GeneratePInvoke */
2397 RoutedEventArgs
*routed_event_args_new (void);
2399 /* @GeneratePInvoke */
2400 void routed_event_args_set_handled (RoutedEventArgs
*instance
, bool handled
);
2402 /* @GeneratePInvoke */
2403 void routed_event_args_set_source (RoutedEventArgs
*instance
, DependencyObject
*el
);
2408 /* @GeneratePInvoke */
2409 RowDefinition
*row_definition_new (void);
2412 * RowDefinitionCollection
2414 /* @GeneratePInvoke */
2415 RowDefinitionCollection
*row_definition_collection_new (void);
2420 /* @GeneratePInvoke */
2421 Run
*run_new (void);
2426 /* @GeneratePInvoke */
2427 ScaleTransform
*scale_transform_new (void);
2432 /* @GeneratePInvoke */
2433 Setter
*setter_new (void);
2438 /* @GeneratePInvoke */
2439 SetterBase
*setter_base_new (void);
2442 * SetterBaseCollection
2444 /* @GeneratePInvoke */
2445 SetterBaseCollection
*setter_base_collection_new (void);
2450 /* @GeneratePInvoke */
2451 Transform
*shape_get_geometry_transform (Shape
*instance
);
2453 /* @GeneratePInvoke */
2454 Shape
*shape_new (void);
2459 /* @GeneratePInvoke */
2460 double sine_ease_ease_in_core (SineEase
*instance
, double normalizedTime
);
2462 /* @GeneratePInvoke */
2463 SineEase
*sine_ease_new (void);
2466 * SizeChangedEventArgs
2468 /* @GeneratePInvoke */
2469 SizeChangedEventArgs
*size_changed_event_args_new (void);
2474 /* @GeneratePInvoke */
2475 SkewTransform
*skew_transform_new (void);
2480 /* @GeneratePInvoke */
2481 SolidColorBrush
*solid_color_brush_new (void);
2484 * SplineColorKeyFrame
2486 /* @GeneratePInvoke */
2487 SplineColorKeyFrame
*spline_color_key_frame_new (void);
2490 * SplineDoubleKeyFrame
2492 /* @GeneratePInvoke */
2493 SplineDoubleKeyFrame
*spline_double_key_frame_new (void);
2496 * SplinePointKeyFrame
2498 /* @GeneratePInvoke */
2499 SplinePointKeyFrame
*spline_point_key_frame_new (void);
2504 /* @GeneratePInvoke */
2505 bool storyboard_begin_with_error (Storyboard
*instance
, MoonError
*error
);
2507 /* @GeneratePInvoke */
2508 int storyboard_get_current_state (Storyboard
*instance
);
2510 /* @GeneratePInvoke */
2511 TimeSpan
storyboard_get_current_time (Storyboard
*instance
);
2513 /* @GeneratePInvoke */
2514 DependencyProperty
*storyboard_get_target_dependency_property (Storyboard
*instance
);
2516 /* @GeneratePInvoke */
2517 void storyboard_pause_with_error (Storyboard
*instance
, MoonError
*error
);
2519 /* @GeneratePInvoke */
2520 void storyboard_resume_with_error (Storyboard
*instance
, MoonError
*error
);
2522 /* @GeneratePInvoke */
2523 void storyboard_seek_aligned_to_last_tick_with_error (Storyboard
*instance
, TimeSpan timespan
, MoonError
*error
);
2525 /* @GeneratePInvoke */
2526 void storyboard_seek_with_error (Storyboard
*instance
, TimeSpan timespan
, MoonError
*error
);
2528 /* @GeneratePInvoke */
2529 void storyboard_skip_to_fill_with_error (Storyboard
*instance
, MoonError
*error
);
2531 /* @GeneratePInvoke */
2532 void storyboard_stop_with_error (Storyboard
*instance
, MoonError
*error
);
2534 /* @GeneratePInvoke */
2535 Storyboard
*storyboard_new (void);
2540 /* @GeneratePInvoke */
2541 bool stroke_hit_test (Stroke
*instance
, StylusPointCollection
*stylusPoints
);
2543 /* @GeneratePInvoke */
2544 Stroke
*stroke_new (void);
2549 /* @GeneratePInvoke */
2550 StrokeCollection
*stroke_collection_hit_test (StrokeCollection
*instance
, StylusPointCollection
*stylusPoints
);
2552 /* @GeneratePInvoke */
2553 StrokeCollection
*stroke_collection_new (void);
2558 /* @GeneratePInvoke */
2559 void style_seal (Style
*instance
);
2561 /* @GeneratePInvoke */
2562 Style
*style_new (void);
2567 /* @GeneratePInvoke */
2568 StylusInfo
*stylus_info_new (void);
2573 /* @GeneratePInvoke */
2574 double stylus_point_get_pressure_factor (StylusPoint
*instance
);
2576 /* @GeneratePInvoke */
2577 double stylus_point_get_x (StylusPoint
*instance
);
2579 /* @GeneratePInvoke */
2580 double stylus_point_get_y (StylusPoint
*instance
);
2582 /* @GeneratePInvoke */
2583 void stylus_point_set_pressure_factor (StylusPoint
*instance
, double factor
);
2585 /* @GeneratePInvoke */
2586 void stylus_point_set_x (StylusPoint
*instance
, double x
);
2588 /* @GeneratePInvoke */
2589 void stylus_point_set_y (StylusPoint
*instance
, double y
);
2591 /* @GeneratePInvoke */
2592 StylusPoint
*stylus_point_new (void);
2595 * StylusPointCollection
2597 /* @GeneratePInvoke */
2598 double stylus_point_collection_add_stylus_points (StylusPointCollection
*instance
, StylusPointCollection
*stylusPointCollection
);
2600 /* @GeneratePInvoke */
2601 StylusPointCollection
*stylus_point_collection_new (void);
2606 /* @GeneratePInvoke */
2607 void surface_attach (Surface
*instance
, UIElement
*toplevel
);
2609 /* @GeneratePInvoke */
2610 Downloader
*surface_create_downloader (Surface
*instance
);
2612 /* @GeneratePInvoke */
2613 void surface_emit_error (Surface
*instance
, int number
, int code
, const char *message
);
2615 /* @GeneratePInvoke */
2616 Color
*surface_get_background_color (Surface
*instance
);
2618 /* @GeneratePInvoke */
2619 UIElement
*surface_get_focused_element (Surface
*instance
);
2621 /* @GeneratePInvoke */
2622 bool surface_get_full_screen (Surface
*instance
);
2624 /* @GeneratePInvoke */
2625 TimeManager
*surface_get_time_manager (Surface
*instance
);
2627 /* @GeneratePInvoke */
2628 UIElement
*surface_get_toplevel (Surface
*instance
);
2630 MoonWindow
*surface_get_window (Surface
*instance
);
2632 /* @GeneratePInvoke */
2633 bool surface_in_main_thread (void);
2635 /* @GeneratePInvoke */
2636 bool surface_is_loaded (Surface
*instance
);
2638 /* @GeneratePInvoke */
2639 bool surface_is_user_initiated_event (Surface
*instance
);
2641 /* @GeneratePInvoke */
2642 bool surface_is_version_supported (const char *version
);
2644 /* @GeneratePInvoke */
2645 void surface_paint (Surface
*instance
, cairo_t
*ctx
, int x
, int y
, int width
, int height
);
2647 /* @GeneratePInvoke */
2648 void surface_resize (Surface
*instance
, int width
, int height
);
2650 /* @GeneratePInvoke */
2651 void surface_set_full_screen (Surface
*instance
, bool value
);
2653 /* @GeneratePInvoke */
2654 Surface
*surface_new (MoonWindow
*window
);
2657 * TabNavigationWalker
2659 /* @GeneratePInvoke */
2660 bool tab_navigation_walker_focus (UIElement
*element
, bool forwards
);
2665 /* @GeneratePInvoke */
2666 TextBlock
*text_block_new (void);
2671 /* @GeneratePInvoke */
2672 TextBox
*text_box_new (void);
2677 /* @GeneratePInvoke */
2678 void text_box_base_on_got_focus (TextBoxBase
*instance
, RoutedEventArgs
*args
);
2680 /* @GeneratePInvoke */
2681 void text_box_base_on_key_down (TextBoxBase
*instance
, KeyEventArgs
*args
);
2683 /* @GeneratePInvoke */
2684 void text_box_base_on_key_up (TextBoxBase
*instance
, KeyEventArgs
*args
);
2686 /* @GeneratePInvoke */
2687 void text_box_base_on_lost_focus (TextBoxBase
*instance
, RoutedEventArgs
*args
);
2689 /* @GeneratePInvoke */
2690 void text_box_base_on_mouse_left_button_down (TextBoxBase
*instance
, MouseButtonEventArgs
*args
);
2692 /* @GeneratePInvoke */
2693 void text_box_base_on_mouse_left_button_up (TextBoxBase
*instance
, MouseButtonEventArgs
*args
);
2695 /* @GeneratePInvoke */
2696 void text_box_base_on_mouse_move (TextBoxBase
*instance
, MouseEventArgs
*args
);
2698 /* @GeneratePInvoke */
2699 void text_box_base_post_on_key_down (TextBoxBase
*instance
, KeyEventArgs
*args
);
2701 /* @GeneratePInvoke */
2702 void text_box_base_select_all (TextBoxBase
*instance
);
2704 /* @GeneratePInvoke */
2705 bool text_box_base_select_with_error (TextBoxBase
*instance
, int start
, int length
, MoonError
*error
);
2710 /* @GeneratePInvoke */
2711 TextBoxView
*text_box_view_new (void);
2714 * TextChangedEventArgs
2716 /* @GeneratePInvoke */
2717 TextChangedEventArgs
*text_changed_event_args_new (void);
2722 /* @GeneratePInvoke */
2723 TileBrush
*tile_brush_new (void);
2728 /* @GeneratePInvoke */
2729 DependencyObject
*timeline_get_manual_target (Timeline
*instance
);
2731 /* @GeneratePInvoke */
2732 void timeline_set_manual_target (Timeline
*instance
, DependencyObject
*o
);
2734 /* @GeneratePInvoke */
2735 Timeline
*timeline_new (void);
2738 * TimelineCollection
2740 /* @GeneratePInvoke */
2741 TimelineCollection
*timeline_collection_new (void);
2746 /* @GeneratePInvoke */
2747 TimelineGroup
*timeline_group_new (void);
2752 /* @GeneratePInvoke */
2753 TimelineMarker
*timeline_marker_new (void);
2756 * TimelineMarkerCollection
2758 /* @GeneratePInvoke */
2759 TimelineMarkerCollection
*timeline_marker_collection_new (void);
2764 /* @GeneratePInvoke */
2765 void time_manager_add_tick_call (TimeManager
*instance
, TickCallHandler handler
, EventObject
*tick_data
);
2767 guint
time_manager_add_timeout (TimeManager
*instance
, gint priority
, guint ms_interval
, GSourceFunc func
, gpointer timeout_data
);
2769 /* @GeneratePInvoke */
2770 int time_manager_get_maximum_refresh_rate (TimeManager
*instance
);
2772 /* @GeneratePInvoke */
2773 void time_manager_remove_tick_call (TimeManager
*instance
, TickCallHandler handler
, EventObject
*tick_data
);
2775 void time_manager_remove_timeout (TimeManager
*instance
, guint timeout_id
);
2777 /* @GeneratePInvoke */
2778 void time_manager_set_maximum_refresh_rate (TimeManager
*instance
, int hz
);
2783 /* @GeneratePInvoke */
2784 Transform
*transform_new (void);
2787 * TransformCollection
2789 /* @GeneratePInvoke */
2790 TransformCollection
*transform_collection_new (void);
2795 /* @GeneratePInvoke */
2796 TransformGroup
*transform_group_new (void);
2799 * TranslateTransform
2801 /* @GeneratePInvoke */
2802 TranslateTransform
*translate_transform_new (void);
2807 void trigger_action_fire (TriggerAction
*instance
);
2809 /* @GeneratePInvoke */
2810 TriggerAction
*trigger_action_new (void);
2813 * TriggerActionCollection
2815 /* @GeneratePInvoke */
2816 TriggerActionCollection
*trigger_action_collection_new (void);
2821 /* @GeneratePInvoke */
2822 TriggerBase
*trigger_base_new (void);
2827 /* @GeneratePInvoke */
2828 TriggerCollection
*trigger_collection_new (void);
2833 /* @GeneratePInvoke */
2834 void types_free (Types
*instance
);
2836 /* @GeneratePInvoke */
2837 Type
*types_find (Types
*instance
, int type
);
2839 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
);
2841 /* @GeneratePInvoke */
2842 Types
*types_new (void);
2847 /* @GeneratePInvoke */
2848 void uielement_arrange (UIElement
*instance
, Rect finalRect
);
2850 /* @GeneratePInvoke */
2851 bool uielement_capture_mouse (UIElement
*instance
);
2853 /* @GeneratePInvoke */
2854 void uielement_element_added (UIElement
*instance
, UIElement
*obj
);
2856 /* @GeneratePInvoke */
2857 void uielement_element_removed (UIElement
*instance
, UIElement
*obj
);
2859 /* @GeneratePInvoke */
2860 void uielement_find_elements_in_host_coordinates_p (UIElement
*instance
, Point p
, HitTestCollection
*uielement_list
);
2862 /* @GeneratePInvoke */
2863 void uielement_find_elements_in_host_coordinates_r (UIElement
*instance
, Rect p
, HitTestCollection
*uielement_list
);
2865 /* @GeneratePInvoke */
2866 bool uielement_focus (UIElement
*instance
, bool recurse
);
2868 /* @GeneratePInvoke */
2869 Size
uielement_get_desired_size (UIElement
*instance
);
2871 /* @GeneratePInvoke */
2872 Size
uielement_get_render_size (UIElement
*instance
);
2874 /* @GeneratePInvoke */
2875 DependencyObject
*uielement_get_subtree_object (UIElement
*instance
);
2877 /* @GeneratePInvoke */
2878 GeneralTransform
*uielement_get_transform_to_uielement_with_error (UIElement
*instance
, UIElement
*to_element
, MoonError
*error
);
2880 /* @GeneratePInvoke */
2881 UIElement
*uielement_get_visual_parent (UIElement
*instance
);
2883 void uielement_invalidate (UIElement
*instance
);
2885 /* @GeneratePInvoke */
2886 void uielement_invalidate_arrange (UIElement
*instance
);
2888 /* @GeneratePInvoke */
2889 void uielement_invalidate_measure (UIElement
*instance
);
2891 /* @GeneratePInvoke */
2892 void uielement_measure (UIElement
*instance
, Size availableSize
);
2894 /* @GeneratePInvoke */
2895 void uielement_release_mouse_capture (UIElement
*instance
);
2897 /* @GeneratePInvoke */
2898 void uielement_set_subtree_object (UIElement
*instance
, DependencyObject
*value
);
2900 /* @GeneratePInvoke */
2901 void uielement_update_layout (UIElement
*instance
);
2904 * UIElementCollection
2906 /* @GeneratePInvoke */
2907 UIElementCollection
*uielement_collection_new (void);
2912 /* @GeneratePInvoke */
2913 UnmanagedMatrix
*unmanaged_matrix_new (void);
2918 bool uri_equals (const Uri
*left
, const Uri
*right
);
2920 /* @GeneratePInvoke */
2921 void uri_free (Uri
*instance
);
2923 guint
uri_get_hash_code (Uri
*instance
);
2925 /* @GeneratePInvoke */
2926 bool uri_parse (Uri
*instance
, const char *uri
, bool allow_trailing_sep
);
2931 /* @GeneratePInvoke */
2932 UserControl
*user_control_new (void);
2937 /* @GeneratePInvoke */
2938 void video_brush_set_source (VideoBrush
*instance
, MediaElement
*source
);
2940 /* @GeneratePInvoke */
2941 VideoBrush
*video_brush_new (void);
2946 guint32
video_stream_get_height (VideoStream
*instance
);
2948 guint32
video_stream_get_width (VideoStream
*instance
);
2950 /* @GeneratePInvoke */
2951 VideoStream
*video_stream_new (Media
*media
, int codec_id
, guint32 width
, guint32 height
, guint64 duration
, gpointer extra_data
, guint32 extra_data_size
);
2956 /* @GeneratePInvoke */
2957 VisualBrush
*visual_brush_new (void);
2962 /* @GeneratePInvoke */
2963 gpointer
writeable_bitmap_initialize_from_bitmap_source (WriteableBitmap
*instance
, BitmapSource
*source
);
2965 /* @GeneratePInvoke */
2966 void writeable_bitmap_lock (WriteableBitmap
*instance
);
2968 /* @GeneratePInvoke */
2969 void writeable_bitmap_render (WriteableBitmap
*instance
, UIElement
*element
, Transform
*transform
);
2971 /* @GeneratePInvoke */
2972 void writeable_bitmap_unlock (WriteableBitmap
*instance
);
2974 /* @GeneratePInvoke */
2975 WriteableBitmap
*writeable_bitmap_new (void);
2980 /* @GeneratePInvoke */
2981 DependencyObject
*xaml_context_get_template_binding_source (XamlContext
*instance
);
2986 /* @GeneratePInvoke */
2987 Value
*xaml_loader_create_from_file_with_error (XamlLoader
*instance
, const char *xaml
, bool create_namescope
, int *element_type
, MoonError
*error
);
2989 /* @GeneratePInvoke */
2990 Value
*xaml_loader_create_from_string_with_error (XamlLoader
*instance
, const char *xaml
, bool create_namescope
, int *element_type
, int flags
, MoonError
*error
);
2992 /* @GeneratePInvoke */
2993 XamlContext
*xaml_loader_get_context (XamlLoader
*instance
);
2995 /* @GeneratePInvoke */
2996 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
);
3001 /* @GeneratePInvoke */
3002 char *xap_unpack (const char *fname
);