For curved surfaces the fluid pressure on the infinitesimal areas are not parallel and so must be combined vectorially. It is usual to consider the total horizontal and vertical force components of the resultant.
Surface Containing Liquid
Consider the surface AB which contains liquid as shown below:
Surface Displacing Liquid
Consider the surface AB which displaces liquid as shown below