direction of thumbnail - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC: direction of thumbnail

direction of thumbnail 5 years 4 months ago #3076

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 64
  • Thank you received: 0
hi again

most of our book are arabic!
we need direction of thumbnail groing from right to Left but in default thumbnail going from left to right :(

how fix it ?

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

direction of thumbnail 5 years 4 months ago #3077

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
e..
sorry, we not think over this reading behaviour for thumbnail View.
we'll check it.

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

direction of thumbnail 5 years 4 months ago #3101

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 64
  • Thank you received: 0
nothing yet ?

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

direction of thumbnail 5 years 3 months ago #3240

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 64
  • Thank you received: 0
thank you for your new release :)
but 2 item is very necessary for you to do it!

1 ) can change thumbnail position from left to right position!
2 ) fill rect with color ;(

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

direction of thumbnail 5 years 3 months ago #3242

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
PDFVThmb class:
@interface PDFVThmb: PDFV
{
	int m_orientation;
	int m_sel;
    bool m_rtol;
}
-(id)init:(int)orientation:(bool)rtol;
-(void)vOpen:(PDF_DOC) doc : (int)page_gap :(int) back_clr :(id)notifier :(const struct PDFVThreadBack *)disp;
-(void)vClose;
-(void)vLayout;
-(void)vGetPos:(struct PDFV_POS *)pos :(int)x : (int)y;
-(void)vDraw:(PDFVCanvas *)canvas :(bool)zooming;
-(void)vSetSel:(int)pageno;
-(int)vGetSel;
@end
there is rtol parameter

fill with color:
    CGFloat clr[4];
    clr[0] = //... range [0,1];
    clr[1] = //... range [0,1];
    clr[2] = //... range [0,1];
    clr[3] = //... range [0,1];
    CGContextSetFillColor(m_ctx, clr);
    CGContextFillRect(m_ctx, CGRectMake(...));

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

direction of thumbnail 5 years 3 months ago #3251

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 64
  • Thank you received: 0
thank you but i want to my rect fill with a color with a little change in my code!
how i can implement fill rect color ? [where use this method ] ?

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum