Свойство | Тип | Описание | |
---|---|---|---|
DX9Device | Device | ||
DX9DeviceMadVr | Device | ||
InitVolumeHandlerLock | object | ||
LastFramesIndex | int | ||
RenderModeSwitch | object | ||
WindowChangeLock | object | ||
autoCropper | IAutoCrop | ||
form | |||
graphics |
Метод | Описание | |
---|---|---|
AddTransform ( MediaPortal.GUI.Library.TransformMatrix matrix ) : void |
|
|
BeginClip ( |
Sets a clip region. Set the clip rectangle as specified and enables the FontEngine to use clipping.
|
|
BeginClip ( |
Sets a clip region. Set the clip rectangle as specified and enables the FontEngine to use clipping. If constrain is true then nested calls will clip the specified clip rectangle at the parents clip rectangle.
|
|
BlackImageRendered ( ) : void |
|
|
BypassUICalibration ( bool bypass ) : void |
Enable/Disable bypassing of UI Calibration transforms Calls have to be paired and can be nested. |
|
Correct ( float &x, float &y ) : void |
Apply screen offset correct
|
|
DescalePosToScreenResolution ( int &x, int &y ) : void |
Descale a position from screen->skin resolutions
|
|
EndClip ( ) : void |
Removes a clip region. Disables the FontEngine from using current clipping context.
|
|
GetClipRect ( ) : |
Returns the current clip rectangle.
|
|
GetFinalMatrix ( ) : ].float[ |
|
|
GetFinalTransform ( ) : MediaPortal.GUI.Library.TransformMatrix |
|
|
GetOffsetCorrectionTransform ( ) : MediaPortal.GUI.Library.TransformMatrix |
Get the transformation matrix that corrects for UI Calibration translation
|
|
GetOutputRect ( int sourceWidth, int sourceHeight, int maxWidth, int maxHeight, int &width, int &height ) : void |
Calculates a rectangle based on current calibration values/pixel ratio
|
|
GetTexturePoolType ( ) : Pool |
|
|
GetThemedSkinDirectory ( string dir ) : string |
Return a themed version of the requested directory, otherwise return the default skin directory.
|
|
GetThemedSkinFile ( string filename ) : string |
Return a themed version of the requested skin filename, otherwise return the default skin filename. Use a path to media to get images.
|
|
HasThemeSpecificSkinFile ( string filename ) : bool |
Returns true if the current theme has the specified file.
|
|
IsDirectX9ExUsed ( ) : bool |
|
|
IsTvWindow ( ) : bool |
Returns true if the active window belongs to the my tv plugin
|
|
IsTvWindow ( int windowId ) : bool |
Returns true if the specified window belongs to the my tv plugin
|
|
Load ( ) : void |
Load calibration values for current resolution
|
|
LoadIdentity ( ) : void |
Replaces the current control transform with the identity matrix.
|
|
MergeAlpha ( uint color ) : uint |
|
|
OnAction ( Action action ) : void |
Send a action to anyone interested
|
|
PopMatrix ( ) : void |
This is a convenience method for users who wish to manage the control transform matrix with an OpenGL-like matrix stack. The matrix stack managed is *not* used to set the final transform for MP callers who do not use Push/Pop.
|
|
PopProjectionMatrix ( ) : void |
This is a convenience method for users who wish to manage the direct3d projection matrix with an OpenGL-like matrix stack. The matrix stack managed is *not* used to set the direct3d projection matrix for MP callers who do not use Push/Pop.
|
|
PushMatrix ( ) : void |
This is a convenience method for users who wish to manage the control transform matrix with an OpenGL-like matrix stack. The matrix stack managed is *not* used to set the final transform for MP callers who do not use Push/Pop.
|
|
PushProjectionMatrix ( ) : void |
This is a convenience method for users who wish to manage the direct3d projection matrix with an OpenGL-like matrix stack. The matrix stack managed is *not* used to set the direct3d projection matrix for MP callers who do not use Push/Pop.
|
|
RemoveTransform ( ) : void |
|
|
RenderBlack ( ) : void |
|
|
ResetCursor ( bool interpolate ) : void |
|
|
ResetLastActivity ( ) : void |
Resets last user activity & unblanks screen
|
|
RestoreCameraPosition ( ) : void |
|
|
RotateX ( float angle, float y, float z ) : void |
Rotates the control transform matrix by the specified angle (in degrees) around the x-axis.
|
|
RotateY ( float angle, float x, float z ) : void |
Rotates the control transform matrix by the specified angle (in degrees) around the y-axis.
|
|
RotateZ ( float angle, float x, float y ) : void |
Rotates the control transform matrix by the specified angle (in degrees) around the z-axis.
|
|
Save ( ) : void |
Save calibration settings to calibrationWxH.xml where W=resolution width H=resolution height
|
|
Scale ( float x, float y, float z ) : void |
Scales the control transform matrix by the specified vector.
|
|
ScaleFinalCoords ( float &x, float &y, float &z ) : void |
|
|
ScaleFinalXCoord ( float x, float y ) : float |
|
|
ScaleFinalYCoord ( float x, float y ) : float |
|
|
ScaleFinalZCoord ( float x, float y ) : float |
|
|
ScaleHorizontal ( int x ) : int |
Scale X position for current resolution
|
|
ScaleHorizontal ( float &x ) : void |
|
|
ScaleHorizontal ( int &x ) : void |
Scale X position for current resolution
|
|
ScalePosToScreenResolution ( int &x, int &y ) : void |
Scale position for current resolution
|
|
ScaleRectToScreenResolution ( int &left, int &top, int &right, int &bottom ) : void |
Scale rectangle for current resolution.
|
|
ScaleVertical ( int y ) : int |
Scale y position for current resolution
|
|
ScaleVertical ( float &y ) : void |
|
|
ScaleVertical ( int &y ) : void |
Scale y position for current resolution
|
|
ScaleVideoWindow ( int &width, int &height, float &x, float &y ) : void | ||
SendMessage ( |
Send a message to anyone interested
|
|
SetCameraPosition ( Point camera ) : void |
|
|
SetPerspectiveProjectionMatrix ( float fovy, float aspectratio, float nearPlane, float farPlane ) : void |
Sets the direct3d project matrix to the specfied perspective view.
|
|
SetScalingResolution ( int posX, int posY, bool needsScaling ) : void |
|
|
SetWindowTransform ( MediaPortal.GUI.Library.TransformMatrix matrix ) : void |
|
|
Translate ( float x, float y, float z ) : void |
Translates the control transform matrix by the specified vector.
|
|
UpdateCameraPosition ( Point camera ) : void |
|
|
UpdateFinalTransform ( MediaPortal.GUI.Library.TransformMatrix matrix ) : void |
|
|
VideoReceived ( ) : void |
|
|
VideoWindowChanged ( ) : void |
Delegates video window size/position change notify to be done by main thread
|
Метод | Описание | |
---|---|---|
GUIGraphicsContext ( ) : System | ||
PostMessage ( |
||
SyncFrameTime ( ) : void |
|
public static AddTransform ( MediaPortal.GUI.Library.TransformMatrix matrix ) : void | ||
matrix | MediaPortal.GUI.Library.TransformMatrix | |
Результат | void |
public static BeginClip ( |
||
rect | ||
Результат | void |
public static BeginClip ( |
||
rect | ||
constrain | bool | |
Результат | void |
public static BlackImageRendered ( ) : void | ||
Результат | void |
public static BypassUICalibration ( bool bypass ) : void | ||
bypass | bool | true to enable bypassing |
Результат | void |
public static Correct ( float &x, float &y ) : void | ||
x | float | X correction. |
y | float | Y correction. |
Результат | void |
public static DescalePosToScreenResolution ( int &x, int &y ) : void | ||
x | int | X coordinate to descale. |
y | int | Y coordinate to descale. |
Результат | void |
public static GetClipRect ( ) : |
||
Результат |
public static GetFinalMatrix ( ) : ].float[ | ||
Результат | ].float[ |
public static GetFinalTransform ( ) : MediaPortal.GUI.Library.TransformMatrix | ||
Результат | MediaPortal.GUI.Library.TransformMatrix |
public static GetOffsetCorrectionTransform ( ) : MediaPortal.GUI.Library.TransformMatrix | ||
Результат | MediaPortal.GUI.Library.TransformMatrix |
public static GetOutputRect ( int sourceWidth, int sourceHeight, int maxWidth, int maxHeight, int &width, int &height ) : void | ||
sourceWidth | int | width of source rectangle |
sourceHeight | int | height of source rectangle |
maxWidth | int | max. width allowed |
maxHeight | int | max. height allowed |
width | int | returned width of calculated rectangle |
height | int | returned height of calculated rectangle |
Результат | void |
public static GetTexturePoolType ( ) : Pool | ||
Результат | Pool |
public static GetThemedSkinDirectory ( string dir ) : string | ||
dir | string | |
Результат | string |
public static GetThemedSkinFile ( string filename ) : string | ||
filename | string | |
Результат | string |
public static HasThemeSpecificSkinFile ( string filename ) : bool | ||
filename | string | |
Результат | bool |
public static IsDirectX9ExUsed ( ) : bool | ||
Результат | bool |
public static IsTvWindow ( int windowId ) : bool | ||
windowId | int | id of window |
Результат | bool |
public static MergeAlpha ( uint color ) : uint | ||
color | uint | |
Результат | uint |
public static OnAction ( Action action ) : void | ||
action | Action | The message. |
Результат | void |
public static PopProjectionMatrix ( ) : void | ||
Результат | void |
public static PushProjectionMatrix ( ) : void | ||
Результат | void |
public static RemoveTransform ( ) : void | ||
Результат | void |
public static ResetCursor ( bool interpolate ) : void | ||
interpolate | bool | |
Результат | void |
public static ResetLastActivity ( ) : void | ||
Результат | void |
public static RestoreCameraPosition ( ) : void | ||
Результат | void |
public static RotateX ( float angle, float y, float z ) : void | ||
angle | float | |
y | float | |
z | float | |
Результат | void |
public static RotateY ( float angle, float x, float z ) : void | ||
angle | float | |
x | float | |
z | float | |
Результат | void |
public static RotateZ ( float angle, float x, float y ) : void | ||
angle | float | |
x | float | |
y | float | |
Результат | void |
public static Scale ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
Результат | void |
public static ScaleFinalCoords ( float &x, float &y, float &z ) : void | ||
x | float | |
y | float | |
z | float | |
Результат | void |
public static ScaleFinalXCoord ( float x, float y ) : float | ||
x | float | |
y | float | |
Результат | float |
public static ScaleFinalYCoord ( float x, float y ) : float | ||
x | float | |
y | float | |
Результат | float |
public static ScaleFinalZCoord ( float x, float y ) : float | ||
x | float | |
y | float | |
Результат | float |
public static ScaleHorizontal ( int x ) : int | ||
x | int | X coordinate to scale. |
Результат | int |
public static ScaleHorizontal ( float &x ) : void | ||
x | float | |
Результат | void |
public static ScaleHorizontal ( int &x ) : void | ||
x | int | X coordinate to scale. |
Результат | void |
public static ScalePosToScreenResolution ( int &x, int &y ) : void | ||
x | int | X coordinate to scale. |
y | int | Y coordinate to scale. |
Результат | void |
public static ScaleRectToScreenResolution ( int &left, int &top, int &right, int &bottom ) : void | ||
left | int | left side |
top | int | top side |
right | int | right side |
bottom | int | bottom side |
Результат | void |
public static ScaleVertical ( int y ) : int | ||
y | int | Y coordinate to scale. |
Результат | int |
public static ScaleVertical ( float &y ) : void | ||
y | float | |
Результат | void |
public static ScaleVertical ( int &y ) : void | ||
y | int | Y coordinate to scale. |
Результат | void |
public static ScaleVideoWindow ( int &width, int &height, float &x, float &y ) : void | ||
width | int | |
height | int | |
x | float | |
y | float | |
Результат | void |
public static SendMessage ( |
||
msg | The message. | |
Результат | void |
public static SetCameraPosition ( Point camera ) : void | ||
camera | Point | |
Результат | void |
public static SetPerspectiveProjectionMatrix ( float fovy, float aspectratio, float nearPlane, float farPlane ) : void | ||
fovy | float | |
aspectratio | float | |
nearPlane | float | |
farPlane | float | |
Результат | void |
public static SetScalingResolution ( int posX, int posY, bool needsScaling ) : void | ||
posX | int | |
posY | int | |
needsScaling | bool | |
Результат | void |
public static SetWindowTransform ( MediaPortal.GUI.Library.TransformMatrix matrix ) : void | ||
matrix | MediaPortal.GUI.Library.TransformMatrix | |
Результат | void |
public static Translate ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
Результат | void |
public static UpdateCameraPosition ( Point camera ) : void | ||
camera | Point | |
Результат | void |
public static UpdateFinalTransform ( MediaPortal.GUI.Library.TransformMatrix matrix ) : void | ||
matrix | MediaPortal.GUI.Library.TransformMatrix | |
Результат | void |
public static VideoWindowChanged ( ) : void | ||
Результат | void |
public static object InitVolumeHandlerLock | ||
Результат | object |
public static object RenderModeSwitch | ||
Результат | object |
public static object WindowChangeLock | ||
Результат | object |
public static Form,System.Windows.Forms form | ||
Результат |