When you have a TextLayout which is just partially visible and don't want to render everything, are there any methods to change the startingpoint for rendering?
CComPtr<ID2D1BitmapRenderTarget> _bitmaprendertarget;
_bitmaprendertarget->DrawTextLayout(D2D1_POINT_2F{ (FLOAT)x, (FLOAT)y }, tLayout, _solidColorBrush, D2D1_DRAW_TEXT_OPTIONS_CLIP);
In this example x and y reflect just the destination point where the TextLayout is drawn to on the rendertarget. I am looking for a way to render it partially instead - so it doesn't get drawn completely.