- Posts: 64
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
direction of thumbnail
IP: 192.168.0.70
12 years 8 months ago #3256
by truculent
Replied by truculent on topic direction of thumbnail
we need Alpha channel 
we can fill our rect but by default it has alpha =1 ( not transparrent)
we can fill our rect but by default it has alpha =1 ( not transparrent)
IP: 192.168.0.70
12 years 8 months ago #3258
by truculent
Replied by truculent on topic direction of thumbnail
hi
i want to my thumbnail start from right [first page start from Right ]
and when paging to Left my thumnail paging to left
i want to my thumbnail start from right [first page start from Right ]
and when paging to Left my thumnail paging to left
IP: 192.168.0.70
12 years 8 months ago #3259
by radaee
Replied by radaee on topic direction of thumbnail
do you see this method?
rtol: right to left.
Code:
-(id)init:(int)orientation:(bool)rtol;
IP: 192.168.0.70
12 years 8 months ago #3260
by radaee
please read it.
Replied by radaee on topic direction of thumbnail
Code:
CGFloat clr[4];
clr[0] = //red, ... range [0,1];
clr[1] = //green, ... range [0,1];
clr[2] = //blue, ... range [0,1];
clr[3] = //alpha, ... range [0,1];
CGContextSetFillColor(m_ctx, clr);
CGContextFillRect(m_ctx, CGRectMake(...));
Time to create page: 0.375 seconds