Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC:

direction of thumbnail 10 years 9 months ago #3256

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 64
  • Thank you received: 0
we need Alpha channel :(
we can fill our rect but by default it has alpha =1 ( not transparrent)

Please Log in or Create an account to join the conversation.

direction of thumbnail 10 years 9 months ago #3258

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 64
  • Thank you received: 0
hi
i want to my thumbnail start from right [first page start from Right ]
and when paging to Left my thumnail paging to left :(

Please Log in or Create an account to join the conversation.

direction of thumbnail 10 years 9 months ago #3259

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
do you see this method?
-(id)init:(int)orientation:(bool)rtol;
rtol: right to left.

Please Log in or Create an account to join the conversation.

direction of thumbnail 10 years 9 months ago #3260

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
    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(...));
please read it.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum