- 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 #3076
by truculent
direction of thumbnail was created by truculent
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 ?
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 ?
IP: 192.168.0.70
12 years 8 months ago #3077
by radaee
Replied by radaee on topic direction of thumbnail
e..
sorry, we not think over this reading behaviour for thumbnail View.
we'll check it.
sorry, we not think over this reading behaviour for thumbnail View.
we'll check it.
IP: 192.168.0.70
12 years 8 months ago #3101
by truculent
Replied by truculent on topic direction of thumbnail
nothing yet ?
IP: 192.168.0.70
12 years 8 months ago #3240
by truculent
Replied by truculent on topic direction of thumbnail
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 ;(
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 ;(
IP: 192.168.0.70
12 years 8 months ago #3242
by radaee
Replied by radaee on topic direction of thumbnail
PDFVThmb class:
there is rtol parameter
fill with color:
Code:
@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
fill with color:
Code:
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(...));
IP: 192.168.0.70
12 years 8 months ago #3251
by truculent
Replied by truculent on topic direction of thumbnail
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 ] ?
how i can implement fill rect color ? [where use this method ] ?
Time to create page: 0.427 seconds