Skip to content

Commit

Permalink
OffScreen - Improve IRenderHandler doco
Browse files Browse the repository at this point in the history
  • Loading branch information
amaitland committed Sep 28, 2018
1 parent 92ddcbc commit 84e7a7d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CefSharp.OffScreen/IRenderHandler.cs
Expand Up @@ -10,8 +10,7 @@ namespace CefSharp.OffScreen
{
/// <summary>
/// Implement this interface to handle Offscreen Rendering (OSR).
/// NOTE: Currently only OnPaint is implemented, at some point expand the API to include all
/// of CefRenderHandler methods http://magpcss.org/ceforum/apidocs3/projects/(default)/CefRenderHandler.html
/// Upstream documentation at http://magpcss.org/ceforum/apidocs3/projects/(default)/CefRenderHandler.html
/// </summary>
public interface IRenderHandler : IDisposable
{
Expand Down Expand Up @@ -42,7 +41,7 @@ public interface IRenderHandler : IDisposable

/// <summary>
/// Called when an element should be painted. Pixel values passed to this method are scaled relative to view coordinates based on the
/// value of <see cref="ScreenInfo.ScaleFactor"/> returned from <see cref="GetScreenInfo"/>.
/// value of <see cref="ScreenInfo.DeviceScaleFactor"/> returned from <see cref="GetScreenInfo"/>.
/// Called on the CEF UI Thread
/// </summary>
/// <param name="type">indicates whether the element is the view or the popup widget.</param>
Expand Down Expand Up @@ -100,4 +99,4 @@ public interface IRenderHandler : IDisposable
/// <param name="characterBounds">is the bounds of each character in view coordinates.</param>
void OnImeCompositionRangeChanged(Range selectedRange, Rect[] characterBounds);
}
}
}

0 comments on commit 84e7a7d

Please sign in to comment.