A [transformation matrix] (http://mathforum.org/mathimages/index.php/Transformation_Matrix) is a special matrix that can describe 2d and 3d transformations. Transformations are frequently used in linear algebra and computer graphics, since transformations can be easily represented, combined and computed.
Questions tagged [drawtextinrect]
2 questions
4
votes
1 answer
UILabel Subclass - Custom 'drawRect' method causes text to cut off / not show
I am creating a simple 'tooltip' subclass that is a rounded rectangle and a small triangle that will be 'anchored' to another view.
I created a UILabel subclass and am overriding 'drawRect' to shrink the main label area and draw a triangle.
The…

JimmyJammed
- 9,598
- 19
- 79
- 146
0
votes
1 answer
Setting padding to UILabel crops characters
I'm adding padding to UILabel
public partial class MessageLabel : UILabel
{
public MessageLabel(IntPtr handle) : base(handle)
{
}
public override void DrawText(CoreGraphics.CGRect rect)
{
…

Nininea
- 2,671
- 6
- 31
- 57