im having trouble getting a picture to display where i want it to
i use this to load the bitmaps
VB Code:
For i = 0 To 4 TB(i) = New TextureBrush(New Bitmap("chip " & ChipValues(i) & " big.bmp"), New Rectangle(0, 0, 698, 698)) TB(i).ScaleTransform(75 / 698, 30 / 698) Next
and this to draw it
VB Code:
For i = 0 To 4 m_DC.FillEllipse(TB(i), New Rectangle(75 * i + 10, 700, 80, 30)) Next
and the chip ends up tiling inside the ellipse instead of being centered, i even tried doing TB(i).TranslateTransform(10, 15) and it wouldn't move the chips. Anyone know the proper way to do this?




Reply With Quote